diff options
author | Anup Patel <anup.patel@wdc.com> | 2021-09-27 14:40:10 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-10-04 13:33:39 +0300 |
commit | 9955371cc014e02a1ef2d13c4aaf743d18bd66aa (patch) | |
tree | 09d788cf8996efb330d2118eb214bbdb6878780b /arch/riscv/kvm/Kconfig | |
parent | 9d05c1fee837572d91f2b5463d67d4e098987e95 (diff) | |
download | linux-9955371cc014e02a1ef2d13c4aaf743d18bd66aa.tar.xz |
RISC-V: KVM: Implement MMU notifiers
This patch implements MMU notifiers for KVM RISC-V so that Guest
physical address space is in-sync with Host physical address space.
This will allow swapping, page migration, etc to work transparently
with KVM RISC-V.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Alexander Graf <graf@amazon.com>
Acked-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/kvm/Kconfig')
-rw-r--r-- | arch/riscv/kvm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/kvm/Kconfig b/arch/riscv/kvm/Kconfig index 633063edaee8..a712bb910cda 100644 --- a/arch/riscv/kvm/Kconfig +++ b/arch/riscv/kvm/Kconfig @@ -20,6 +20,7 @@ if VIRTUALIZATION config KVM tristate "Kernel-based Virtual Machine (KVM) support (EXPERIMENTAL)" depends on RISCV_SBI && MMU + select MMU_NOTIFIER select PREEMPT_NOTIFIERS select ANON_INODES select KVM_MMIO |