12 Jun 2012 05:20
[BUGFIX] ACPI, APEI, Avoid too much error reporting in runtime
Huang Ying <ying.huang <at> intel.com>
2012-06-12 03:20:19 GMT
2012-06-12 03:20:19 GMT
This patch fixed the following bug. https://bugzilla.kernel.org/show_bug.cgi?id=43282 This is caused by a firmware bug checking (checking generic address register provided by firmware) in runtime. The checking should be done in address mapping time instead of runtime to avoid too much error reporting in runtime. Reported-by: Pawel Sikora <pluto <at> agmk.net> Signed-off-by: Huang Ying <ying.huang <at> intel.com> Tested-by: Jean Delvare <khali <at> linux-fr.org> Cc: stable <at> vger.kernel.org --- drivers/acpi/apei/apei-base.c | 17 +++++++++++++++-- drivers/acpi/apei/apei-internal.h | 9 +++++++++ drivers/acpi/apei/ghes.c | 6 +++--- 3 files changed, 27 insertions(+), 5 deletions(-) --- a/drivers/acpi/apei/apei-base.c +++ b/drivers/acpi/apei/apei-base.c <at> <at> -243,7 +243,7 <at> <at> static int pre_map_gar_callback(struct a u8 ins = entry->instruction; if (ctx->ins_table[ins].flags & APEI_EXEC_INS_ACCESS_REGISTER) - return acpi_os_map_generic_address(&entry->register_region); + return apei_map_generic_address(&entry->register_region); return 0; }(Continue reading)
RSS Feed