# git rev-parse -q --verify 74636ba55a4175fdc80018cbc3afdbb6ec1e43b5^{commit} 74636ba55a4175fdc80018cbc3afdbb6ec1e43b5 already have revision, skipping fetch # git checkout -q -f -B kisskb 74636ba55a4175fdc80018cbc3afdbb6ec1e43b5 # git clean -qxdf # < git log -1 # commit 74636ba55a4175fdc80018cbc3afdbb6ec1e43b5 # Author: Christophe Leroy # Date: Tue Jul 5 12:20:35 2022 +0200 # # powerpc: Cleanup idle for e500 # # e500 idle setup is a bit messy. # # e500_idle() is used for PPC32 while book3e_idle() is used for PPC64. # As they are mutually exclusive, call them all e500_idle(). # # Use CONFIG_MPC_85xx instead of PPC32 + E500 in Makefile and rename # idle_e500.c to idle_85xx.c . # # Rename idle_book3e.c to idle_64e.c and remove #ifdef PPC64 in # as it's only built on PPC64. # # Signed-off-by: Christophe Leroy # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 74636ba55a4175fdc80018cbc3afdbb6ec1e43b5 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/chleroy_pseries_defconfig+NO_SPLPAR_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_defconfig # Added to kconfig CONFIG_PPC_SPLPAR=n # < make -s -j 32 ARCH=powerpc O=/kisskb/build/chleroy_pseries_defconfig+NO_SPLPAR_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/chleroy_pseries_defconfig+NO_SPLPAR_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/chleroy_pseries_defconfig+NO_SPLPAR_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/kernel/cputable.c: In function 'identify_cpu': /kisskb/src/arch/powerpc/kernel/cputable.c:117:23: error: 'cpu_specs' undeclared (first use in this function) struct cpu_spec *s = cpu_specs; ^ /kisskb/src/arch/powerpc/kernel/cputable.c:117:23: note: each undeclared identifier is reported only once for each function it appears in In file included from :0:0: /kisskb/src/include/linux/build_bug.h:16:51: error: bit-field '' width not an integer constant #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler_types.h:334:9: note: in definition of macro '__compiletime_assert' if (!(condition)) \ ^ /kisskb/src/include/linux/compiler_types.h:354:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ /kisskb/src/include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) ^ /kisskb/src/arch/powerpc/kernel/cputable.c:120:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(!ARRAY_SIZE(cpu_specs)); ^ /kisskb/src/include/linux/compiler.h:240:28: note: in expansion of macro 'BUILD_BUG_ON_ZERO' #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) ^ /kisskb/src/include/linux/kernel.h:55:59: note: in expansion of macro '__must_be_array' #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) ^ /kisskb/src/arch/powerpc/kernel/cputable.c:120:16: note: in expansion of macro 'ARRAY_SIZE' BUILD_BUG_ON(!ARRAY_SIZE(cpu_specs)); ^ In file included from /kisskb/src/include/linux/bits.h:22:0, from /kisskb/src/include/linux/ratelimit_types.h:5, from /kisskb/src/include/linux/printk.h:9, from /kisskb/src/include/asm-generic/bug.h:22, from /kisskb/src/arch/powerpc/include/asm/bug.h:158, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/arch/powerpc/include/asm/mmu.h:138, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:46, from /kisskb/src/arch/powerpc/include/asm/paca.h:18, from /kisskb/src/arch/powerpc/include/asm/current.h:13, from /kisskb/src/include/linux/sched.h:12, from /kisskb/src/arch/powerpc/kernel/cputable.c:10: /kisskb/src/include/linux/build_bug.h:16:51: error: bit-field '' width not an integer constant #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler.h:240:28: note: in expansion of macro 'BUILD_BUG_ON_ZERO' #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) ^ /kisskb/src/include/linux/kernel.h:55:59: note: in expansion of macro '__must_be_array' #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) ^ /kisskb/src/arch/powerpc/kernel/cputable.c:124:18: note: in expansion of macro 'ARRAY_SIZE' for (i = 0; i < ARRAY_SIZE(cpu_specs); i++,s++) { ^ /kisskb/src/arch/powerpc/kernel/cputable.c: In function 'identify_cpu_name': /kisskb/src/arch/powerpc/kernel/cputable.c:141:23: error: 'cpu_specs' undeclared (first use in this function) struct cpu_spec *s = cpu_specs; ^ In file included from /kisskb/src/include/linux/bits.h:22:0, from /kisskb/src/include/linux/ratelimit_types.h:5, from /kisskb/src/include/linux/printk.h:9, from /kisskb/src/include/asm-generic/bug.h:22, from /kisskb/src/arch/powerpc/include/asm/bug.h:158, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/arch/powerpc/include/asm/mmu.h:138, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:46, from /kisskb/src/arch/powerpc/include/asm/paca.h:18, from /kisskb/src/arch/powerpc/include/asm/current.h:13, from /kisskb/src/include/linux/sched.h:12, from /kisskb/src/arch/powerpc/kernel/cputable.c:10: /kisskb/src/include/linux/build_bug.h:16:51: error: bit-field '' width not an integer constant #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) ^ /kisskb/src/include/linux/compiler.h:240:28: note: in expansion of macro 'BUILD_BUG_ON_ZERO' #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) ^ /kisskb/src/include/linux/kernel.h:55:59: note: in expansion of macro '__must_be_array' #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) ^ /kisskb/src/arch/powerpc/kernel/cputable.c:148:18: note: in expansion of macro 'ARRAY_SIZE' for (i = 0; i < ARRAY_SIZE(cpu_specs); i++,s++) { ^ make[3]: *** [/kisskb/src/scripts/Makefile.build:249: arch/powerpc/kernel/cputable.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:466: arch/powerpc/kernel] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1843: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=powerpc O=/kisskb/build/chleroy_pseries_defconfig+NO_SPLPAR_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/chleroy_pseries_defconfig+NO_SPLPAR_powerpc-gcc5 # Build took: 0:02:50.368542