From: Antonios Motakis <[email protected]> The current design for cell configuration files, defines the SPIs to be passed to a cell as 64 bit bitmap. In order to use Jailhouse on targets that have SPI ids larger than 64, we need to work around this limitation.
Pass large SPIs to the root cell for now. A permanent solution to this problem will need to tackle the cell configuration format. Signed-off-by: Antonios Motakis <[email protected]> --- hypervisor/arch/arm/irqchip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypervisor/arch/arm/irqchip.c b/hypervisor/arch/arm/irqchip.c index 0b1193c..d14de0a 100644 --- a/hypervisor/arch/arm/irqchip.c +++ b/hypervisor/arch/arm/irqchip.c @@ -41,7 +41,7 @@ bool spi_in_cell(struct cell *cell, unsigned int spi) u32 spi_mask; if (spi >= 64) - return false; + return (cell == &root_cell); else if (spi >= 32) spi_mask = cell->arch.spis >> 32; else -- 2.8.0.rc3 -- 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]. For more options, visit https://groups.google.com/d/optout.
