OSDN Git Service

hw/intc/arm_gicv3_its: Fix return codes in process_its_cmd()
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 11 Jan 2022 17:10:41 +0000 (17:10 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Jan 2022 16:04:58 +0000 (16:04 +0000)
commit593a7cc2d38544040ed79c28b3b027420ec84c40
treeee5a0e003d8d4602cc488be40d8fdf13af1edc39
parentef011555da8bcabd74ebd79f6a4e1c2ec763efd0
hw/intc/arm_gicv3_its: Fix return codes in process_its_cmd()

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