Branch: refs/heads/staging-8.1
Home: https://github.com/qemu/qemu
Commit: c06aef082f21d897c1f929b10f6ab0800a54be26
https://github.com/qemu/qemu/commit/c06aef082f21d897c1f929b10f6ab0800a54be26
Author: Jean-Philippe Brucker <[email protected]>
Date: 2023-12-20 (Wed, 20 Dec 2023)
Changed paths:
M target/arm/helper.c
Log Message:
-----------
target/arm/helper: Propagate MDCR_EL2.HPMN into PMCR_EL0.N
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.
Cc: [email protected]
Signed-off-by: Jean-Philippe Brucker <[email protected]>
Message-id: [email protected]
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
(cherry picked from commit 6980c31dec42b6daebf7fec13b2d39ed87bb4766)
Signed-off-by: Michael Tokarev <[email protected]>