Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPI: Disable MSI on request of FADT

The ACPI spec defines the bit and Microsoft uses it,
so Linux must use it too.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>

authored by

Shaohua Li and committed by
Len Brown
f8993aff a23cf14b

+5
+4
drivers/pci/pci-acpi.c
··· 317 317 { 318 318 int ret; 319 319 320 + if (acpi_gbl_FADT.boot_flags & BAF_MSI_NOT_SUPPORTED) { 321 + printk(KERN_INFO"ACPI FADT declares the system doesn't support MSI, so disable it\n"); 322 + pci_no_msi(); 323 + } 320 324 ret = register_acpi_bus_type(&acpi_pci_bus); 321 325 if (ret) 322 326 return 0;
+1
include/acpi/actbl.h
··· 276 276 277 277 #define BAF_LEGACY_DEVICES 0x0001 278 278 #define BAF_8042_KEYBOARD_CONTROLLER 0x0002 279 + #define BAF_MSI_NOT_SUPPORTED 0x0008 279 280 280 281 #define FADT2_REVISION_ID 3 281 282 #define FADT2_MINUS_REVISION_ID 2