hw/intc/arm_gicv3_its: Don't clear GITS_CWRITER on writes to GITS_CBASER
commit0cc38f359cbb50dd4f182b4ad3b7f7a17b1a4721
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 22 Jan 2022 18:24:35 +0000 (22 18:24 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 28 Jan 2022 14:29:47 +0000 (28 14:29 +0000)
treef4ff6fc7d525f5e6b0fdb3c24df208e4381bf95f
parent1e794a3be1687a8561c7188a3d3fc26f525cf487
hw/intc/arm_gicv3_its: Don't clear GITS_CWRITER on writes to GITS_CBASER

The ITS specification says that when the guest writes to GITS_CBASER
this causes GITS_CREADR to be cleared.  However it does not have an
equivalent clause for GITS_CWRITER.  (This is because GITS_CREADR is
read-only, but GITS_CWRITER is writable and the guest can initialize
it.) Remove the code that clears GITS_CWRITER on GITS_CBASER writes.

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