diff options
author | Haitao Huang <haitao.huang@linux.intel.com> | 2022-09-06 03:02:21 +0300 |
---|---|---|
committer | Dave Hansen <dave.hansen@linux.intel.com> | 2022-09-08 23:28:31 +0300 |
commit | 81fa6fd13b5c43601fba8486f2385dbd7c1935e2 (patch) | |
tree | b663fa38e6e117514f98598a89e64869ea1fe5ed /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 133e049a3f8c91b175029fb6a59b6039d5e79cba (diff) | |
download | linux-81fa6fd13b5c43601fba8486f2385dbd7c1935e2.tar.xz |
x86/sgx: Handle VA page allocation failure for EAUG on PF.
VM_FAULT_NOPAGE is expected behaviour for -EBUSY failure path, when
augmenting a page, as this means that the reclaimer thread has been
triggered, and the intention is just to round-trip in ring-3, and
retry with a new page fault.
Fixes: 5a90d2c3f5ef ("x86/sgx: Support adding of pages to an initialized enclave")
Signed-off-by: Haitao Huang <haitao.huang@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Tested-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20220906000221.34286-3-jarkko@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions