hw/intc/arm_gicv3_its: Distinguish success and error cases of CMD_CONTINUE
commit93f4fdcd4d98c0de8e056e08016bce7d71a91100
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 8 Apr 2022 14:15:19 +0000 (8 15:15 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 22 Apr 2022 08:24:43 +0000 (22 09:24 +0100)
tree2e1dbce5463b6ccab566b2296f3a29c78a4f38f3
parent0cdf7a5dc8d4e49b19d91219dc3e3cc65d6d8c60
hw/intc/arm_gicv3_its: Distinguish success and error cases of CMD_CONTINUE

In the ItsCmdResult enum, we currently distinguish only CMD_STALL
(failure, stall processing of the command queue) and CMD_CONTINUE
(keep processing the queue), and we use the latter both for "there
was a parameter error, go on to the next command" and "the command
succeeded, go on to the next command".  Sometimes we would like to
distinguish those two cases, so add CMD_CONTINUE_OK to the enum to
represent the success situation, and use it in the relevant places.

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