diff options
| author | Anup Patel <[email protected]> | 2025-06-18 11:35:26 +0000 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2025-07-28 16:57:18 +0000 |
| commit | ca539ba4bc980610b68dba345b18208c0279b2b1 (patch) | |
| tree | 38051071424da3f3b6d0adebac41237c7bb6e31c /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | RISC-V: KVM: Don't flush TLB when PTE is unchanged (diff) | |
| download | kernel-ca539ba4bc980610b68dba345b18208c0279b2b1.tar.gz kernel-ca539ba4bc980610b68dba345b18208c0279b2b1.zip | |
RISC-V: KVM: Implement kvm_arch_flush_remote_tlbs_range()
The kvm_arch_flush_remote_tlbs_range() expected by KVM core can be
easily implemented for RISC-V using kvm_riscv_hfence_gvma_vmid_gpa()
hence provide it.
Also with kvm_arch_flush_remote_tlbs_range() available for RISC-V, the
mmu_wp_memory_region() can happily use kvm_flush_remote_tlbs_memslot()
instead of kvm_flush_remote_tlbs().
Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Tested-by: Atish Patra <[email protected]>
Reviewed-by: Nutty Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
