On 29.05.22 16:44, Lad, Prabhakar wrote:
> Thanks, after updating gicv_base to 0xf106f000 I get an "forbidden
> access" error, looking at the address it belongs to ethernet
> "e6800304" and this is configured in the memory regions
>
>         /* AVB */ {
>             .phys_start = 0xe6800000,
>             .virt_start = 0xe6800000,
>             .size = 0x800,

This turns the region into a so-called sub-page (see
JAILHOUSE_MEMORY_IS_SUBPAGE), and then...

>             .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
>                 JAILHOUSE_MEM_IO,

...you also need to specify the permitted access width for registers in
that sub-page (JAILHOUSE_MEM_IO_{8,16,32,64}). If unaligned accesses are
ok (unlikely), also set JAILHOUSE_MEM_IO_UNALIGNED.

Jan

-- 
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/3ed840dd-2aa5-b578-617b-cad9e8fd6667%40web.de.

Reply via email to