linux/arch/riscv/kvm
Sean Christopherson d01495d4cf KVM: RISC-V: Use "new" memslot instead of userspace memory region
Get the slot ID, hva, etc... from the "new" memslot instead of the
userspace memory region when preparing/committing a memory region.  This
will allow a future commit to drop @mem from the prepare/commit hooks
once all architectures convert to using "new".

Opportunistically wait to get the various "new" values until after
filtering out the DELETE case in anticipation of a future commit passing
NULL for @new when deleting a memslot.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Message-Id: <543608ab88a1190e73a958efffafc98d2652c067.1638817640.git.maciej.szmigiero@oracle.com>
2021-12-08 04:24:24 -05:00
..
Kconfig riscv: do not select non-existing config ANON_INODES 2021-10-22 05:53:37 -04:00
main.c RISC-V: KVM: Implement stage2 page table programming 2021-10-04 16:02:19 +05:30
Makefile RISC-V: KVM: Factor-out FP virtualization into separate sources 2021-10-31 02:45:43 -04:00
mmu.c KVM: RISC-V: Use "new" memslot instead of userspace memory region 2021-12-08 04:24:24 -05:00
tlb.S RISC-V: KVM: Fix GPA passed to __kvm_riscv_hfence_gvma_xyz() functions 2021-10-31 02:45:43 -04:00
vcpu_exit.c RISC-V: KVM: remove unneeded semicolon 2021-11-01 17:35:13 +05:30
vcpu_fp.c RISC-V: KVM: Factor-out FP virtualization into separate sources 2021-10-31 02:45:43 -04:00
vcpu_sbi.c KVM: Use 'unsigned long' as kvm_for_each_vcpu()'s index 2021-12-08 04:24:15 -05:00
vcpu_switch.S RISC-V: KVM: FP lazy save/restore 2021-10-04 16:08:23 +05:30
vcpu_timer.c RISC-V: KVM: remove unneeded semicolon 2021-11-01 17:35:13 +05:30
vcpu.c Documentation: update vcpu-requests.rst reference 2021-11-17 06:12:14 -07:00
vm.c KVM: Move wiping of the kvm->vcpus array to common code 2021-12-08 04:24:13 -05:00
vmid.c KVM: Use 'unsigned long' as kvm_for_each_vcpu()'s index 2021-12-08 04:24:15 -05:00