Re: [PATCH v5 10/10] powerpc/mm: Detect bad KUAP faults

2019-04-17 Thread Michael Ellerman
christophe leroy writes: > Le 08/03/2019 à 09:53, Christophe Leroy a écrit : >> Le 08/03/2019 à 02:16, Michael Ellerman a écrit : ... >>> diff --git a/arch/powerpc/include/asm/book3s/64/kup-radix.h >>> b/arch/powerpc/include/asm/book3s/64/kup-radix.h >>> index 3d60b04fc3f6..8d2ddc61e92e 100644

Re: [PATCH v5 10/10] powerpc/mm: Detect bad KUAP faults

2019-04-17 Thread Michael Ellerman
Christophe Leroy writes: > Le 08/03/2019 à 02:16, Michael Ellerman a écrit : >> When KUAP is enabled we have logic to detect page faults that occur >> outside of a valid user access region and are blocked by the AMR. >> >> What we don't have at the moment is logic to detect a fault *within* a >>

Re: [PATCH v5 10/10] powerpc/mm: Detect bad KUAP faults

2019-03-09 Thread christophe leroy
Le 08/03/2019 à 09:53, Christophe Leroy a écrit : Le 08/03/2019 à 02:16, Michael Ellerman a écrit : When KUAP is enabled we have logic to detect page faults that occur outside of a valid user access region and are blocked by the AMR. What we don't have at the moment is logic to detect a

Re: [PATCH v5 10/10] powerpc/mm: Detect bad KUAP faults

2019-03-08 Thread Christophe Leroy
Le 08/03/2019 à 02:16, Michael Ellerman a écrit : When KUAP is enabled we have logic to detect page faults that occur outside of a valid user access region and are blocked by the AMR. What we don't have at the moment is logic to detect a fault *within* a valid user access region, that has