Re: powerpc{32,64} randconfigs

2022-03-02 Thread Christophe Leroy
Le 28/04/2021 à 01:45, Randy Dunlap a écrit : On 4/21/21 12:15 AM, Michael Ellerman wrote: Randy Dunlap writes: Reviewed-by: Randy Dunlap Tested-by: Randy Dunlap Please merge this. :) Merged as f259fb893c69 ("powerpc/Makefile: Add ppc32/ppc64_randconfig targets")

Re: powerpc{32,64} randconfigs

2021-04-27 Thread Randy Dunlap
On 4/20/21 11:45 PM, Randy Dunlap wrote: > On 4/20/21 11:37 PM, Christophe Leroy wrote: >> >> >> Le 21/04/2021 à 01:31, Randy Dunlap a écrit : >>> --- linux-next-20210420.orig/arch/powerpc/kernel/vdso64/Makefile >>> +++ linux-next-20210420/arch/powerpc/kernel/vdso64/Makefile >>> @@ -30,7 +30,7 @@ c

Re: powerpc{32,64} randconfigs

2021-04-27 Thread Randy Dunlap
On 4/21/21 12:15 AM, Michael Ellerman wrote: > Randy Dunlap writes: >> Hi, >> >> Is there a way to do this? >> >> $ make ARCH=powerpc randconfig # and force PPC32 > > Sort of: > > $ KCONFIG_ALLCONFIG=arch/powerpc/configs/book3s_32.config make randconfig > > But that also forces BOOK3S. > >> an

Re: powerpc{32,64} randconfigs

2021-04-21 Thread Masahiro Yamada
On Wed, Apr 21, 2021 at 4:15 PM Michael Ellerman wrote: > > Randy Dunlap writes: > > Hi, > > > > Is there a way to do this? > > > > $ make ARCH=powerpc randconfig # and force PPC32 > > Sort of: > > $ KCONFIG_ALLCONFIG=arch/powerpc/configs/book3s_32.config make randconfig > > But that also forces

Re: powerpc{32,64} randconfigs

2021-04-21 Thread Michael Ellerman
Randy Dunlap writes: > Hi, > > Is there a way to do this? > > $ make ARCH=powerpc randconfig # and force PPC32 Sort of: $ KCONFIG_ALLCONFIG=arch/powerpc/configs/book3s_32.config make randconfig But that also forces BOOK3S. > and separately > $ make ARCH=powerpc randconfig # and force PPC64 No

Re: powerpc{32,64} randconfigs

2021-04-20 Thread Randy Dunlap
On 4/20/21 11:37 PM, Christophe Leroy wrote: > > > Le 21/04/2021 à 01:31, Randy Dunlap a écrit : >> --- linux-next-20210420.orig/arch/powerpc/kernel/vdso64/Makefile >> +++ linux-next-20210420/arch/powerpc/kernel/vdso64/Makefile >> @@ -30,7 +30,7 @@ ccflags-y := -shared -fno-common -fno-bu >>   as

Re: powerpc{32,64} randconfigs

2021-04-20 Thread Christophe Leroy
Le 21/04/2021 à 01:31, Randy Dunlap a écrit : --- linux-next-20210420.orig/arch/powerpc/kernel/vdso64/Makefile +++ linux-next-20210420/arch/powerpc/kernel/vdso64/Makefile @@ -30,7 +30,7 @@ ccflags-y := -shared -fno-common -fno-bu asflags-y := -D__VDSO64__ -s targets += vdso64.lds -CPPF

Re: powerpc{32,64} randconfigs

2021-04-20 Thread Christophe Leroy
Le 21/04/2021 à 01:31, Randy Dunlap a écrit : --- linux-next-20210420.orig/arch/powerpc/platforms/Kconfig.cputype +++ linux-next-20210420/arch/powerpc/platforms/Kconfig.cputype @@ -1,11 +1,12 @@ # SPDX-License-Identifier: GPL-2.0 config PPC32 bool - default y if !PPC64 +

Re: powerpc{32,64} randconfigs

2021-04-20 Thread Christophe Leroy
Hi Le 21/04/2021 à 01:31, Randy Dunlap a écrit : [time passes] OK, I have a patch that seems for work as far as setting PPC32=y or PPC64=y... but it has a problem during linking of vmlinux: crosstool/gcc-9.3.0-nolibc/powerpc-linux/bin/powerpc-linux-ld:./arch/powerpc/kernel/vmlinux.lds:6: synt