qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] target/arm/helper: Propagate MDCR_EL2.HPMN into PMCR_EL0.N


From: Peter Maydell
Subject: Re: [PATCH] target/arm/helper: Propagate MDCR_EL2.HPMN into PMCR_EL0.N
Date: Mon, 18 Dec 2023 15:05:46 +0000

On Fri, 15 Dec 2023 at 15:16, Jean-Philippe Brucker
<jean-philippe@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-philippe@linaro.org>

Applied to target-arm.next for 9.0, thanks. I've added a
Cc: qemu-stable@nongnu.org because it seems a fix worth
backporting.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]