diff options
author | Anup Patel <anup.patel@wdc.com> | 2021-09-27 14:40:01 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-10-04 13:10:08 +0300 |
commit | 99cdc6c18c2d815e940e81b9b477d469bdd41788 (patch) | |
tree | 5f279c009abe607b00a37949bd1c9f98b864541c /arch/riscv/Kconfig | |
parent | 3f2401f47d29d669e2cb137709d10dd4c156a02f (diff) | |
download | linux-99cdc6c18c2d815e940e81b9b477d469bdd41788.tar.xz |
RISC-V: Add initial skeletal KVM support
This patch adds initial skeletal KVM RISC-V support which has:
1. A simple implementation of arch specific VM functions
except kvm_vm_ioctl_get_dirty_log() which will implemeted
in-future as part of stage2 page loging.
2. Stubs of required arch specific VCPU functions except
kvm_arch_vcpu_ioctl_run() which is semi-complete and
extended by subsequent patches.
3. Stubs for required arch specific stage2 MMU functions.
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/Kconfig')
-rw-r--r-- | arch/riscv/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 301a54233c7e..f5fe8a7f0e24 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -562,4 +562,5 @@ source "kernel/power/Kconfig" endmenu +source "arch/riscv/kvm/Kconfig" source "drivers/firmware/Kconfig" |