Re: [Xen-devel] [PATCH 17/17] xen/arm64: Zero BSS after the MMU and D-cache is turned on

2019-06-27 Thread Julien Grall
Hi Stefano, On 26/06/2019 22:08, Stefano Stabellini wrote: On Wed, 26 Jun 2019, Julien Grall wrote: Hi Stefano, On 6/26/19 8:29 PM, Stefano Stabellini wrote: On Mon, 10 Jun 2019, Julien Grall wrote: At the moment BSS is zeroed before the MMU and D-Cache is turned on. In other words, the

Re: [Xen-devel] [PATCH 17/17] xen/arm64: Zero BSS after the MMU and D-cache is turned on

2019-06-26 Thread Stefano Stabellini
On Wed, 26 Jun 2019, Julien Grall wrote: > Hi Stefano, > > On 6/26/19 8:29 PM, Stefano Stabellini wrote: > > On Mon, 10 Jun 2019, Julien Grall wrote: > > > At the moment BSS is zeroed before the MMU and D-Cache is turned on. > > > In other words, the cache will be bypassed when zeroing the BSS

Re: [Xen-devel] [PATCH 17/17] xen/arm64: Zero BSS after the MMU and D-cache is turned on

2019-06-26 Thread Julien Grall
Hi Stefano, On 6/26/19 8:29 PM, Stefano Stabellini wrote: On Mon, 10 Jun 2019, Julien Grall wrote: At the moment BSS is zeroed before the MMU and D-Cache is turned on. In other words, the cache will be bypassed when zeroing the BSS section. Per the Image protocol [1], the state of the cache

Re: [Xen-devel] [PATCH 17/17] xen/arm64: Zero BSS after the MMU and D-cache is turned on

2019-06-26 Thread Stefano Stabellini
On Mon, 10 Jun 2019, Julien Grall wrote: > At the moment BSS is zeroed before the MMU and D-Cache is turned on. > In other words, the cache will be bypassed when zeroing the BSS section. > > Per the Image protocol [1], the state of the cache for BSS region is not > known because it is not part of

[Xen-devel] [PATCH 17/17] xen/arm64: Zero BSS after the MMU and D-cache is turned on

2019-06-10 Thread Julien Grall
At the moment BSS is zeroed before the MMU and D-Cache is turned on. In other words, the cache will be bypassed when zeroing the BSS section. Per the Image protocol [1], the state of the cache for BSS region is not known because it is not part of the "loaded kernel image". This means that the