Hi Jan,

Concerning your inputs I still have some questions that I would like to 
clarify with you.

Both your cells, root and non-root, access the ICC at 0x1c20000 here. I 
> don't 
> recall the nature of this resource anymore, maybe it can be split at 
> register 
> boundaries. If so, define smaller sub-page regions in the root cell and 
> had the 
> subset of them out for exclusive use by the non-root cell. 
>

> Currently, you revoke access to the region at 0x1c20000 from the root cell 
> when 
> creating the non-root cell. 
>

The configuration files for both gic-demo and bananapi (from wip/ivshmem2 
jailhouse's branch and queues/jailhouse-ivshmem2) are similar to the ones I 
was experimenting with in kernel 4.13.0 (from master jailhouse's branch). 
However, now I'm getting all the unhandled traps (i.e., Unhandled data read 
at 0x1c20060(4)). Could you please explain me how gic-demo was working 
before with that kernel and not now (with queues/jailhouse-ivshmem2 from 
http://git.kiszka.org/linux.git/), when for instance the address for CCU 
was the same in both cells? For instance, in the configuration files of 
both cells, CCU was set like this:

/* CCU */ {
            .phys_start = 0x01c20000,
            .virt_start = 0x01c20000,
            .size = 0x400,
            .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
                JAILHOUSE_MEM_IO | JAILHOUSE_MEM_IO_32,
        },

Moreover, I followed your advice and tried to split the address 0x1c20000 
at register boundaries. However, I might be doing something wrong as I'm 
still getting unhandled traps. Could you please provide me with an example 
for this particular problem. BTW, is it possible to use addresses that are 
not listed in /proc/iomem for entries in config files for cells, i.e., that 
are not assigned to memory mapped devices?


-- 
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/729af1ca-261c-4f43-86a5-4582753cd864%40googlegroups.com.

Reply via email to