Skip to content

Commit 71ac3d1

Browse files
committed
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fixes from Ingo Molnar: "A build fix and a reboot quirk" * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/reboot: Add reboot quirk for Dell Latitude E5410 x86, build, pci: Fix PCI_MSI build on !SMP
2 parents ccaa8be + 8412da7 commit 71ac3d1

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

arch/x86/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ source "kernel/Kconfig.preempt"
860860

861861
config X86_UP_APIC
862862
bool "Local APIC support on uniprocessors"
863-
depends on X86_32 && !SMP && !X86_32_NON_STANDARD
863+
depends on X86_32 && !SMP && !X86_32_NON_STANDARD && !PCI_MSI
864864
---help---
865865
A local APIC (Advanced Programmable Interrupt Controller) is an
866866
integrated interrupt controller in the CPU. If you have a single-CPU
@@ -885,11 +885,11 @@ config X86_UP_IOAPIC
885885

886886
config X86_LOCAL_APIC
887887
def_bool y
888-
depends on X86_64 || SMP || X86_32_NON_STANDARD || X86_UP_APIC
888+
depends on X86_64 || SMP || X86_32_NON_STANDARD || X86_UP_APIC || PCI_MSI
889889

890890
config X86_IO_APIC
891891
def_bool y
892-
depends on X86_64 || SMP || X86_32_NON_STANDARD || X86_UP_IOAPIC
892+
depends on X86_64 || SMP || X86_32_NON_STANDARD || X86_UP_IOAPIC || PCI_MSI
893893

894894
config X86_VISWS_APIC
895895
def_bool y

arch/x86/kernel/reboot.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,14 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = {
326326
DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E6320"),
327327
},
328328
},
329+
{ /* Handle problems with rebooting on the Latitude E5410. */
330+
.callback = set_pci_reboot,
331+
.ident = "Dell Latitude E5410",
332+
.matches = {
333+
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
334+
DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E5410"),
335+
},
336+
},
329337
{ /* Handle problems with rebooting on the Latitude E5420. */
330338
.callback = set_pci_reboot,
331339
.ident = "Dell Latitude E5420",

drivers/iommu/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ config AMD_IOMMU
5252
select PCI_PRI
5353
select PCI_PASID
5454
select IOMMU_API
55-
depends on X86_64 && PCI && ACPI && X86_IO_APIC
55+
depends on X86_64 && PCI && ACPI
5656
---help---
5757
With this option you can enable support for AMD IOMMU hardware in
5858
your system. An IOMMU is a hardware component which provides

0 commit comments

Comments
 (0)