From: Kishon Vijay Abraham I <[email protected]> Define the jailhouse_memory region for GIC ITS so that PCIe master (RC mode) can write to GIC ITS for raising MSI/MSI-X interrupt.
This fixes the crash when GIC ITS is being used by root cell. Signed-off-by: Kishon Vijay Abraham I <[email protected]> Signed-off-by: Nikhil Devshatwar <[email protected]> --- configs/arm64/k3-j721e-evm.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/configs/arm64/k3-j721e-evm.c b/configs/arm64/k3-j721e-evm.c index 2b67ac8e..578caf02 100644 --- a/configs/arm64/k3-j721e-evm.c +++ b/configs/arm64/k3-j721e-evm.c @@ -19,7 +19,7 @@ struct { struct jailhouse_system header; __u64 cpus[1]; - struct jailhouse_memory mem_regions[38]; + struct jailhouse_memory mem_regions[39]; struct jailhouse_irqchip irqchips[6]; struct jailhouse_pci_device pci_devices[1]; __u32 stream_ids[30]; @@ -328,6 +328,13 @@ struct { JAILHOUSE_MEM_EXECUTE | JAILHOUSE_MEM_DMA | JAILHOUSE_MEM_LOADABLE, }, + /* GIC ITS Region */ { + .phys_start = 0x1000000, + .virt_start = 0x1000000, + .size = 0x400000, + .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE | + JAILHOUSE_MEM_DMA, + }, /* RAM - reserved for ivshmem and baremetal apps */ { .phys_start = 0x89fe00000, .virt_start = 0x89fe00000, -- 2.17.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/20200527122358.14723-5-nikhil.nd%40ti.com.
