]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/intc/arm_gicv3_its: Fix return codes in process_mapc()
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 11 Jan 2022 17:10:44 +0000 (17:10 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Jan 2022 16:04:58 +0000 (16:04 +0000)
commitf66751961468813ba6a13de1510c448769b6979a
treec9901cbb903f539717d4c650d27db0d309c44b72
parent0241f7316073f5e66b560195c36e719e369947d0
hw/intc/arm_gicv3_its: Fix return codes in process_mapc()

Fix process_mapc() to consistently return CMD_STALL for memory
errors and CMD_CONTINUE for parameter errors, as we claim in the
comments that we do.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220111171048.3545974-10-peter.maydell@linaro.org
hw/intc/arm_gicv3_its.c