The first four patches are cosmetic and aim to remove the inconsistencies I noticed around ctxt_sys_reg/vcpu_sys_reg and how feature bits are checked. The last patch is a minor optimization to the way KVM disables profiling when running with VHE disabled. Based on v5.14-rc1. The changes touch quite a lot of code, I'm happy to rebase on another branch if necessary. Boot tested on an odroid c4 with 4k, 16k and 64k guests running on 4k, 16k and 64k hosts (so 3 x 3 tests in total). Alexandru Elisei (5): KVM: arm64: Move vcpu_has_feature() to asm/kvm_host.h KVM: arm64: Use vcpu_has_feature() to check the feature bits KVM: arm64: Rename __vcpu_sys_reg -> vcpu_sys_reg KVM: arm64: Add __vcpu_sys_reg() KVM: arm64: nVHE: Remove unneeded isb() when modifying PMSCR_EL1 arch/arm64/include/asm/kvm_emulate.h | 7 +-- arch/arm64/include/asm/kvm_host.h | 13 +++-- arch/arm64/kvm/arch_timer.c | 20 ++++---- arch/arm64/kvm/arm.c | 5 +- arch/arm64/kvm/fpsimd.c | 2 +- arch/arm64/kvm/guest.c | 6 +-- arch/arm64/kvm/hyp/exception.c | 4 +- arch/arm64/kvm/hyp/include/hyp/switch.h | 6 +-- arch/arm64/kvm/hyp/include/hyp/sysreg-sr.h | 12 ++--- arch/arm64/kvm/hyp/nvhe/debug-sr.c | 1 - arch/arm64/kvm/pmu-emul.c | 58 +++++++++++----------- arch/arm64/kvm/psci.c | 2 +- arch/arm64/kvm/reset.c | 12 ++--- arch/arm64/kvm/sys_regs.c | 54 ++++++++++---------- arch/arm64/kvm/sys_regs.h | 4 +- include/kvm/arm_psci.h | 2 +- 16 files changed, 103 insertions(+), 105 deletions(-) -- 2.32.0 _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm