aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorHaitao Huang <[email protected]>2022-09-06 00:02:21 +0000
committerDave Hansen <[email protected]>2022-09-08 20:28:31 +0000
commit81fa6fd13b5c43601fba8486f2385dbd7c1935e2 (patch)
treeb663fa38e6e117514f98598a89e64869ea1fe5ed /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentx86/sgx: Do not fail on incomplete sanitization on premature stop of ksgxd (diff)
downloadkernel-81fa6fd13b5c43601fba8486f2385dbd7c1935e2.tar.gz
kernel-81fa6fd13b5c43601fba8486f2385dbd7c1935e2.zip
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 <[email protected]> Signed-off-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Reviewed-by: Reinette Chatre <[email protected]> Tested-by: Vijay Dhanraj <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions