mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] APEI: Fix WHEA _OSC call
@ 2011-08-11 16:06 Matthew Garrett
  2011-08-11 16:19 ` Len Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Garrett @ 2011-08-11 16:06 UTC (permalink / raw)
  To: linux-acpi
  Cc: len.brown, linux-kernel, Stuart_Hayes, dzickus, Matthew Garrett

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>
---
 drivers/acpi/apei/apei-base.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/acpi/apei/apei-base.c b/drivers/acpi/apei/apei-base.c
index 8041248..6154036 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))
-- 
1.7.6


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] APEI: Fix WHEA _OSC call
  2011-08-11 16:06 [PATCH] APEI: Fix WHEA _OSC call Matthew Garrett
@ 2011-08-11 16:19 ` Len Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Len Brown @ 2011-08-11 16:19 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: linux-acpi, linux-kernel, Stuart_Hayes, dzickus

applied to acpi-test for 3.1

thanks,
Len Brown, Intel Open Source Technology Center


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-11 16:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-11 16:06 [PATCH] APEI: Fix WHEA _OSC call Matthew Garrett
2011-08-11 16:19 ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®