Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-02-20 Thread Christophe Leroy
Le 20/02/2019 à 14:23, Michael Ellerman a écrit : Christophe Leroy writes: Le 15/01/2019 à 11:22, Michael Ellerman a écrit : Christophe Leroy writes: Le 15/01/2019 à 01:33, Jonathan Neuschäfer a écrit : ... - patches 7 to 11 fail to build with this error (really a warning, but

Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-02-20 Thread Michael Ellerman
Christophe Leroy writes: > Le 15/01/2019 à 11:22, Michael Ellerman a écrit : >> Christophe Leroy writes: >>> Le 15/01/2019 à 01:33, Jonathan Neuschäfer a écrit : >> ... - patches 7 to 11 fail to build with this error (really a warning, but arch/powerpc doesn't allow warnings

Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-01-17 Thread Christophe Leroy
Le 17/01/2019 à 00:48, Jonathan Neuschäfer a écrit : On Wed, Jan 16, 2019 at 02:34:53PM +0100, Christophe Leroy wrote: Le 16/01/2019 à 14:16, Jonathan Neuschäfer a écrit : On Wed, Jan 16, 2019 at 07:55:29AM +0100, Christophe Leroy wrote: Le 16/01/2019 à 01:35, Jonathan Neuschäfer a écrit :

Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-01-16 Thread Jonathan Neuschäfer
On Wed, Jan 16, 2019 at 02:34:53PM +0100, Christophe Leroy wrote: > Le 16/01/2019 à 14:16, Jonathan Neuschäfer a écrit : > > On Wed, Jan 16, 2019 at 07:55:29AM +0100, Christophe Leroy wrote: > > > Le 16/01/2019 à 01:35, Jonathan Neuschäfer a écrit : > > > > Thinning the kernel down a bit actually

Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-01-16 Thread Christophe Leroy
Le 16/01/2019 à 14:16, Jonathan Neuschäfer a écrit : On Wed, Jan 16, 2019 at 07:55:29AM +0100, Christophe Leroy wrote: Le 16/01/2019 à 01:35, Jonathan Neuschäfer a écrit : Thinning the kernel down a bit actually makes it boot again. Ooops...! Maybe enabling CONFIG_STRICT_KERNEL_RWX has made

Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-01-16 Thread Jonathan Neuschäfer
On Wed, Jan 16, 2019 at 07:55:29AM +0100, Christophe Leroy wrote: > Le 16/01/2019 à 01:35, Jonathan Neuschäfer a écrit : > > Thinning the kernel down a bit actually makes it boot again. Ooops...! > > Maybe enabling CONFIG_STRICT_KERNEL_RWX has made it just large enough to > > fail the hash table

Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-01-15 Thread Christophe Leroy
Le 16/01/2019 à 01:35, Jonathan Neuschäfer a écrit : On Tue, Jan 15, 2019 at 07:51:01AM +0100, Christophe Leroy wrote: Le 15/01/2019 à 01:33, Jonathan Neuschäfer a écrit : [...] I've checked it patch-by-patch now (with STRICT_KERNEL_RWX): - patches 1 and 2 build and boot fine - patches 3

Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-01-15 Thread Jonathan Neuschäfer
On Tue, Jan 15, 2019 at 07:51:01AM +0100, Christophe Leroy wrote: > Le 15/01/2019 à 01:33, Jonathan Neuschäfer a écrit : [...] > > I've checked it patch-by-patch now (with STRICT_KERNEL_RWX): > > > > - patches 1 and 2 build and boot fine > > - patches 3 to 6 build, but fail to boot with this

Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-01-15 Thread Christophe Leroy
Le 15/01/2019 à 11:22, Michael Ellerman a écrit : Christophe Leroy writes: Le 15/01/2019 à 01:33, Jonathan Neuschäfer a écrit : ... - patches 7 to 11 fail to build with this error (really a warning, but arch/powerpc doesn't allow warnings by default): CC

Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-01-15 Thread Michael Ellerman
Christophe Leroy writes: > Le 15/01/2019 à 01:33, Jonathan Neuschäfer a écrit : ... >> >> - patches 7 to 11 fail to build with this error (really a warning, but >>arch/powerpc doesn't allow warnings by default): >> >>CC arch/powerpc/mm/ppc_mmu_32.o >>

Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-01-14 Thread Christophe Leroy
Le 15/01/2019 à 01:33, Jonathan Neuschäfer a écrit : On Mon, Jan 14, 2019 at 07:23:07PM +0100, Christophe Leroy wrote: Le 13/01/2019 à 22:02, Jonathan Neuschäfer a écrit : On Sun, Jan 13, 2019 at 08:43:07PM +0100, Christophe Leroy wrote: Le 13/01/2019 à 19:16, Jonathan Neuschäfer a écrit 

Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-01-14 Thread Jonathan Neuschäfer
On Mon, Jan 14, 2019 at 07:23:07PM +0100, Christophe Leroy wrote: > > > Le 13/01/2019 à 22:02, Jonathan Neuschäfer a écrit : > > On Sun, Jan 13, 2019 at 08:43:07PM +0100, Christophe Leroy wrote: > > > Le 13/01/2019 à 19:16, Jonathan Neuschäfer a écrit : > > > > I just tested the whole series on

Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-01-14 Thread Christophe Leroy
Le 13/01/2019 à 22:02, Jonathan Neuschäfer a écrit : On Sun, Jan 13, 2019 at 08:43:07PM +0100, Christophe Leroy wrote: Le 13/01/2019 à 19:16, Jonathan Neuschäfer a écrit : I just tested the whole series on my Wii (I didn't test any intermediate steps). Without CONFIG_STRICT_KERNEL_RWX, it

Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-01-13 Thread Jonathan Neuschäfer
On Sun, Jan 13, 2019 at 08:43:07PM +0100, Christophe Leroy wrote: > Le 13/01/2019 à 19:16, Jonathan Neuschäfer a écrit : > > I just tested the whole series on my Wii (I didn't test any intermediate > > steps). Without CONFIG_STRICT_KERNEL_RWX, it seems to work fine, but > > with it, I get the

Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-01-13 Thread Christophe Leroy
Le 13/01/2019 à 19:16, Jonathan Neuschäfer a écrit : On Thu, Jan 10, 2019 at 03:11:38PM +, Christophe Leroy wrote: The purpose of this serie is to: - use BATs with STRICT_KERNEL_RWX on book3s (See patch 12 for details.) - use LTLBs with STRICT_KERNEL_RWX on 8xx (See patch 14 for a few

Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-01-13 Thread Jonathan Neuschäfer
On Thu, Jan 10, 2019 at 03:11:38PM +, Christophe Leroy wrote: > The purpose of this serie is to: > - use BATs with STRICT_KERNEL_RWX on book3s (See patch 12 for details.) > - use LTLBs with STRICT_KERNEL_RWX on 8xx (See patch 14 for a few details.) Hi, I just tested the whole series on my

[PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-01-10 Thread Christophe Leroy
The purpose of this serie is to: - use BATs with STRICT_KERNEL_RWX on book3s (See patch 12 for details.) - use LTLBs with STRICT_KERNEL_RWX on 8xx (See patch 14 for a few details.) v2: - Fix patch 2 (was patch 3 in v1) based on feedback from Jonathan. - Added support for 8xx with LTLBs. - Added