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

From: Christophe Leroy
Date: Mon Jan 14 2019 - 13:23:19 EST




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 seems to work fine, but
with it, I get the following error while booting:

Argh !

Can you please send the System.map file generated at compile time ?

Here:
https://gist.githubusercontent.com/neuschaefer/12ccc87ff8aeff543fad558e8742cd2b/raw/d49d321709cac364779e6893bbd91ff5a80bcb03/System.map

And here's the config, reduced with 'make savedefconfig':
https://gist.githubusercontent.com/neuschaefer/12ccc87ff8aeff543fad558e8742cd2b/raw/d49d321709cac364779e6893bbd91ff5a80bcb03/config

The exact code I used is here:
https://github.com/neuschaefer/linux/tree/ppcbat-test

Thanks

I can't see anything special in your setup, and this failure looks rather unexpected because I can't see anything done that early when CONFIG_STRICT_KERNEL_RWX is selected.

Does CONFIG_STRICT_KERNEL_RWX works properly without my serie ?

Christophe



Thanks,
Jonathan