diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2022-04-08 15:15:47 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-04-22 14:44:53 +0100 |
commit | 445d5825dab3253f2d04d7e9749a06930f4a84d1 (patch) | |
tree | f052a2ee2eae1dc51b65b0fdfb0fbaa04bd3404c /gdb-xml | |
parent | e2d5e189aa51f7ab1891c17b3808fbac7c1ab6ef (diff) | |
download | qemu-445d5825dab3253f2d04d7e9749a06930f4a84d1.zip qemu-445d5825dab3253f2d04d7e9749a06930f4a84d1.tar.gz qemu-445d5825dab3253f2d04d7e9749a06930f4a84d1.tar.bz2 |
hw/intc/arm_gicv3: Allow 'revision' property to be set to 4
Now that we have implemented all the GICv4 requirements, relax the
error-checking on the GIC object's 'revision' property to allow a TCG
GIC to be a GICv4, whilst still constraining the KVM GIC to GICv3.
Our 'revision' property doesn't consider the possibility of wanting
to specify the minor version of the GIC -- for instance there is a
GICv3.1 which adds support for extended SPI and PPI ranges, among
other things, and also GICv4.1. But since the QOM property is
internal to QEMU, not user-facing, we can cross that bridge when we
come to it. Within the GIC implementation itself code generally
checks against the appropriate ID register feature bits, and the
only use of s->revision is for setting those ID register bits.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220408141550.1271295-39-peter.maydell@linaro.org
Diffstat (limited to 'gdb-xml')
0 files changed, 0 insertions, 0 deletions