diff options
author | Tony Luck <tony.luck@intel.com> | 2021-10-26 15:00:50 -0700 |
---|---|---|
committer | Dave Hansen <dave.hansen@linux.intel.com> | 2021-11-15 11:13:16 -0800 |
commit | 3ad6fd77a2d62e8f4465b429b65805eaf88e1b9e (patch) | |
tree | 1454d92c97527c343c99ec8f0aef2cb794ac63a5 /tools/perf/scripts/python/syscall-counts.py | |
parent | c6acb1e7bf4656b9434335c72b8245cc84575fde (diff) |
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
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions