From: Colton Lewis <coltonlewis@google.com>
To: Marc Zyngier <maz@kernel.org>, Oliver Upton <oupton@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>,
Paolo Bonzini <pbonzini@redhat.com>,
Russell King <linux@armlinux.org.uk>,
Jonathan Corbet <corbet@lwn.net>,
Fuad Tabba <fuad.tabba@linux.dev>,
Joey Gouly <joey.gouly@arm.com>,
Suzuki K Poulose <suzuki.poulose@arm.com>,
Zenghui Yu <yuzenghui@huawei.com>,
Shuah Khan <skhan@linuxfoundation.org>,
James Clark <james.clark@linaro.org>,
Alexandru Elisei <alexandru.elisei@arm.com>,
Mingwei Zhang <mizhang@google.com>,
Ganapatrao Kulkarni <gankulkarni@os.amperecomputing.com>,
kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
kvm@vger.kernel.org, linux-perf-users@vger.kernel.org,
linux-kselftest@vger.kernel.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH v10 26/33] KVM: arm64: Multiplex PMCR_EL0.E and MDCR_EL2.HPME for sub-partitioned L1
Date: Thu, 19 Nov 2026 18:52:08 +0000 [thread overview]
Message-ID: <20261119185215.632334-27-coltonlewis@google.com> (raw)
In-Reply-To: <20261119185215.632334-1-coltonlewis@google.com>
When an L1 hypervisor sub-partitions its counters (vHPMN < N_L1, so
kvm_pmu_hyp_counter_mask(vcpu) is non-zero), all N_L1 guest counters lie
below physical MDCR_EL2.HPMN == N_L1 and are gated in hardware by
physical PMCR_EL0.E. Architecturally, however, counters 0..vHPMN-1 and
PMCCNTR_EL0 are gated by vPMCR_EL0.E while L1's hypervisor counters
vHPMN..N_L1-1 are gated independently by vMDCR_EL2.HPME.
Multiplex both domain enables onto physical PMCNTENSET_EL0 and
PMCR_EL0.E whenever L1 sub-partitions its counters (leaving
non-sub-partitioned guests completely untrapped):
- Keep MDCR_EL2.TPMCR and HDFG{R,W}TR_EL2.PMCNTEN enabled when
kvm_pmu_hyp_counter_mask(vcpu) is non-zero.
- Maintain architectural guest PMCR_EL0 and PMCNTENSET_EL0 values in
sys_regs[], set physical PMCR_EL0.E when either vPMCR_EL0.E or
vMDCR_EL2.HPME is set, and program physical PMCNTENSET_EL0 with only
those guest-enabled counters whose domain enable is active.
Signed-off-by: Colton Lewis <coltonlewis@google.com>
---
arch/arm64/kvm/config.c | 6 ++
arch/arm64/kvm/debug.c | 10 ++-
arch/arm64/kvm/pmu-direct.c | 166 +++++++++++++++++++++++++++---------
include/kvm/arm_pmu.h | 1 +
4 files changed, 140 insertions(+), 43 deletions(-)
diff --git a/arch/arm64/kvm/config.c b/arch/arm64/kvm/config.c
index 3220ed6fc9453..4089a144b8f2b 100644
--- a/arch/arm64/kvm/config.c
+++ b/arch/arm64/kvm/config.c
@@ -1801,6 +1801,9 @@ static void __compute_hdfgrtr(struct kvm_vcpu *vcpu)
(__vcpu_sys_reg(vcpu, MDCR_EL2) & MDCR_EL2_TPM))
set |= HDFGRTR_EL2_PMUSERENR_EL0;
+ if (kvm_pmu_hyp_counter_mask(vcpu))
+ set |= HDFGRTR_EL2_PMCNTEN;
+
*vcpu_fgt(vcpu, HDFGRTR_EL2) |= set & ~hdfgrtr_masks.res0;
}
}
@@ -1820,6 +1823,9 @@ static void __compute_hdfgwtr(struct kvm_vcpu *vcpu)
if (is_hyp_ctxt(vcpu))
set |= HDFGWTR_EL2_PMUSERENR_EL0;
+ if (kvm_pmu_hyp_counter_mask(vcpu))
+ set |= HDFGWTR_EL2_PMCNTEN;
+
*vcpu_fgt(vcpu, HDFGWTR_EL2) |= set & ~hdfgwtr_masks.res0;
}
}
diff --git a/arch/arm64/kvm/debug.c b/arch/arm64/kvm/debug.c
index ec9f942b452d8..b89f46cb59955 100644
--- a/arch/arm64/kvm/debug.c
+++ b/arch/arm64/kvm/debug.c
@@ -80,13 +80,17 @@ void kvm_arm_setup_mdcr_el2(struct kvm_vcpu *vcpu)
/*
* Take out the coarse grain traps if we are using
* fine grain traps and enforce counter access with
- * HPMN.
+ * HPMN. Keep TPMCR when L1 sub-partitions its counters
+ * so PMCR_EL0 reads and writes trap for multiplexing.
*/
mdcr &= ~MDCR_EL2_HPMN;
mdcr |= FIELD_PREP(MDCR_EL2_HPMN, nr_guest_cntr);
- if (cpus_have_final_cap(ARM64_HAS_FGT))
- mdcr &= ~(MDCR_EL2_TPM | MDCR_EL2_TPMCR);
+ if (cpus_have_final_cap(ARM64_HAS_FGT)) {
+ mdcr &= ~MDCR_EL2_TPM;
+ if (!kvm_pmu_hyp_counter_mask(vcpu))
+ mdcr &= ~MDCR_EL2_TPMCR;
+ }
}
}
diff --git a/arch/arm64/kvm/pmu-direct.c b/arch/arm64/kvm/pmu-direct.c
index b0491d32b5d7b..725b5fc17533e 100644
--- a/arch/arm64/kvm/pmu-direct.c
+++ b/arch/arm64/kvm/pmu-direct.c
@@ -91,6 +91,82 @@ static u64 kvm_vcpu_pmu_guest_counter_mask(struct kvm_vcpu *vcpu)
static void kvm_pmu_set_guest_owned(struct kvm_vcpu *vcpu);
+static u64 kvm_pmu_part_active_cnten_mask(struct kvm_vcpu *vcpu)
+{
+ u64 guest_mask = kvm_vcpu_pmu_guest_counter_mask(vcpu);
+ u64 hyp_mask = kvm_pmu_hyp_counter_mask(vcpu);
+ u64 pmcr = __vcpu_sys_reg(vcpu, PMCR_EL0);
+ u64 mdcr = __vcpu_sys_reg(vcpu, MDCR_EL2);
+ u64 active = 0;
+
+ if (pmcr & ARMV8_PMU_PMCR_E)
+ active |= guest_mask & ~hyp_mask;
+ if (mdcr & MDCR_EL2_HPME)
+ active |= hyp_mask;
+
+ return active;
+}
+
+static void kvm_pmu_part_sync_hw_enables(struct kvm_vcpu *vcpu)
+{
+ u64 guest_mask = kvm_vcpu_pmu_guest_counter_mask(vcpu);
+ u64 cnten = __vcpu_sys_reg(vcpu, PMCNTENSET_EL0) &
+ kvm_pmu_part_active_cnten_mask(vcpu);
+ u64 pmcr = __vcpu_sys_reg(vcpu, PMCR_EL0);
+ u64 mdcr = __vcpu_sys_reg(vcpu, MDCR_EL2);
+ u64 pmcr_mask = ARMV8_PMU_PMCR_MASK &
+ ~(ARMV8_PMU_PMCR_P | ARMV8_PMU_PMCR_C);
+
+ if (!kvm_has_feat(vcpu->kvm, ID_AA64DFR0_EL1, PMUVer, V3P5))
+ pmcr_mask &= ~ARMV8_PMU_PMCR_LP;
+
+ pmcr &= pmcr_mask;
+ if (mdcr & MDCR_EL2_HPME)
+ pmcr |= ARMV8_PMU_PMCR_E;
+
+ write_sysreg(~cnten & guest_mask, pmcntenclr_el0);
+ write_sysreg(cnten & guest_mask, pmcntenset_el0);
+ write_sysreg(pmcr, pmcr_el0);
+}
+
+static void kvm_pmu_direct_cnten_write(struct kvm_vcpu *vcpu, u64 val, bool set)
+{
+ u64 mask = kvm_vcpu_pmu_guest_counter_mask(vcpu);
+
+ lockdep_assert_preemption_disabled();
+
+ val &= mask;
+ if (set) {
+ __vcpu_rmw_sys_reg(vcpu, PMCNTENSET_EL0, |=, val);
+ if (val)
+ kvm_pmu_set_guest_owned(vcpu);
+ } else {
+ __vcpu_rmw_sys_reg(vcpu, PMCNTENSET_EL0, &=, ~val);
+ }
+
+ if (!kvm_pmu_part_on_cpu(vcpu))
+ return;
+
+ if (vcpu->arch.pmu.multiplex_enables)
+ kvm_pmu_part_sync_hw_enables(vcpu);
+ else if (set)
+ write_sysreg(val, pmcntenset_el0);
+ else
+ write_sysreg(val, pmcntenclr_el0);
+}
+
+static u64 kvm_pmu_direct_cnten_read(struct kvm_vcpu *vcpu)
+{
+ u64 mask = kvm_vcpu_pmu_guest_counter_mask(vcpu);
+
+ lockdep_assert_preemption_disabled();
+
+ if (kvm_pmu_part_on_cpu(vcpu) && !vcpu->arch.pmu.multiplex_enables)
+ return read_sysreg(pmcntenset_el0) & mask;
+
+ return __vcpu_sys_reg(vcpu, PMCNTENSET_EL0) & mask;
+}
+
static void kvm_pmu_direct_pmcr_write(struct kvm_vcpu *vcpu, u64 val)
{
bool reset_p = val & ARMV8_PMU_PMCR_P;
@@ -133,7 +209,11 @@ static void kvm_pmu_direct_pmcr_write(struct kvm_vcpu *vcpu, u64 val)
write_pmevcntrn(i, 0);
}
- write_sysreg(val & ~(ARMV8_PMU_PMCR_P | ARMV8_PMU_PMCR_C), pmcr_el0);
+ if (vcpu->arch.pmu.multiplex_enables)
+ kvm_pmu_part_sync_hw_enables(vcpu);
+ else
+ write_sysreg(val & ~(ARMV8_PMU_PMCR_P | ARMV8_PMU_PMCR_C),
+ pmcr_el0);
}
static u64 kvm_pmu_direct_pmcr_read(struct kvm_vcpu *vcpu)
@@ -147,6 +227,10 @@ static u64 kvm_pmu_direct_pmcr_read(struct kvm_vcpu *vcpu)
return kvm_vcpu_read_pmcr(vcpu);
pmcr = read_sysreg(pmcr_el0);
+ if (vcpu->arch.pmu.multiplex_enables) {
+ pmcr &= ~ARMV8_PMU_PMCR_MASK;
+ pmcr |= __vcpu_sys_reg(vcpu, PMCR_EL0) & ARMV8_PMU_PMCR_MASK;
+ }
if (!kvm_has_feat(vcpu->kvm, ID_AA64DFR0_EL1, PMUVer, V3P5))
pmcr &= ~ARMV8_PMU_PMCR_LP;
@@ -232,6 +316,7 @@ static u64 kvm_pmu_direct_cntr_read(struct kvm_vcpu *vcpu, u8 idx)
return read_pmevcntrn(idx);
}
+
static void kvm_pmu_direct_cntr_write(struct kvm_vcpu *vcpu, u8 idx, u64 val)
{
lockdep_assert_preemption_disabled();
@@ -273,10 +358,7 @@ u64 kvm_pmu_direct_reg_read(struct kvm_vcpu *vcpu, unsigned int reg)
case PMEVTYPER0_EL0 ... PMCCFILTR_EL0:
return __vcpu_sys_reg(vcpu, reg);
case PMCNTENSET_EL0:
- if (kvm_pmu_part_on_cpu(vcpu))
- return read_sysreg(pmcntenset_el0) &
- kvm_vcpu_pmu_guest_counter_mask(vcpu);
- return __vcpu_sys_reg(vcpu, reg);
+ return kvm_pmu_direct_cnten_read(vcpu);
case PMINTENSET_EL1:
if (kvm_pmu_part_on_cpu(vcpu))
return read_sysreg(pmintenset_el1) &
@@ -410,18 +492,7 @@ void kvm_pmu_direct_reg_write(struct kvm_vcpu *vcpu, unsigned int reg,
kvm_pmu_apply_single_event_filter(vcpu, reg - PMEVTYPER0_EL0);
break;
case PMCNTENSET_EL0:
- val &= kvm_vcpu_pmu_guest_counter_mask(vcpu);
- if (set) {
- __vcpu_rmw_sys_reg(vcpu, PMCNTENSET_EL0, |=, val);
- if (val)
- kvm_pmu_set_guest_owned(vcpu);
- if (kvm_pmu_part_on_cpu(vcpu))
- write_sysreg(val, pmcntenset_el0);
- } else {
- __vcpu_rmw_sys_reg(vcpu, PMCNTENSET_EL0, &=, ~val);
- if (kvm_pmu_part_on_cpu(vcpu))
- write_sysreg(val, pmcntenclr_el0);
- }
+ kvm_pmu_direct_cnten_write(vcpu, val, set);
break;
case PMINTENSET_EL1:
val &= kvm_vcpu_pmu_guest_counter_mask(vcpu);
@@ -545,6 +616,7 @@ static void __kvm_pmu_load(struct kvm_vcpu *vcpu, bool reserve_counters)
isb();
vcpu->arch.pmu.loaded_on_cpu = true;
+ vcpu->arch.pmu.multiplex_enables = !!kvm_pmu_hyp_counter_mask(vcpu);
kvm_arm_setup_mdcr_el2(vcpu);
isb();
@@ -568,14 +640,6 @@ static void __kvm_pmu_load(struct kvm_vcpu *vcpu, bool reserve_counters)
write_sysreg(val, pmuserenr_el0);
}
- /* Save only the stateful writable bits. */
- val = __vcpu_sys_reg(vcpu, PMCR_EL0);
- mask = ARMV8_PMU_PMCR_MASK &
- ~(ARMV8_PMU_PMCR_P | ARMV8_PMU_PMCR_C);
- if (!kvm_has_feat(vcpu->kvm, ID_AA64DFR0_EL1, PMUVer, V3P5))
- mask &= ~ARMV8_PMU_PMCR_LP;
- write_sysreg(val & mask, pmcr_el0);
-
/*
* When handling these:
* 1. Apply only the bits for guest counters (indicated by mask)
@@ -591,9 +655,23 @@ static void __kvm_pmu_load(struct kvm_vcpu *vcpu, bool reserve_counters)
write_sysreg(mask, pmovsclr_el0);
isb();
- val = __vcpu_sys_reg(vcpu, PMCNTENSET_EL0);
- write_sysreg(val & mask, pmcntenset_el0);
- write_sysreg(~val & mask, pmcntenclr_el0);
+ if (vcpu->arch.pmu.multiplex_enables) {
+ kvm_pmu_part_sync_hw_enables(vcpu);
+ } else {
+ u64 pmcr_mask = ARMV8_PMU_PMCR_MASK &
+ ~(ARMV8_PMU_PMCR_P | ARMV8_PMU_PMCR_C);
+
+ if (!kvm_has_feat(vcpu->kvm, ID_AA64DFR0_EL1, PMUVer, V3P5))
+ pmcr_mask &= ~ARMV8_PMU_PMCR_LP;
+
+ /* Save only the stateful writable bits. */
+ val = __vcpu_sys_reg(vcpu, PMCR_EL0);
+ write_sysreg(val & pmcr_mask, pmcr_el0);
+
+ val = __vcpu_sys_reg(vcpu, PMCNTENSET_EL0);
+ write_sysreg(val & mask, pmcntenset_el0);
+ write_sysreg(~val & mask, pmcntenclr_el0);
+ }
val = __vcpu_sys_reg(vcpu, PMINTENSET_EL1);
write_sysreg(val & mask, pmintenset_el1);
@@ -657,8 +735,10 @@ static void __kvm_pmu_put(struct kvm_vcpu *vcpu, bool release_counters)
daif = local_daif_save();
/* Mask these to only save the guest relevant bits. */
- val = read_sysreg(pmcntenset_el0);
- __vcpu_assign_sys_reg(vcpu, PMCNTENSET_EL0, val & mask);
+ if (!vcpu->arch.pmu.multiplex_enables) {
+ val = read_sysreg(pmcntenset_el0);
+ __vcpu_assign_sys_reg(vcpu, PMCNTENSET_EL0, val & mask);
+ }
val = read_sysreg(pmintenset_el1);
__vcpu_assign_sys_reg(vcpu, PMINTENSET_EL1, val & mask);
@@ -690,12 +770,14 @@ static void __kvm_pmu_put(struct kvm_vcpu *vcpu, bool release_counters)
write_sysreg(ARMV8_PMU_USERENR_MASK, pmuserenr_el0);
}
- val = read_sysreg(pmcr_el0);
- pmcr_mask = ARMV8_PMU_PMCR_MASK;
- if (!kvm_has_feat(vcpu->kvm, ID_AA64DFR0_EL1, PMUVer, V3P5))
- pmcr_mask &= ~ARMV8_PMU_PMCR_LP;
- __vcpu_rmw_sys_reg(vcpu, PMCR_EL0, &=, ~ARMV8_PMU_PMCR_MASK);
- __vcpu_rmw_sys_reg(vcpu, PMCR_EL0, |=, val & pmcr_mask);
+ if (!vcpu->arch.pmu.multiplex_enables) {
+ pmcr_mask = ARMV8_PMU_PMCR_MASK;
+ if (!kvm_has_feat(vcpu->kvm, ID_AA64DFR0_EL1, PMUVer, V3P5))
+ pmcr_mask &= ~ARMV8_PMU_PMCR_LP;
+ val = read_sysreg(pmcr_el0);
+ __vcpu_rmw_sys_reg(vcpu, PMCR_EL0, &=, ~ARMV8_PMU_PMCR_MASK);
+ __vcpu_rmw_sys_reg(vcpu, PMCR_EL0, |=, val & pmcr_mask);
+ }
val = ARMV8_PMU_PMCR_LC;
if (pmu->pmuver >= ID_AA64DFR0_EL1_PMUVer_V3P5)
@@ -710,6 +792,7 @@ static void __kvm_pmu_put(struct kvm_vcpu *vcpu, bool release_counters)
write_sysreg(val & mask, pmovsclr_el0);
vcpu->arch.pmu.loaded_on_cpu = false;
+ vcpu->arch.pmu.multiplex_enables = false;
kvm_arm_setup_mdcr_el2(vcpu);
isb();
@@ -741,9 +824,9 @@ void kvm_pmu_put(struct kvm_vcpu *vcpu)
* kvm_pmu_reload_part() - Reload partitioned PMU traps, filters, and state
* @vcpu: Pointer to struct kvm_vcpu
*
- * Refresh MDCR_EL2 trap bits, event filters, and hardware register state
- * without releasing the host counter reservation when the partitioned PMU is
- * already loaded on the CPU.
+ * Refresh fine-grained traps, MDCR_EL2 trap bits, event filters, and
+ * enable multiplexing without releasing the host counter reservation
+ * when the partitioned PMU is already loaded on the CPU.
*/
void kvm_pmu_reload_part(struct kvm_vcpu *vcpu)
{
@@ -864,7 +947,10 @@ bool kvm_pmu_part_overflow_status(struct kvm_vcpu *vcpu)
write_sysreg(hw_ovf, pmovsclr_el0);
}
pmint = read_pmintenset();
- pmcr = read_pmcr();
+ if (vcpu->arch.pmu.multiplex_enables)
+ pmcr = __vcpu_sys_reg(vcpu, PMCR_EL0);
+ else
+ pmcr = read_pmcr();
} else {
pmint = __vcpu_sys_reg(vcpu, PMINTENSET_EL1);
pmcr = __vcpu_sys_reg(vcpu, PMCR_EL0);
diff --git a/include/kvm/arm_pmu.h b/include/kvm/arm_pmu.h
index fcd8e6331943e..9e5fcbe2ccbb1 100644
--- a/include/kvm/arm_pmu.h
+++ b/include/kvm/arm_pmu.h
@@ -45,6 +45,7 @@ struct kvm_pmu {
int irq_num;
bool created;
bool loaded_on_cpu;
+ bool multiplex_enables;
enum vcpu_pmu_register_access access;
};
--
2.56.1.708.g77570a6a1d-goog
next prev parent reply other threads:[~2026-11-19 18:52 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-19 18:51 [PATCH v10 00/33] ARM64 PMU Partitioning Colton Lewis
2026-11-19 18:51 ` [PATCH v10 01/33] arm64: cpufeature: Add cpucap for HPMN0 Colton Lewis
2026-11-19 18:51 ` [PATCH v10 02/33] KVM: arm64: Reorganize PMU includes Colton Lewis
2026-11-19 18:51 ` [PATCH v10 03/33] KVM: arm64: Reorganize PMU functions Colton Lewis
2026-11-19 18:51 ` [PATCH v10 04/33] KVM: arm64: Use nr_pmu_counters in kvm_pmu_implemented_counter_mask() Colton Lewis
2026-11-19 18:51 ` [PATCH v10 05/33] KVM: arm64: Ignore HPMN for userspace PMU register access Colton Lewis
2026-11-19 18:51 ` [PATCH v10 06/33] perf: arm_pmuv3: Generalize counter bitmasks Colton Lewis
2026-11-19 18:51 ` [PATCH v10 07/33] perf: arm_pmuv3: Move counter allocation mask to per-CPU struct pmu_hw_events Colton Lewis
2026-11-19 18:51 ` [PATCH v10 08/33] perf: arm_pmuv3: Check cntr_mask before using pmccntr Colton Lewis
2026-11-19 18:51 ` [PATCH v10 09/33] perf: arm_pmuv3: Allocate counter indices from high to low Colton Lewis
2026-11-19 18:51 ` [PATCH v10 10/33] perf: arm_pmuv3: Expose number of general-purpose counters in sysfs Colton Lewis
2026-11-19 18:51 ` [PATCH v10 11/33] KVM: arm64: Add initial scaffolding for Partitioned PMU Colton Lewis
2026-11-19 18:51 ` [PATCH v10 12/33] KVM: arm64: Set up FGT " Colton Lewis
2026-11-19 18:51 ` [PATCH v10 13/33] KVM: arm64: Make __vcpu_rmw_sys_reg() atomic Colton Lewis
2026-11-19 18:51 ` [PATCH v10 14/33] KVM: arm64: Add Partitioned PMU register trap handlers Colton Lewis
2026-11-19 18:51 ` [PATCH v10 15/33] KVM: arm64: Construct mdcr_el2 in a local variable in kvm_arm_setup_mdcr_el2() Colton Lewis
2026-11-19 18:51 ` [PATCH v10 16/33] KVM: arm64: Set up MDCR_EL2 to handle a Partitioned PMU Colton Lewis
2026-11-19 18:51 ` [PATCH v10 17/33] KVM: arm64: Context swap Partitioned PMU guest registers Colton Lewis
2026-11-19 18:52 ` [PATCH v10 18/33] KVM: arm64: Enforce PMU event filter at vcpu_load() Colton Lewis
2026-11-19 18:52 ` [PATCH v10 19/33] perf: Add perf_pmu_resched_update() Colton Lewis
2026-11-19 18:52 ` [PATCH v10 20/33] perf/core: Prioritize kernel-owned pinned events when scheduling groups Colton Lewis
2026-11-19 18:52 ` [PATCH v10 21/33] KVM: arm64: Allow kvm_vcpu_pmu_resync_el0() to resync filters in process context Colton Lewis
2026-11-19 18:52 ` [PATCH v10 22/33] KVM: arm64: Apply dynamic guest counter reservations Colton Lewis
2026-11-19 18:52 ` [PATCH v10 23/33] KVM: arm64: Implement lazy PMU context swaps Colton Lewis
2026-11-19 18:52 ` [PATCH v10 24/33] perf: arm_pmuv3: Handle IRQs for Partitioned PMU guest counters Colton Lewis
2026-11-19 18:52 ` [PATCH v10 25/33] KVM: arm64: Detect overflows for the Partitioned PMU Colton Lewis
2026-11-19 18:52 ` Colton Lewis [this message]
2026-11-19 18:52 ` [PATCH v10 27/33] KVM: arm64: Emulate mismatched LP and HLP overflow widths for sub-partitioned L1 Colton Lewis
2026-11-19 18:52 ` [PATCH v10 28/33] KVM: arm64: Emulate trapped PMSWINC_EL0 writes for Partitioned PMU Colton Lewis
2026-11-19 18:52 ` [PATCH v10 29/33] KVM: arm64: Forward FGT traps for PMXEVTYPER_EL0 and PMXEVCNTR_EL0 Colton Lewis
2026-11-19 18:52 ` [PATCH v10 30/33] KVM: arm64: Support zero event counters on Partitioned PMU without HPMN0 Colton Lewis
2026-11-19 18:52 ` [PATCH v10 31/33] KVM: arm64: Add vCPU device attr to partition the PMU Colton Lewis
2026-11-19 18:52 ` [PATCH v10 32/33] KVM: selftests: Add find_bit to KVM library Colton Lewis
2026-11-19 18:52 ` [PATCH v10 33/33] KVM: arm64: selftests: Add test case for Partitioned PMU Colton Lewis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261119185215.632334-27-coltonlewis@google.com \
--to=coltonlewis@google.com \
--cc=alexandru.elisei@arm.com \
--cc=catalin.marinas@arm.com \
--cc=corbet@lwn.net \
--cc=fuad.tabba@linux.dev \
--cc=gankulkarni@os.amperecomputing.com \
--cc=james.clark@linaro.org \
--cc=joey.gouly@arm.com \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.linux.dev \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mark.rutland@arm.com \
--cc=maz@kernel.org \
--cc=mingo@redhat.com \
--cc=mizhang@google.com \
--cc=oupton@kernel.org \
--cc=pbonzini@redhat.com \
--cc=peterz@infradead.org \
--cc=skhan@linuxfoundation.org \
--cc=suzuki.poulose@arm.com \
--cc=will@kernel.org \
--cc=yuzenghui@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®