aboutsummaryrefslogtreecommitdiff
path: root/hw/misc
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <dbarboza@ventanamicro.com>2024-07-15 06:04:55 -0300
committerAlistair Francis <alistair.francis@wdc.com>2024-07-18 12:08:45 +1000
commit38facfa84328e4ee5a80f7082a01e10c768ee50a (patch)
tree3ebabe957099eb9f483b0656f814e7a40635147f /hw/misc
parent38c83e8d3a333b8b377367756a2b6c700c7d0084 (diff)
downloadqemu-38facfa84328e4ee5a80f7082a01e10c768ee50a.zip
qemu-38facfa84328e4ee5a80f7082a01e10c768ee50a.tar.gz
qemu-38facfa84328e4ee5a80f7082a01e10c768ee50a.tar.bz2
hw/riscv/virt.c: re-insert and deprecate 'riscv,delegate'
Commit b1f1e9dcfa renamed 'riscv,delegate' to 'riscv,delegation' since it is the correct name as per dt-bindings, and the absence of the correct name will result in validation fails when dumping the dtb and using dt-validate. But this change has a side-effect: every other firmware available that is AIA capable is using 'riscv,delegate', and it will fault/misbehave if this property isn't present. The property was added back in QEMU 7.0, meaning we have 2 years of firmware development using the wrong property. Re-introducing 'riscv,delegate' while keeping 'riscv,delegation' allows older firmwares to keep booting with the 'virt' machine. 'riscv,delegate' is then marked for future deprecation with its use being discouraged from now on. Cc: Conor Dooley <conor@kernel.org> Cc: Anup Patel <apatel@ventanamicro.com> Fixes: b1f1e9dcfa ("hw/riscv/virt.c: aplic DT: rename prop to 'riscv, delegation'") Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-ID: <20240715090455.145888-1-dbarboza@ventanamicro.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/misc')
0 files changed, 0 insertions, 0 deletions