diff options
author | Bin Meng <bmeng@tinylab.org> | 2022-12-11 11:08:26 +0800 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2023-01-06 10:42:55 +1000 |
commit | 59f74489cf3264035668b4724d4a868ebc6d277c (patch) | |
tree | 28ce5d3257739fae98916cabe866612b12242642 /hw/intc | |
parent | 724d80c8a6a9febc5ebdc8c531c34239897f2572 (diff) | |
download | qemu-59f74489cf3264035668b4724d4a868ebc6d277c.zip qemu-59f74489cf3264035668b4724d4a868ebc6d277c.tar.gz qemu-59f74489cf3264035668b4724d4a868ebc6d277c.tar.bz2 |
hw/riscv: virt: Fix the value of "riscv, ndev" in the dtb
Commit 28d8c281200f ("hw/riscv: virt: Add optional AIA IMSIC support to virt machine")
changed the value of VIRT_IRQCHIP_NUM_SOURCES from 127 to 53, which
is VIRTIO_NDEV and also used as the value of "riscv,ndev" property
in the dtb. Unfortunately this is wrong as VIRT_IRQCHIP_NUM_SOURCES
should include interrupt source 0 but "riscv,ndev" does not.
While we are here, we also fix the comments of platform bus irq range
which is now "64 to 96", but should be "64 to 95", introduced since
commit 1832b7cb3f64 ("hw/riscv: virt: Create a platform bus").
Fixes: 28d8c281200f ("hw/riscv: virt: Add optional AIA IMSIC support to virt machine")
Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20221211030829.802437-13-bmeng@tinylab.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/intc')
0 files changed, 0 insertions, 0 deletions