With recent QEMU versions, the GICR grew:

$ cat /proc/iomem
08000000-0800ffff : GICD
080a0000-08ffffff : GICR
[...]

Hence, we can't place the virtual PCI controller at 0x08e00000 any
longer. It will collide with the GICR. Move the pci controller to an
empty spot: 0x81000000 provides enough space for the controller.

0x80000000 can't be used, as it is reserved for the commregion.

Note that pci_mmconfig_base must be within a 32-bit range at the
moment and can't be placed at a higher address.

Signed-off-by: Ralf Ramsauer <[email protected]>
---
 configs/arm64/qemu-arm64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/arm64/qemu-arm64.c b/configs/arm64/qemu-arm64.c
index bb3e079f..f4e5d378 100644
--- a/configs/arm64/qemu-arm64.c
+++ b/configs/arm64/qemu-arm64.c
@@ -40,7 +40,7 @@ struct {
                                  JAILHOUSE_CON_REGDIST_4,
                },
                .platform_info = {
-                       .pci_mmconfig_base = 0x08e00000,
+                       .pci_mmconfig_base = 0x81000000,
                        .pci_mmconfig_end_bus = 0,
                        .pci_is_virtual = 1,
                        .pci_domain = 1,
-- 
2.36.1

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/20220623212019.150691-1-ralf.ramsauer%40oth-regensburg.de.

Reply via email to