hw/riscv: Remove deprecated 'riscv, delegate' device-tree property
The "riscv,delegate" DT property was added in QEMU 7.0 as part of the AIA APLIC support. The property changed name during the review process in Linux and the correct name ended up being "riscv,delegation". The incorrect name was added as alias, and deprecated in v9.1 (commit 38facfa8432), so can be removed for v11.0. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Chao Liu <chao.liu.zevorn@gmail.com> Reviewed-by: Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com> Message-ID: <20260227232838.23392-1-philmd@linaro.org> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Philippe Mathieu-Daudé committed
Feb 28, 2026 at 00:28 UTC
f2af8f0d5d946da39f9129966a115747084045f1
3 files changed
+11
-20
docs/about/deprecated.rst
-11
@@ -481,17 +481,6 @@ versions, aliases will point to newer CPU model versions
481
depending on the machine type, so management software must
482
resolve CPU model aliases before starting a virtual machine.
483
484
-RISC-V "virt" board "riscv,delegate" DT property (since 9.1)
485
-''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
486
-
487
-The "riscv,delegate" DT property was added in QEMU 7.0 as part of
488
-the AIA APLIC support. The property changed name during the review
489
-process in Linux and the correct name ended up being
490
-"riscv,delegation". Changing the DT property name will break all
491
-available firmwares that are using the current (wrong) name. The
492
-property is kept as is in 9.1, together with "riscv,delegation", to
493
-give more time for firmware developers to change their code.
494
-
484
x86 "isapc" board use of modern x86 CPUs (since 10.2)
485
'''''''''''''''''''''''''''''''''''''''''''''''''''''
486
docs/about/removed-features.rst
+11
@@ -1239,6 +1239,17 @@ converting to using TCG plugins they should contact the qemu-devel
1239
mailing list.
1240
1241
1242
+Firmware, ACPI, Device Tree
1243
+---------------------------
1244
+
1245
+RISC-V "virt" board "riscv,delegate" DT property (removed in 11.0)
1246
+''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
1247
+
1248
+The "riscv,delegate" DT property was added in QEMU 7.0 as part of
1249
+the AIA APLIC support. The property changed name during the review
1250
+process in Linux and the correct name ended up being "riscv,delegation".
1251
+
1252
+
1253
System emulator devices
1254
-----------------------
1255
hw/riscv/virt.c
-9
@@ -666,15 +666,6 @@ static void create_fdt_one_aplic(RISCVVirtState *s, int socket,
666
qemu_fdt_setprop_cells(ms->fdt, aplic_name, "riscv,delegation",
667
aplic_child_phandle, 0x1,
668
VIRT_IRQCHIP_NUM_SOURCES);
669
- /*
670
- * DEPRECATED_9.1: Compat property kept temporarily
671
- * to allow old firmwares to work with AIA. Do *not*
672
- * use 'riscv,delegate' in new code: use
673
- * 'riscv,delegation' instead.
674
- */
675
- qemu_fdt_setprop_cells(ms->fdt, aplic_name, "riscv,delegate",
676
- aplic_child_phandle, 0x1,
677
- VIRT_IRQCHIP_NUM_SOURCES);
669
}
670
671
riscv_socket_fdt_write_id(ms, aplic_name, socket);