diff options
author | 2022-12-02 18:51:52 +0000 | |
---|---|---|
committer | 2023-01-12 21:09:20 +0000 | |
commit | ddcadb297ce5cc1cec0b0882d8b750e5e06fc9f4 (patch) | |
tree | b753ae0cfa880cbbe16aaa130debe6258d1ec90c /drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c | |
parent | KVM: arm64: Use KVM's pte type/helpers in handle_access_fault() (diff) | |
download | wireguard-linux-ddcadb297ce5cc1cec0b0882d8b750e5e06fc9f4.tar.xz wireguard-linux-ddcadb297ce5cc1cec0b0882d8b750e5e06fc9f4.zip |
KVM: arm64: Ignore EAGAIN for walks outside of a fault
The page table walkers are invoked outside fault handling paths, such as
write protecting a range of memory. EAGAIN is generally used by the
walkers to retry execution due to races on a particular PTE, like taking
an access fault on a PTE being invalidated from another thread.
This early return behavior is undesirable for walkers that operate
outside a fault handler. Suppress EAGAIN and continue the walk if
operating outside a fault handler.
Link: https://lore.kernel.org/r/20221202185156.696189-3-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c')
0 files changed, 0 insertions, 0 deletions