VT-d interrupt remapping but also (one day) AMD IOMMUs require us to
dimension related tables during setup. Introduce two parameters to the
config file, one set an upper limit of interrupts (all types) that the
system may have to control (for all cells) and another one for devices
in the system. The former will be used for VT-d, the latter should once
be helpful for AMD support, thus it can remain unset in Intel configs.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
__u64 dmar_unit_base[JAILHOUSE_MAX_DMAR_UNITS];
} x86;
} platform_info;
+ __u32 device_limit;
+ __u32 interrupt_limit;
struct jailhouse_cell_desc root_cell;
} __attribute__((packed));
},
% endif
},
+ .device_limit = 128,
+ .interrupt_limit = 256,
.root_cell = {
.name = "RootCell",
.cpu_set_size = sizeof(config.cpus),