Skip to content

Commit

Permalink
APEI: Fix WHEA _OSC call
Browse files Browse the repository at this point in the history
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 <Stuart_Hayes@Dell.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Matthew Garrett authored and Len Brown committed Aug 11, 2011
1 parent 322a8b0 commit b3b46d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/apei/apei-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit b3b46d7

Please sign in to comment.