Permalink
Browse files

configs: zynqmp-zcu102: Add physical PCI host controller

This allows access to the mmconfig space of the physical PCI bus.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
  • Loading branch information...
jan-kiszka committed Sep 22, 2018
1 parent fd081e8 commit 2fd277e591eceb586433200a98cf8ff62fead047
Showing with 8 additions and 1 deletion.
  1. +8 −1 configs/arm64/zynqmp-zcu102.c
@@ -22,7 +22,7 @@
struct {
struct jailhouse_system header;
__u64 cpus[1];
struct jailhouse_memory mem_regions[5];
struct jailhouse_memory mem_regions[6];
struct jailhouse_irqchip irqchips[1];
struct jailhouse_pci_device pci_devices[2];
} __attribute__((packed)) config = {
@@ -105,6 +105,13 @@ struct {
.size = 0x100000,
.flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE,
},
/* PCI host bridge */ {
.phys_start = 0x8000000000,
.virt_start = 0x8000000000,
.size = 0x1000000,
.flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
JAILHOUSE_MEM_IO,
},
},
.irqchips = {

0 comments on commit 2fd277e

Please sign in to comment.