Re: [PATCH] powerpc/32: disable KASAN with pages bigger than 16k

2020-06-08 Thread Michael Ellerman
On Thu, 28 May 2020 10:17:04 + (UTC), Christophe Leroy wrote: > Mapping of early shadow area is implemented by using a single static > page table having all entries pointing to the same early shadow page. > The shadow area must therefore occupy full PGD entries. > > The shadow area has a size

Re: [PATCH] powerpc/32: disable KASAN with pages bigger than 16k

2020-06-02 Thread Michael Ellerman
Christophe Leroy writes: > Le 28/05/2020 à 12:17, Christophe Leroy a écrit : >> Mapping of early shadow area is implemented by using a single static >> page table having all entries pointing to the same early shadow page. >> The shadow area must therefore occupy full PGD entries. >> >> The shadow

Re: [PATCH] powerpc/32: disable KASAN with pages bigger than 16k

2020-05-30 Thread Christophe Leroy
Le 28/05/2020 à 12:17, Christophe Leroy a écrit : Mapping of early shadow area is implemented by using a single static page table having all entries pointing to the same early shadow page. The shadow area must therefore occupy full PGD entries. The shadow area has a size of 128Mbytes starting

[PATCH] powerpc/32: disable KASAN with pages bigger than 16k

2020-05-28 Thread Christophe Leroy
Mapping of early shadow area is implemented by using a single static page table having all entries pointing to the same early shadow page. The shadow area must therefore occupy full PGD entries. The shadow area has a size of 128Mbytes starting at 0xf800. With 4k pages, a PGD entry is 4Mbytes W