On 2018-04-18 21:52, Giovani Gracioli wrote:
> Thanks Jan.
> 
> It is working now. the irqchip in the non-root cell was missing.

Good to hear!

> 
> I added the following to the non-root cell:
> 
> struct jailhouse_irqchip irqchips[1];
> ...
> .vpci_irq_base = 140-32
> ...
> 
> .irqchips = {
>               /* GIC */ {
>                       .address = 0xf9010000,
>                       .pin_base = 32,
>                       .pin_bitmap = {
>                               1 << (54 - 32),
>                               0,
>                               0,
>                               (1 << (140 - 128)) | (1 << (142 - 128))
>                       },
>               },
>       },

Yeah, configuration is nasty, many things have to be correct at the same
time. That's why I pointed to the Linux demos as reference. Still, we
need better tooling here.

> 
> I attached here both configurations for those that want to use ivhsmem 
> interrupts in arm64. I would be happy to help to incorporate this working 
> demo into the master branch.

Would be very welcome! Start with crafting a patch series and posting it
for review.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

-- 
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.

Reply via email to