ACPI, APEI, Add WHEA _OSC support
authorHuang Ying <ying.huang@intel.com>
Wed, 13 Jul 2011 05:14:21 +0000 (13:14 +0800)
committerLen Brown <len.brown@intel.com>
Thu, 14 Jul 2011 03:38:49 +0000 (23:38 -0400)
commit9fb0bfe1408d5506b7b83d13d1eed573fd71d67d
tree51700355f453ab47de4bd799a4468c030db6e088
parenteccddd32ced0df8f9130024157bf8d37df860d76
ACPI, APEI, Add WHEA _OSC support

APEI firmware first mode must be turned on explicitly on some
machines, otherwise there may be no GHES hardware error record for
hardware error notification.  APEI bit in generic _OSC call can be
used to do that, but on some machine, a special WHEA _OSC call must be
used.  This patch adds the support to that WHEA _OSC call.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Reviewed-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/apei/apei-base.c
drivers/acpi/apei/apei-internal.h
drivers/acpi/apei/ghes.c