[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241025182354.3364124-1-oliver.upton@linux.dev>
Date: Fri, 25 Oct 2024 18:23:35 +0000
From: Oliver Upton <oliver.upton@...ux.dev>
To: kvmarm@...ts.linux.dev
Cc: Marc Zyngier <maz@...nel.org>,
Joey Gouly <joey.gouly@....com>,
Suzuki K Poulose <suzuki.poulose@....com>,
Zenghui Yu <yuzenghui@...wei.com>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>,
Anshuman Khandual <anshuman.khandual@....com>,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Oliver Upton <oliver.upton@...ux.dev>
Subject: [PATCH v4 00/18] KVM: arm64: nv: Support for EL2 PMU controls
v3 -> v4:
- Align sysreg definitions with DDI0601 2024-09
- Fix 'accessible' counter mask construction
- Fix MDCR_EL2.MTPME RES0 logic
v3: https://lore.kernel.org/kvmarm/20241007174559.1830205-1-oliver.upton@linux.dev/
Marc Zyngier (1):
KVM: arm64: Extend masking facility to arbitrary registers
Oliver Upton (17):
arm64: sysreg: Describe ID_AA64DFR2_EL1 fields
arm64: sysreg: Migrate MDCR_EL2 definition to table
arm64: sysreg: Add new definitions for ID_AA64DFR0_EL1
KVM: arm64: Describe RES0/RES1 bits of MDCR_EL2
KVM: arm64: nv: Allow coarse-grained trap combos to use complex traps
KVM: arm64: nv: Rename BEHAVE_FORWARD_ANY
KVM: arm64: nv: Reinject traps that take effect in Host EL0
KVM: arm64: nv: Honor MDCR_EL2.{TPM, TPMCR} in Host EL0
KVM: arm64: nv: Describe trap behaviour of MDCR_EL2.HPMN
KVM: arm64: nv: Advertise support for FEAT_HPMN0
KVM: arm64: Rename kvm_pmu_valid_counter_mask()
KVM: arm64: nv: Adjust range of accessible PMCs according to HPMN
KVM: arm64: Add helpers to determine if PMC counts at a given EL
KVM: arm64: nv: Honor MDCR_EL2.HPME
KVM: arm64: nv: Honor MDCR_EL2.HLP
KVM: arm64: nv: Apply EL2 event filtering when in hyp context
KVM: arm64: nv: Reprogram PMU events affected by nested transition
arch/arm64/include/asm/kvm_arm.h | 29 ---
arch/arm64/include/asm/kvm_emulate.h | 5 +
arch/arm64/include/asm/kvm_host.h | 21 +-
arch/arm64/kvm/emulate-nested.c | 291 ++++++++++++++++-----------
arch/arm64/kvm/nested.c | 54 ++++-
arch/arm64/kvm/pmu-emul.c | 143 +++++++++++--
arch/arm64/kvm/sys_regs.c | 15 +-
arch/arm64/tools/sysreg | 76 ++++++-
include/kvm/arm_pmu.h | 18 +-
9 files changed, 465 insertions(+), 187 deletions(-)
base-commit: 8e929cb546ee42c9a61d24fae60605e9e3192354
--
2.47.0.163.g1226f6d8fa-goog
Powered by blists - more mailing lists