浏览代码

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>
Matthew Garrett 14 年之前
父节点
当前提交
b3b46d76d0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/acpi/apei/apei-base.c

+ 1 - 1
drivers/acpi/apei/apei-base.c

@@ -618,7 +618,7 @@ int apei_osc_setup(void)
 	};
 	};
 
 
 	capbuf[OSC_QUERY_TYPE] = OSC_QUERY_ENABLE;
 	capbuf[OSC_QUERY_TYPE] = OSC_QUERY_ENABLE;
-	capbuf[OSC_SUPPORT_TYPE] = 0;
+	capbuf[OSC_SUPPORT_TYPE] = 1;
 	capbuf[OSC_CONTROL_TYPE] = 0;
 	capbuf[OSC_CONTROL_TYPE] = 0;
 
 
 	if (ACPI_FAILURE(acpi_get_handle(NULL, "\\_SB", &handle))
 	if (ACPI_FAILURE(acpi_get_handle(NULL, "\\_SB", &handle))