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

2021-12-04 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215217 Bug ID: 215217 Summary: Kernel fails to boot at an early stage when built with GCC_PLUGIN_LATENT_ENTROPY=y (PowerMac G4 3,6) Product: Platform Specific/Hardware Version: 2.5 Kern

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

2021-12-04 Thread Maxime Bizon
On Saturday 04 Dec 2021 à 10:01:07 (+), Christophe Leroy wrote: > In fact BAT4 is wrong. Both virtual and physical address of a 64M BAT > must be 64M aligned. I think the display is wrong as well (You took it oh so hardware does simple bitmask after all I got fooled by the lack of guard i

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

2021-12-04 Thread Maxime Bizon
On Fri, 2021-12-03 at 12:49 +, Christophe Leroy wrote: Hello, > I need to think a bit more about it to find the cleanest solution > that works for all platforms. Maybe related, when enabling KASAN on that same platform, it oopses early. I have picked the patch "powerpc/32s: Fix shift-out-

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

2021-12-04 Thread Christophe Leroy
Le 04/12/2021 à 15:10, Maxime Bizon a écrit : > > On Saturday 04 Dec 2021 à 10:01:07 (+), Christophe Leroy wrote: > >> In fact BAT4 is wrong. Both virtual and physical address of a 64M BAT >> must be 64M aligned. I think the display is wrong as well (You took it > > oh so hardware does sim

Re: [PATCH] net: spider_net: Use non-atomic bitmap API when applicable

2021-12-04 Thread Geoff Levand
Hi Christophe, On 11/27/21 7:18 AM, Christophe JAILLET wrote: > No concurrent access is possible when a bitmap is local to a function. > So prefer the non-atomic functions to save a few cycles. >- replace a 'for' loop by an equivalent non-atomic 'bitmap_fill()' call >- use '__set_bit()' >

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

2021-12-04 Thread Christophe Leroy
Le 03/12/2021 à 19:43, Maxime Bizon a écrit : > > On Fri, 2021-12-03 at 12:49 +, Christophe Leroy wrote: > > Hello, > >> I need to think a bit more about it to find the cleanest solution >> that works for all platforms. > > Maybe related, when enabling KASAN on that same platform, it oops