Re: [PATCH v4] powerpc/32s: Fix DSI and ISI exceptions for CONFIG_VMAP_STACK

2020-02-19 Thread Michael Ellerman
On Sat, 2020-02-15 at 10:14:25 UTC, Christophe Leroy wrote: > hash_page() needs to read page tables from kernel memory. When entire > kernel memory is mapped by BATs, which is normally the case when > CONFIG_STRICT_KERNEL_RWX is not set, it works even if the page hosting > the page table is not ref

[PATCH v4] powerpc/32s: Fix DSI and ISI exceptions for CONFIG_VMAP_STACK

2020-02-15 Thread Christophe Leroy
hash_page() needs to read page tables from kernel memory. When entire kernel memory is mapped by BATs, which is normally the case when CONFIG_STRICT_KERNEL_RWX is not set, it works even if the page hosting the page table is not referenced in the MMU hash table. However, if the page where the page