hw/riscv/virt-acpi-build.c: Add namespace devices for PLIC and APLIC
authorSunil V L <sunilvl@ventanamicro.com>
Tue, 16 Jul 2024 14:42:58 +0000 (20:12 +0530)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 23 Jul 2024 00:15:42 +0000 (20:15 -0400)
commita54dd0cd6b9119c44d52547f51a529122f0ec1f1
tree31a184785e8bb873ed3f27a3afeea8443c8c069d
parent6c027a9de3fae3b8a3a4868e17c7a28ba5372463
hw/riscv/virt-acpi-build.c: Add namespace devices for PLIC and APLIC

As per the requirement ACPI_080 in the RISC-V Boot and Runtime Services
(BRS) specification [1],  PLIC and APLIC should be in namespace as well.
So, add them using the defined HID.

[1] - https://github.com/riscv-non-isa/riscv-brs/releases/download/v0.0.2/riscv-brs-spec.pdf
      (Chapter 6)

Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20240716144306.2432257-2-sunilvl@ventanamicro.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/riscv/virt-acpi-build.c