diff options
author | Peter Maydell | 2022-02-01 20:32:06 +0100 |
---|---|---|
committer | Peter Maydell | 2022-02-08 11:56:29 +0100 |
commit | 333024140730c9294dafb4158e396faeb4b3f6fe (patch) | |
tree | 9d4afe0a6a21d9b42299d390b3e83983b8f95a10 /hw/sensor/dps310.c | |
parent | hw/intc/arm_gicv3_its: In MAPC with V=0, don't check rdbase field (diff) | |
download | qemu-333024140730c9294dafb4158e396faeb4b3f6fe.tar.gz qemu-333024140730c9294dafb4158e396faeb4b3f6fe.tar.xz qemu-333024140730c9294dafb4158e396faeb4b3f6fe.zip |
hw/intc/arm_gicv3_its: Don't allow intid 1023 in MAPI/MAPTI
When handling MAPI/MAPTI, we allow the supplied interrupt ID to be
either 1023 or something in the valid LPI range. This is a mistake:
only a real valid LPI is allowed. (The general behaviour of the ITS
is that most interrupt ID fields require a value in the LPI range;
the exception is that fields specifying a doorbell value, which are
all in GICv4 commands, allow also 1023 to mean "no doorbell".)
Remove the condition that incorrectly allows 1023 here.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220201193207.2771604-13-peter.maydell@linaro.org
Diffstat (limited to 'hw/sensor/dps310.c')
0 files changed, 0 insertions, 0 deletions