Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Tested-by: Reinette Chatre <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
- Loading branch information