Skip to contentSkip to conversation

APEI: Fix WHEA _OSC call

PATCH In review Matthew Garrett 2 participants 2 messages Aug 11, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 APEI: Fix WHEA _OSC call

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.

---
 drivers/acpi/apei/apei-base.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/acpi/apei/apei-base.c +1 -1
index 8041248..6154036 100644
@@ -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))
Signature · 1 line
1.7.6
reviewer
#1 lore raw

applied to acpi-test for 3.1

thanks,
Len Brown, Intel Open Source Technology Center