Re: [RFC PATCH v3 5/8] KVM: arm64: Introduce module param to partition the PMU

2025-02-13 Thread Colton Lewis
Colton Lewis writes: For PMUv3, the register MDCR_EL2.HPMN partitiones the PMU counters into two ranges where counters 0..HPMN-1 are accessible by EL1 and, if allowed, EL0 while counters HPMN..N are only accessible by EL2. Introduce a module parameter in KVM to set this register. The name re

[RFC PATCH v3 5/8] KVM: arm64: Introduce module param to partition the PMU

2025-02-13 Thread Colton Lewis
For PMUv3, the register MDCR_EL2.HPMN partitiones the PMU counters into two ranges where counters 0..HPMN-1 are accessible by EL1 and, if allowed, EL0 while counters HPMN..N are only accessible by EL2. Introduce a module parameter in KVM to set this register. The name reserved_host_counters reflec