summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/apei/apei-base.c
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2011-08-11 18:06:28 +0200
committerLen Brown <len.brown@intel.com>2011-08-11 18:18:38 +0200
commitb3b46d76d0fcbb1f737107cec1a1ee87bc5e5fd3 (patch)
treeb29858f8d675d3b872625a441aa10250830400d2 /drivers/acpi/apei/apei-base.c
parentLinux 3.1-rc1 (diff)
downloadlinux-b3b46d76d0fcbb1f737107cec1a1ee87bc5e5fd3.tar.xz
linux-b3b46d76d0fcbb1f737107cec1a1ee87bc5e5fd3.zip
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. 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>
Diffstat (limited to 'drivers/acpi/apei/apei-base.c')
-rw-r--r--drivers/acpi/apei/apei-base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/apei/apei-base.c b/drivers/acpi/apei/apei-base.c
index 8041248fce9b..61540360d5ce 100644
--- a/drivers/acpi/apei/apei-base.c
+++ b/drivers/acpi/apei/apei-base.c
@@ -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))