FEAT_HPMN0 is a small feature which defines that it is valid for MDCR_EL2.HPMN to be set to 0, meaning "no PMU event counters provided to an EL1 guest" (previously this setting was reserved). QEMU's implementation almost gets HPMN == 0 right, but we need to fix one check in pmevcntr_is_64_bit(). That is enough for us to advertise the feature in the 'max' CPU. (We don't need to make the behaviour conditional on feature presence, because the FEAT_HPMN0 behaviour is within the range of permitted UNPREDICTABLE behaviour for a non-FEAT_HPMN0 implementation.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20230921185445.3339214-1-peter.maydell@linaro.org |
||
|---|---|---|
| .. | ||
| aspeed.rst | ||
| bananapi_m2u.rst | ||
| collie.rst | ||
| cpu-features.rst | ||
| cubieboard.rst | ||
| digic.rst | ||
| emcraft-sf2.rst | ||
| emulation.rst | ||
| gumstix.rst | ||
| highbank.rst | ||
| imx25-pdk.rst | ||
| integratorcp.rst | ||
| kzm.rst | ||
| mainstone.rst | ||
| mps2.rst | ||
| musca.rst | ||
| musicpal.rst | ||
| nrf.rst | ||
| nseries.rst | ||
| nuvoton.rst | ||
| orangepi.rst | ||
| palm.rst | ||
| raspi.rst | ||
| realview.rst | ||
| sabrelite.rst | ||
| sbsa.rst | ||
| stellaris.rst | ||
| stm32.rst | ||
| sx1.rst | ||
| versatile.rst | ||
| vexpress.rst | ||
| virt.rst | ||
| xenpvh.rst | ||
| xlnx-versal-virt.rst | ||
| xscale.rst | ||