ACPI: add missing _OSI strings
authorShaohua Li <[email protected]>
Thu, 28 Jul 2011 20:48:43 +0000 (13:48 -0700)
committerLen Brown <[email protected]>
Tue, 2 Aug 2011 18:52:30 +0000 (14:52 -0400)
Linux supports some optional features, but it should notify the BIOS about
them via the _OSI method.  Currently Linux doesn't notify any, which might
make such features not work because the BIOS doesn't know about them.

Jarosz has a system which needs this to make ACPI processor aggregator
device work.

Reported-by: "Jarosz, Sebastian" <[email protected]>
Signed-off-by: Shaohua Li <[email protected]>
Acked-by: Matthew Garrett <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Len Brown <[email protected]>
drivers/acpi/osl.c

index 372f9b70f7f4dc98e2985532fb19707861c920a8..0e4785703d45709067ba9dc14c35d6991d314b7a 100644 (file)
@@ -1083,7 +1083,13 @@ struct osi_setup_entry {
        bool enable;
 };
 
-static struct osi_setup_entry __initdata osi_setup_entries[OSI_STRING_ENTRIES_MAX];
+static struct osi_setup_entry __initdata
+               osi_setup_entries[OSI_STRING_ENTRIES_MAX] = {
+       {"Module Device", true},
+       {"Processor Device", true},
+       {"3.0 _SCP Extensions", true},
+       {"Processor Aggregator Device", true},
+};
 
 void __init acpi_osi_setup(char *str)
 {