Re: [PATCH] powerpc/boot: Fix boot wrapper code generation with CONFIG_POWER10_CPU

2023-04-26 Thread Michael Ellerman
On Fri, 07 Apr 2023 14:09:09 +1000, Nicholas Piggin wrote: > -mcpu=power10 will generate prefixed and pcrel code by default, which > we do not support. The general kernel disables these with cflags, but > those were missed for the boot wrapper. > > Applied to powerpc/next. [1/1] powerpc/boot: F

[PATCH] powerpc/boot: Fix boot wrapper code generation with CONFIG_POWER10_CPU

2023-04-06 Thread Nicholas Piggin
-mcpu=power10 will generate prefixed and pcrel code by default, which we do not support. The general kernel disables these with cflags, but those were missed for the boot wrapper. Reported-by: Danny Tsen Fixes: 4b2a9315f20d9 ("powerpc/64s: POWER10 CPU Kconfig build option") Signed-off-by: Nichola