]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
target-arm: Don't mention PMU in debug feature register
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Apr 2014 18:18:41 +0000 (19:18 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 17 Apr 2014 20:34:04 +0000 (21:34 +0100)
commit9225d739e7f6ec8d2139f79c3d2e3282cc725364
treeb171ef430bafd6f99228a2753e88f53307b23458
parent2c8dd318639a37c308d7946d9f6548727dfc32ca
target-arm: Don't mention PMU in debug feature register

Suppress the ID_AA64DFR0_EL1 PMUVer field, even if the CPU specific
value claims that it exists. QEMU doesn't currently implement it,
and not advertising it prevents the guest from trying to use it
and getting UNDEFs on unimplemented registers.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
---
This is arguably a hack, but otherwise Linux tries to prod
half a dozen PMU sysregs.
target-arm/helper.c