On Fri, 15 Dec 2023 at 15:16, Jean-Philippe Brucker <jean-phili...@linaro.org> wrote: > > MDCR_EL2.HPMN allows an hypervisor to limit the number of PMU counters > available to EL1 and EL0 (to keep the others to itself). QEMU already > implements this split correctly, except for PMCR_EL0.N reads: the number > of counters read by EL1 or EL0 should be the one configured in > MDCR_EL2.HPMN. > > Signed-off-by: Jean-Philippe Brucker <jean-phili...@linaro.org>
Applied to target-arm.next for 9.0, thanks. I've added a Cc: qemu-sta...@nongnu.org because it seems a fix worth backporting. -- PMM