]> git.proxmox.com Git - mirror_qemu.git/commit
hw/intc/arm_gicv3_its: Fix return codes in process_mapd()
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 11 Jan 2022 17:10:45 +0000 (17:10 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Jan 2022 16:04:58 +0000 (16:04 +0000)
commit00d46e72e97ddb5651f62b6eead658a431c58bc6
tree3db20a9180d266927b0730d2bb8bf8d58dc47cc6
parentf66751961468813ba6a13de1510c448769b6979a
hw/intc/arm_gicv3_its: Fix return codes in process_mapd()

Fix process_mapd() 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-11-peter.maydell@linaro.org
hw/intc/arm_gicv3_its.c