From: Jan Kiszka <[email protected]>

This only lists the SDIO interfaces for now - more isn't working with
mainline so far.

Signed-off-by: Jan Kiszka <[email protected]>
---
 configs/arm64/ultra96.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/configs/arm64/ultra96.c b/configs/arm64/ultra96.c
index f917dc34..db65ae01 100644
--- a/configs/arm64/ultra96.c
+++ b/configs/arm64/ultra96.c
@@ -21,6 +21,7 @@ struct {
        struct jailhouse_memory mem_regions[11];
        struct jailhouse_irqchip irqchips[1];
        struct jailhouse_pci_device pci_devices[2];
+       __u32 stream_ids[2];
 } __attribute__((packed)) config = {
        .header = {
                .signature = JAILHOUSE_SYSTEM_SIGNATURE,
@@ -41,6 +42,15 @@ struct {
                        .pci_mmconfig_base = 0xfc000000,
                        .pci_mmconfig_end_bus = 0,
                        .pci_is_virtual = 1,
+
+                       .iommu_units = {
+                               {
+                                       .type = JAILHOUSE_IOMMU_ARM_MMU500,
+                                       .base = 0xfd800000,
+                                       .size = 0x20000,
+                               },
+                       },
+
                        .arm = {
                                .gic_version = 2,
                                .gicd_base = 0xf9010000,
@@ -57,6 +67,7 @@ struct {
                        .num_memory_regions = ARRAY_SIZE(config.mem_regions),
                        .num_irqchips = ARRAY_SIZE(config.irqchips),
                        .num_pci_devices = ARRAY_SIZE(config.pci_devices),
+                       .num_stream_ids = ARRAY_SIZE(config.stream_ids),
 
                        .vpci_irq_base = 136-32,
                },
@@ -148,4 +159,8 @@ struct {
                        .shmem_protocol = JAILHOUSE_SHMEM_PROTO_VETH,
                },
        },
+
+       .stream_ids = {
+               0x870, 0x871
+       },
 };
-- 
2.26.2

-- 
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/f0c7800586d10a1d53b6cbc5dd515404d4a8994c.1601838005.git.jan.kiszka%40siemens.com.

Reply via email to