Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa165971 authored by Shaohua Li's avatar Shaohua Li Committed by Len Brown
Browse files

ACPI: add missing _OSI strings



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: default avatar"Jarosz, Sebastian" <sebastian.jarosz@intel.com>
Signed-off-by: default avatarShaohua Li <shaohua.li@intel.com>
Acked-by: default avatarMatthew Garrett <mjg@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent f52e00c6
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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)
{