OpenCloudOS-Kernel/drivers/acpi/apei
Tony Luck 3ad6fd77a2 x86/sgx: Add check for SGX pages to ghes_do_memory_failure()
SGX EPC pages do not have a "struct page" associated with them so the
pfn_valid() sanity check fails and results in a warning message to
the console.

Add an additional check to skip the warning if the address of the error
is in an SGX EPC page.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Tested-by: Reinette Chatre <reinette.chatre@intel.com>
Link: https://lkml.kernel.org/r/20211026220050.697075-8-tony.luck@intel.com
2021-11-15 11:13:16 -08:00
..
Kconfig ACPI / APEI: Switch NOTIFY_SEA to use the estatus queue 2019-02-07 23:10:45 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
apei-base.c Merge ACPI APEI material for v5.11. 2020-11-23 12:50:17 +01:00
apei-internal.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bert.c ACPI: APEI: Put the boot error record table after parsing 2020-05-09 11:29:17 +02:00
einj.c x86/sgx: Add hook to error injection address validation 2021-11-15 11:13:16 -08:00
erst-dbg.c acpi: Use pr_warn instead of pr_warning 2019-10-18 15:00:19 +02:00
erst.c ACPI: fix various typos in comments 2021-03-19 17:45:49 +01:00
ghes.c x86/sgx: Add check for SGX pages to ghes_do_memory_failure() 2021-11-15 11:13:16 -08:00
hest.c ACPI: APEI: mark apei_hest_parse() static 2021-10-27 20:34:47 +02:00