Re: [PATCH] powerpc: don't select KFENCE on platform PPC_FSL_BOOK3E

2021-10-13 Thread Christophe Leroy
Le 13/10/2021 à 02:48, Michael Ellerman a écrit : Christophe Leroy writes: Le 12/10/2021 à 08:24, Michael Ellerman a écrit : Liu Shixin writes: kindly ping. I was under the impression you were trying to debug why it wasn't working with Christophe. The investigation was a bit dormant t

Re: [PATCH] powerpc: don't select KFENCE on platform PPC_FSL_BOOK3E

2021-10-12 Thread Michael Ellerman
Christophe Leroy writes: > Le 12/10/2021 à 08:24, Michael Ellerman a écrit : >> Liu Shixin writes: >>> kindly ping. >> >> I was under the impression you were trying to debug why it wasn't >> working with Christophe. > > The investigation was a bit dormant to be honest since Liu confirmed > that

Re: [PATCH] powerpc: don't select KFENCE on platform PPC_FSL_BOOK3E

2021-10-12 Thread Christophe Leroy
Le 12/10/2021 à 08:24, Michael Ellerman a écrit : Liu Shixin writes: kindly ping. I was under the impression you were trying to debug why it wasn't working with Christophe. The investigation was a bit dormant to be honest since Liu confirmed that neither KFENCE not DEBUG_PAGEALLOC works

Re: [PATCH] powerpc: don't select KFENCE on platform PPC_FSL_BOOK3E

2021-10-11 Thread Michael Ellerman
Liu Shixin writes: > kindly ping. I was under the impression you were trying to debug why it wasn't working with Christophe. cheers > On 2021/9/24 14:39, Liu Shixin wrote: >> On platform PPC_FSL_BOOK3E, all lowmem is managed by tlbcam. That means >> we didn't really map the kfence pool with pag

Re: [PATCH] powerpc: don't select KFENCE on platform PPC_FSL_BOOK3E

2021-10-11 Thread LEROY Christophe
Le 12/10/2021 à 03:43, Liu Shixin a écrit : > kindly ping. Hi Based on the discussion we had, this patch is not enough. It should at least also de-activate DEBUG_PAGEALLOC, However I'm looking at fixing it the other way round. Give me one week or two. Christophe > > > On 2021/9/24 14:39,

Re: [PATCH] powerpc: don't select KFENCE on platform PPC_FSL_BOOK3E

2021-10-11 Thread Liu Shixin
kindly ping. On 2021/9/24 14:39, Liu Shixin wrote: > On platform PPC_FSL_BOOK3E, all lowmem is managed by tlbcam. That means > we didn't really map the kfence pool with page granularity. Therefore, > if KFENCE is enabled, the system will hit the following panic: > > BUG: Kernel NULL pointer d

Re: [PATCH] powerpc: don't select KFENCE on platform PPC_FSL_BOOK3E

2021-09-27 Thread Liu Shixin
On 2021/9/24 14:41, Christophe Leroy wrote: > > > Le 24/09/2021 à 08:39, Liu Shixin a écrit : >> On platform PPC_FSL_BOOK3E, all lowmem is managed by tlbcam. That means >> we didn't really map the kfence pool with page granularity. Therefore, >> if KFENCE is enabled, the system will hit the followi

Re: [PATCH] powerpc: don't select KFENCE on platform PPC_FSL_BOOK3E

2021-09-24 Thread Liu Shixin
On 2021/9/24 14:41, Christophe Leroy wrote: > > > Le 24/09/2021 à 08:39, Liu Shixin a écrit : >> On platform PPC_FSL_BOOK3E, all lowmem is managed by tlbcam. That means >> we didn't really map the kfence pool with page granularity. Therefore, >> if KFENCE is enabled, the system will hit the foll

Re: [PATCH] powerpc: don't select KFENCE on platform PPC_FSL_BOOK3E

2021-09-23 Thread Christophe Leroy
Le 24/09/2021 à 08:39, Liu Shixin a écrit : On platform PPC_FSL_BOOK3E, all lowmem is managed by tlbcam. That means we didn't really map the kfence pool with page granularity. Therefore, if KFENCE is enabled, the system will hit the following panic: Could you please explain a bit more what t

[PATCH] powerpc: don't select KFENCE on platform PPC_FSL_BOOK3E

2021-09-23 Thread Liu Shixin
On platform PPC_FSL_BOOK3E, all lowmem is managed by tlbcam. That means we didn't really map the kfence pool with page granularity. Therefore, if KFENCE is enabled, the system will hit the following panic: BUG: Kernel NULL pointer dereference on read at 0x Faulting instruction addr