Hi Jan,

On Sun, May 29, 2022 at 4:01 PM Jan Kiszka <[email protected]> wrote:
>
> 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.
>
Thanks for the pointer and indeed that did the trick!

And finally we have the root cell working, thanks for your continuous support.

root@hihope-rzg2m:~#
root@hihope-rzg2m:~# jailhouse enable renesas-r8a774a1.cell
[   20.170330] entering.

Initializing Jailhouse hypervisor v0.12 (319-g56e70e09-dirty) on CPU 2
Code location: 0x0000ffffc0200800
Page pool usage after early setup: mem 53/4063, remap 0/131072
Initializing processors:
 CPU 2... OK
 CPU 1... OK
 CPU 0... OK
 CPU 5... OK
 CPU 3... OK
 CPU 4... OK
Initializing unit: irqchip
Initializing unit: ARM SMMU v3
Initializing unit: ARM SMMU
Initializing unit: PVU IOMMU
Initializing unit: PCI
Page pool usage after late setup: mem 82/4063, remap 5/131072
Activating hypervisor
[   20.219018] exitt.
[   20.222135] The Jailhouse is opening.
root@hihope-rzg2m:~#
root@hihope-rzg2m:~#

Have a good weekend! I shall start work on the inmate cell from
tomorrow. Hopefully there won't be any issues, fingers crossed.

Cheers,
Prabhakar

-- 
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/CA%2BV-a8vQjdVghdJkcz_O9dOtqKFkndDxk5tY-5Z-ZaxQH-YD8g%40mail.gmail.com.

Reply via email to