hw/riscv/virt-acpi-build.c: Add PLIC in MADT
commitd641da6ed431f497b763a6e6bf30e0b4dc00e0d9
authorSunil V L <sunilvl@ventanamicro.com>
Mon, 18 Dec 2023 15:02:47 +0000 (18 20:32 +0530)
committerAlistair Francis <alistair.francis@wdc.com>
Wed, 10 Jan 2024 08:47:47 +0000 (10 18:47 +1000)
treee4855adb5ee948771afa6371c5c89a50300a3a58
parent55ecd83b3697d0e4002c1dfde3265ebe6fa887cc
hw/riscv/virt-acpi-build.c: Add PLIC in MADT

Add PLIC structures for each socket in the MADT when system is
configured with PLIC as the external interrupt controller.

Signed-off-by: Haibo Xu <haibo1.xu@intel.com>
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20231218150247.466427-14-sunilvl@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
hw/riscv/virt-acpi-build.c