Re: [PATCH 04/10] target/arm: Ignore PMCR.D when PMCR.LC is set

2022-08-11 Thread Richard Henderson
On 8/11/22 10:16, Peter Maydell wrote: 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 co

[PATCH 04/10] target/arm: Ignore PMCR.D when PMCR.LC is set

2022-08-11 Thread Peter Maydell
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. Sig