hw/intc/arm_gicv3_its: Don't clear GITS_CREADR when GITS_CTLR.ENABLED is set
commit1e794a3be1687a8561c7188a3d3fc26f525cf487
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 22 Jan 2022 18:24:34 +0000 (22 18:24 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 28 Jan 2022 14:29:47 +0000 (28 14:29 +0000)
tree410f0a4a3d97a43e486e3b8d0c9feece8d773a81
parente5ff041f62fd01154dc91f9ac43ac3498b4689e1
hw/intc/arm_gicv3_its: Don't clear GITS_CREADR when GITS_CTLR.ENABLED is set

The current ITS code clears GITS_CREADR when GITS_CTLR.ENABLED is set.
This is not correct -- guest code can validly clear ENABLED and then
set it again and expect the ITS to continue processing where it left
off. Remove the erroneous assignment.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220122182444.724087-5-peter.maydell@linaro.org
hw/intc/arm_gicv3_its.c