[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190113181621.GA22334@latitude>
Date: Sun, 13 Jan 2019 19:16:21 +0100
From: Jonathan Neuschäfer <j.neuschaefer@....net>
To: Christophe Leroy <christophe.leroy@....fr>
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Michael Ellerman <mpe@...erman.id.au>, j.neuschaefer@....net,
linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for
STRICT_KERNEL_RWX
On Thu, Jan 10, 2019 at 03:11:38PM +0000, 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 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:
> top of MEM2 @ 13F00000
>
> zImage starting: loaded at 0x01000000 (sp: 0x0178afa0)
> Allocating 0x166b2c8 bytes for kernel...
> Decompressing (0x00000000 <- 0x01011000:0x01788398)...
> Done! Decompressed 0xf421f4 bytes
>
> Linux/PowerPC load: root=/dev/mmcblk0p2 rootwait console=usbgecko1
> Finalizing device tree... flat tree at 0x178b7a0
> [ 0.000000] printk: bootconsole [udbg0] enabled
> [ 0.000000] Kernel panic - not syncing: ERROR: Failed to allocate 0x00100000 bytes below 0x00000000.
> [ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 5.0.0-rc1-wii-00038-g335347fa417f #1337
> [ 0.000000] Call Trace:
> [ 0.000000] [c0f1ff30] [c00280f0] panic+0x144/0x324 (unreliable)
> [ 0.000000] [c0f1ff90] [c0c18a34] memblock_alloc_base+0x34/0x44
> [ 0.000000] [c0f1ffa0] [c0c071e0] MMU_init_hw+0xcc/0x300
> [ 0.000000] [c0f1ffd0] [c0c06554] MMU_init+0x12c/0x198
> [ 0.000000] [c0f1fff0] [c0003418] start_here+0x40/0x78
> [ 0.000000] Rebooting in 180 seconds..
Jonathan
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists