> Subject: Re: [PATCH 07/10] cell-config: reserve an entry to align
> jailhouse_system
> 
> On 07.08.20 05:06, peng....@nxp.com wrote:
> > From: Peng Fan <peng....@nxp.com>
> >
> 
> Reason is missing.

Oops! The bootloader for jailhouse not have cache/mmu enabled,
so to ARM64, it is to align hypervisor_memory to 8 bytes aligned.
Otherwise there will be abort when access the u64 address in
hypervisor_memory.

Regards,
Peng.

> 
> Jan
> 
> > Signed-off-by: Peng Fan <peng....@nxp.com>
> > ---
> >  include/jailhouse/cell-config.h | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/include/jailhouse/cell-config.h
> > b/include/jailhouse/cell-config.h index 6df4a745..77a61da9 100644
> > --- a/include/jailhouse/cell-config.h
> > +++ b/include/jailhouse/cell-config.h
> > @@ -309,6 +309,7 @@ struct jailhouse_system {
> >     char signature[6];
> >     __u16 revision;
> >     __u32 flags;
> > +   __u32 reserved;
> >
> >     /** Jailhouse's location in memory */
> >     struct jailhouse_memory hypervisor_memory;
> >
> 
> --
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/AM5PR0402MB275689516FF334722382D71D88450%40AM5PR0402MB2756.eurprd04.prod.outlook.com.

Reply via email to