On 11.10.18 16:14, Vladimir Neyelov wrote:
Hi Jan,

        .mem_regions = {
                  {
                     .phys_start = 0x80008000,
                     .virt_start = 0x80008000,
                     .size = 0x34DD000,
                     .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
                                JAILHOUSE_MEM_IO,

This grants the root cell direct access to the GIC - not good...

Do you mean - remove gic registers from memory regions ?

Yes. Those need to be handled by the hypervisor. That one is already ensuring the that GICC is mapped for the guest (to the GICV), but the GICD requires trapping. And GICH is surely no guest business.

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 jailhouse-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to