summary refs log tree commit diff stats
path: root/scripts/check_sparse.py
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2022-08-22 14:23:52 +0100
committerRichard Henderson <richard.henderson@linaro.org>2022-09-14 11:19:40 +0100
commitb57aa7bdc3b4f16b216bd854e86431146729a640 (patch)
tree8b63275c81b01de9f43bfd8e64ffa183a17c6b91 /scripts/check_sparse.py
parent01765386a88868ae993bcbb39f111501fe690035 (diff)
downloadfocaccia-qemu-b57aa7bdc3b4f16b216bd854e86431146729a640.tar.gz
focaccia-qemu-b57aa7bdc3b4f16b216bd854e86431146729a640.zip
target/arm: Ignore PMCR.D when PMCR.LC is set
The architecture requires that if PMCR.LC is set (for a 64-bit cycle
counter) then PMCR.D (which enables the clock divider so the counter
ticks every 64 cycles rather than every cycle) should be ignored.  We
were always honouring PMCR.D; fix the bug so we correctly ignore it
in this situation.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220822132358.3524971-5-peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts/check_sparse.py')
0 files changed, 0 insertions, 0 deletions