This series adds a runtime switch for the TLBI DVMBM feature and replaces the per-vCPU sched_cpus/pre_sched_cpus cpumasks with simple now_loaded/pre_loaded fields, so the DVMBM online CPU map is built from the pCPU each vCPU is currently loaded on. Patch 1 unifies the DVMBM control switches so tlbi_dvmbm_enable is the single runtime switch, initialized from kvm-arm.dvmbm_enabled at KVM init time. Patch 2 removes the per-vCPU cpumask allocation and derives the VM's online CPU mask from the vCPUs' current pCPUs. Base: OLK-6.6 (a78336b5ef45) lishusen (2): KVM: arm64: Add runtime switch for TLBI DVMBM feature KVM: arm64: Support online cpu map mask of VM for DVMBM feature arch/arm64/include/asm/kvm_host.h | 6 +- arch/arm64/kvm/arm.c | 27 ++++---- arch/arm64/kvm/hisilicon/hisi_virt.c | 99 +++++++++++++++------------- arch/arm64/kvm/hisilicon/hisi_virt.h | 38 +++++++++-- 4 files changed, 105 insertions(+), 65 deletions(-) -- 2.43.0