mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 22:23:23 -10:00
hw/riscv/virt.c: rename aplic nodename to 'interrupt-controller'
The correct name of the aplic controller node, as per Linux kernel DT
docs [1], is 'interrupt-controller@addr'.
[1] Documentation/devicetree/bindings/interrupt-controller/riscv,aplic.yaml
Reported-by: Conor Dooley <[email protected]>
Fixes: e6faee6585 ("hw/riscv: virt: Add optional AIA APLIC support to virt machine")
Signed-off-by: Daniel Henrique Barboza <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alistair Francis <[email protected]>
This commit is contained in:
1 parent
02dd57b3f9
commit
29390fdbc1
1 file changed
+1
-1
+1
-1
@@ -591,7 +591,7 @@ static void create_fdt_imsic(RISCVVirtState *s, const MemMapEntry *memmap,
|
||||
/* Caller must free string after use */
|
||||
static char *fdt_get_aplic_nodename(unsigned long aplic_addr)
|
||||
{
|
||||
return g_strdup_printf("/soc/aplic@%lx", aplic_addr);
|
||||
return g_strdup_printf("/soc/interrupt-controller@%lx", aplic_addr);
|
||||
}
|
||||
|
||||
static void create_fdt_one_aplic(RISCVVirtState *s, int socket,
|
||||
|
||||
Reference in new issue
Block a user