Attention is currently required from: Alper Nebi Yasak.
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/80376?usp=email )
Change subject: drivers/qemu/bochs: Allow building for non-x86 architectures ......................................................................
Patch Set 1:
(1 comment)
File src/drivers/emulation/qemu/bochs.c:
https://review.coreboot.org/c/coreboot/+/80376/comment/993ad437_e7684da6 : PS1, Line 52: #if CONFIG(CPU_QEMU_X86) I saw on your qemu riscv PCI code that you add IO resources to the PCI domain. In qemu I see that reading and writing to VIRT_PCIE_PIO should be translated to IO read/writes, so it should work with implementations of outx/inx that do mmio writes to that region.
Anyway it would be a good idea to throw errors instead of silently doing nothing on the IO path.