qemu/hw/riscv
Sunil V L d2a88aca76 hw/riscv/virt: Add the BDF of IOMMU to RISCVVirtState structure
When the IOMMU is implemented as a PCI device, its BDF is created
locally in virt.c. However, the same BDF is also required in
virt-acpi-build.c to support ACPI. Therefore, make this information part
of the global RISCVVirtState structure so that it can be accessed
outside of virt.c as well.

Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-ID: <20250322043139.2003479-2-sunilvl@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2025-05-19 11:07:13 +10:00
..
boot.c hw: Centralize handling of -machine dumpdtb option 2025-02-24 15:03:42 +00:00
Kconfig hw/riscv: Add Microblaze V generic board 2024-12-20 11:22:47 +10:00
meson.build hw/riscv/riscv-iommu: add riscv-iommu-hpm file 2025-03-04 15:42:54 +10:00
microblaze-v-generic.c include/system: Move exec/address-spaces.h to system/address-spaces.h 2025-04-23 14:08:21 -07:00
microchip_pfsoc.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
numa.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
opentitan.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
riscv-iommu-bits.h hw/riscv/riscv-iommu: Fix process directory table walk 2025-03-19 16:35:58 +10:00
riscv-iommu-hpm.c hw/riscv: add IOMMU HPM trace events 2025-03-04 15:42:54 +10:00
riscv-iommu-hpm.h hw/riscv/riscv-iommu: add hpm events mmio write 2025-03-04 15:42:54 +10:00
riscv-iommu-pci.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
riscv-iommu-sys.c include: Remove 'exec/exec-all.h' 2025-04-30 12:45:05 -07:00
riscv-iommu.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
riscv-iommu.h hw/riscv/riscv-iommu: add hpm events mmio write 2025-03-04 15:42:54 +10:00
riscv_hart.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
shakti_c.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
sifive_e.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
sifive_u.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
spike.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
trace-events hw/riscv: add IOMMU HPM trace events 2025-03-04 15:42:54 +10:00
trace.h hw/riscv: add RISC-V IOMMU base emulation 2024-10-31 13:51:24 +10:00
virt-acpi-build.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
virt.c hw/riscv/virt: Add the BDF of IOMMU to RISCVVirtState structure 2025-05-19 11:07:13 +10:00