[PATCH] target/arm: Don't do raw writes for PMINTENCLR

2020-07-07 Thread Aaron Lindsay
Raw writes to this register when in KVM mode can cause interrupts to be raised (even when the PMU is disabled). Because the underlying state is already aliased to PMINTENSET (which already provides raw write functions), we can safely disable raw accesses to PMINTENCLR entirely. Signed-off-by: Aaro

Re: [PATCH] target/arm: Don't do raw writes for PMINTENCLR

2020-07-09 Thread Peter Maydell
On Tue, 7 Jul 2020 at 16:26, Aaron Lindsay wrote: > > Raw writes to this register when in KVM mode can cause interrupts to be > raised (even when the PMU is disabled). Because the underlying state is > already aliased to PMINTENSET (which already provides raw write > functions), we can safely disa