diff options
| author | Oliver Upton <oupton@kernel.org> | 2025-11-19 14:11:50 -0800 |
|---|---|---|
| committer | Oliver Upton <oupton@kernel.org> | 2025-11-19 14:11:50 -0800 |
| commit | 156f70afcfecfc45be5fdc2e4adebc5ea70a93b0 (patch) | |
| tree | 98d34ba699f417b12b3a49b3cf894ca5ce43c1dc /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | |
| parent | 85f329df293119d6ba1a26453d109556631081a4 (diff) | |
KVM: arm64: Only drop references on empty tables in stage2_free_walker
A subsequent change to the way KVM frees stage-2s will invoke the free
walker on sub-ranges of the VM's IPA space, meaning there's potential
for only partially visiting a table's PTEs.
Split the leaf and table visitors and only drop references on a table
when the page count reaches 1, implying there are no valid PTEs that
need to be visited. Invalidate the table PTE to avoid traversing the
stale reference.
Link: https://msgid.link/20251113052452.975081-2-rananta@google.com
Signed-off-by: Oliver Upton <oupton@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions