Re: Fail to boot 5.15 on mpc8347 with either debug_pagealloc or nobats

2021-12-05 Thread Christophe Leroy
Le 05/12/2021 à 22:44, Maxime Bizon a écrit : > > > On Sunday 05 Dec 2021 à 18:11:59 (+), Christophe Leroy wrote: > >>> Is BAT5 needed here ? >> >> Sure it is, because that's were kernel expects lowmem to be mapped. >> Allthough the kernel will unlikely access the 128M reserved for KASAN >

Re: Fail to boot 5.15 on mpc8347 with either debug_pagealloc or nobats

2021-12-05 Thread Maxime Bizon
On Sunday 05 Dec 2021 à 18:11:59 (+), Christophe Leroy wrote: > > Is BAT5 needed here ? > > Sure it is, because that's were kernel expects lowmem to be mapped. > Allthough the kernel will unlikely access the 128M reserved for KASAN > directly, the other 128M are still needed. > Yes tha

Re: Fail to boot 5.15 on mpc8347 with either debug_pagealloc or nobats

2021-12-05 Thread Christophe Leroy
Le 05/12/2021 à 17:42, Maxime Bizon a écrit : > > > On Saturday 04 Dec 2021 à 17:42:44 (+), Christophe Leroy wrote: > >> I guess all the guard is in the comment ... >> >> /* >>* Set up one of the I/D BAT (block address translation) register pairs. >>* The parameters are not checked

fbx_5.15 WARN_ON() at boot with CONFIG_DEBUG_VM

2021-12-05 Thread Maxime Bizon
Hello, With CONFIG_DEBUG_VM=y, early_iounmap() triggers this: VM_WARN_ON(pte_hw_valid(*ptep) && !pte_protnone(*ptep)); [0.292811] WARNING: CPU: 0 PID: 1 at arch/powerpc/mm/pgtable.c:194 set_pte_at+0x8c/0x21c [0.301053] CPU: 0 PID: 1 Comm: swapper Tainted: GW 5.

[Bug 215217] Kernel fails to boot at an early stage when built with GCC_PLUGIN_LATENT_ENTROPY=y (PowerMac G4 3,6)

2021-12-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215217 --- Comment #3 from Christophe Leroy (christophe.le...@csgroup.eu) --- I tried your config under QEMU and it works. So I don't know how I could help. >> = >> OpenBIOS 1.1 [Jul 22 2021 22

Re: Fail to boot 5.15 on mpc8347 with either debug_pagealloc or nobats

2021-12-05 Thread Maxime Bizon
On Saturday 04 Dec 2021 à 17:42:44 (+), Christophe Leroy wrote: > I guess all the guard is in the comment ... > > /* > * Set up one of the I/D BAT (block address translation) register pairs. > * The parameters are not checked; in particular size must be a power > * of 2 between 128k

[PATCH] macintosh:add const to of_device_id

2021-12-05 Thread Xiang wangx
struct of_device_id should normally be const Signed-off-by: Xiang wangx --- drivers/macintosh/mediabay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/macintosh/mediabay.c b/drivers/macintosh/mediabay.c index eab7e83c11c4..b17660c022eb 100644 --- a/drivers/macintosh

[Bug 215217] Kernel fails to boot at an early stage when built with GCC_PLUGIN_LATENT_ENTROPY=y (PowerMac G4 3,6)

2021-12-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215217 --- Comment #2 from Erhard F. (erhar...@mailbox.org) --- Just rebuilt the kernel without KASAN but I still hit this bug. -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the

[Bug 215217] Kernel fails to boot at an early stage when built with GCC_PLUGIN_LATENT_ENTROPY=y (PowerMac G4 3,6)

2021-12-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215217 --- Comment #1 from Christophe Leroy (christophe.le...@csgroup.eu) --- POWER9 doesn't have KASAN. Did you try G4 without KASAN ? -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assigne