Re: [PATCH] powerpc/kasan: Fix early region not updated correctly

2022-02-14 Thread Michael Ellerman
On Wed, 29 Dec 2021 11:52:26 +0800, Chen Jingwen wrote: > The shadow's page table is not updated when PTE_RPN_SHIFT is 24 > and PAGE_SHIFT is 12. It not only causes false positives but > also false negative as shown the following text. > > Fix it by bringing the logic of kasan_early_shadow_page_en

Re: [PATCH] powerpc/kasan: Fix early region not updated correctly

2022-02-01 Thread Christophe Leroy
Le 29/12/2021 à 04:52, Chen Jingwen a écrit : > The shadow's page table is not updated when PTE_RPN_SHIFT is 24 > and PAGE_SHIFT is 12. It not only causes false positives but > also false negative as shown the following text. > > Fix it by bringing the logic of kasan_early_shadow_page_entry here