target/arm: Don't do raw writes for PMINTENCLR
commit887c0f1544991f567543b7c214aa11ab0cea0a29
authorAaron Lindsay <aaron@os.amperecomputing.com>
Mon, 13 Jul 2020 13:36:08 +0000 (13 14:36 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 13 Jul 2020 13:36:08 +0000 (13 14:36 +0100)
tree3dbe95ac6e4f5d3f7e9addbef89844a346f5f20f
parent1f7197deb0b33d858538df8e664d97d57be68e26
target/arm: Don't do raw writes for PMINTENCLR

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: Aaron Lindsay <aaron@os.amperecomputing.com>
Message-id: 20200707152616.1917154-1-aaron@os.amperecomputing.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c