]> Git Repo - linux.git/commitdiff
APEI: Fix WHEA _OSC call
authorMatthew Garrett <[email protected]>
Thu, 11 Aug 2011 16:06:28 +0000 (12:06 -0400)
committerLen Brown <[email protected]>
Thu, 11 Aug 2011 16:18:38 +0000 (12:18 -0400)
Bit 0 of the support parameter to the OSC call should be set in order to
indicate that the OS supports the WHEA mechanism. Stuart Hayes tracked
an APEI issue on some Dell platforms down to this.

Reported-by: Stuart Hayes <[email protected]>
Signed-off-by: Matthew Garrett <[email protected]>
Signed-off-by: Len Brown <[email protected]>
drivers/acpi/apei/apei-base.c

index 8041248fce9ba245a6eeeedf4adb4dd7a2b5ee20..61540360d5ce815f67e67250874ad357f3e328e6 100644 (file)
@@ -618,7 +618,7 @@ int apei_osc_setup(void)
        };
 
        capbuf[OSC_QUERY_TYPE] = OSC_QUERY_ENABLE;
-       capbuf[OSC_SUPPORT_TYPE] = 0;
+       capbuf[OSC_SUPPORT_TYPE] = 1;
        capbuf[OSC_CONTROL_TYPE] = 0;
 
        if (ACPI_FAILURE(acpi_get_handle(NULL, "\\_SB", &handle))
This page took 0.055674 seconds and 4 git commands to generate.