linux/arch/riscv/kvm
Sean Christopherson 441f7bfa99 KVM: Opt out of generic hardware enabling on s390 and PPC
Allow architectures to opt out of the generic hardware enabling logic,
and opt out on both s390 and PPC, which don't need to manually enable
virtualization as it's always on (when available).

In addition to letting s390 and PPC drop a bit of dead code, this will
hopefully also allow ARM to clean up its related code, e.g. ARM has its
own per-CPU flag to track which CPUs have enable hardware due to the
need to keep hardware enabled indefinitely when pKVM is enabled.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Acked-by: Anup Patel <anup@brainfault.org>
Message-Id: <20221130230934.1014142-50-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-12-29 15:48:37 -05:00
..
Kconfig KVM: Opt out of generic hardware enabling on s390 and PPC 2022-12-29 15:48:37 -05:00
main.c KVM: Drop kvm_arch_check_processor_compat() hook 2022-12-29 15:41:28 -05:00
Makefile RISC-V: KVM: Factor-out instruction emulation into separate sources 2022-07-29 17:14:40 +05:30
mmu.c KVM: RISC-V: Tag init functions and data with __init, __ro_after_init 2022-12-29 15:41:18 -05:00
tlb.c RISC-V: KVM: Use Svinval for local TLB maintenance when available 2022-10-02 10:18:37 +05:30
vcpu_exit.c riscv: KVM: Apply insn-def to hlv encodings 2022-10-02 10:18:20 +05:30
vcpu_fp.c RISC-V: KVM: Improve ISA extension by using a bitmap 2022-07-29 17:14:11 +05:30
vcpu_insn.c KVM: remove KVM_REQ_UNHALT 2022-09-26 12:37:21 -04:00
vcpu_sbi_base.c RISC-V: KVM: Save mvendorid, marchid, and mimpid when creating VCPU 2022-12-07 09:17:43 +05:30
vcpu_sbi_hsm.c RISC-V: KVM: Remove redundant includes of asm/csr.h 2022-12-07 09:17:12 +05:30
vcpu_sbi_replace.c RISC-V: KVM: Remove redundant includes of asm/csr.h 2022-12-07 09:17:12 +05:30
vcpu_sbi_v01.c RISC-V: KVM: Remove redundant includes of asm/csr.h 2022-12-07 09:17:12 +05:30
vcpu_sbi.c riscv: kvm: move extern sbi_ext declarations to a header 2022-08-19 23:22:47 +05:30
vcpu_switch.S RISC-V: KVM: Refine __kvm_riscv_switch_to() implementation 2022-03-11 19:02:22 +05:30
vcpu_timer.c RISC-V: KVM: Fix kvm_riscv_vcpu_timer_pending() for Sstc 2022-10-21 11:52:45 +05:30
vcpu.c RISC-V: KVM: Add ONE_REG interface for mvendorid, marchid, and mimpid 2022-12-07 09:17:49 +05:30
vm.c RISC-V: KVM: Make kvm_riscv_guest_timer_init a void function 2022-07-29 17:14:26 +05:30
vmid.c KVM: RISC-V: Tag init functions and data with __init, __ro_after_init 2022-12-29 15:41:18 -05:00