# git rev-parse -q --verify ee76722ff17507592ae68ce4faf8ec6cc12df07d^{commit} ee76722ff17507592ae68ce4faf8ec6cc12df07d already have revision, skipping fetch # git checkout -q -f -B kisskb ee76722ff17507592ae68ce4faf8ec6cc12df07d # git clean -qxdf # < git log -1 # commit ee76722ff17507592ae68ce4faf8ec6cc12df07d # Author: Christophe Leroy # Date: Thu May 6 10:23:52 2021 +0000 # # powerpc/32s: Simplify calculation of segment register content # # segment register has VSID on bits 8-31. # Bits 4-7 are reserved, there is no requirement to set them to 0. # # VSIDs are calculated from VSID of SR0 by adding 0x111. # # Even with highest possible VSID which would be 0xFFFFF0, # adding 16 times 0x111 results in 0x1001100. # # So, the reserved bits are never overflowed, no need to clear # the reserved bits after each calculation. # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 ee76722ff17507592ae68ce4faf8ec6cc12df07d # < make -s -j 24 ARCH=powerpc O=/kisskb/build/chleroy_44x_sam440ep_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/sam440ep_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/chleroy_44x_sam440ep_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/chleroy_44x_sam440ep_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/chleroy_44x_sam440ep_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/mm/nohash/mmu_context.c: In function 'set_context': /kisskb/src/arch/powerpc/mm/nohash/mmu_context.c:264:3: error: expected expression before 's16' s16 offset = (s16)(__pa(swapper_pg_dir)); ^ In file included from /kisskb/src/arch/powerpc/include/asm/processor.h:11:0, from /kisskb/src/arch/powerpc/include/asm/thread_info.h:40, from /kisskb/src/include/linux/thread_info.h:59, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/powerpc/mm/nohash/mmu_context.c:40: /kisskb/src/arch/powerpc/mm/nohash/mmu_context.c:271:33: error: 'offset' undeclared (first use in this function) mtspr(SPRN_M_TWB, __pa(pgd) - offset); ^ /kisskb/src/arch/powerpc/include/asm/reg.h:1394:33: note: in definition of macro 'mtspr' : "r" ((unsigned long)(v)) \ ^ /kisskb/src/arch/powerpc/mm/nohash/mmu_context.c:271:33: note: each undeclared identifier is reported only once for each function it appears in mtspr(SPRN_M_TWB, __pa(pgd) - offset); ^ /kisskb/src/arch/powerpc/include/asm/reg.h:1394:33: note: in definition of macro 'mtspr' : "r" ((unsigned long)(v)) \ ^ /kisskb/src/arch/powerpc/mm/nohash/mmu_context.c: At top level: /kisskb/src/arch/powerpc/mm/nohash/mmu_context.c:277:4: error: expected identifier or '(' before 'else' } else { ^ /kisskb/src/arch/powerpc/mm/nohash/mmu_context.c:283:1: error: expected identifier or '(' before '}' token } ^ make[4]: *** [/kisskb/src/scripts/Makefile.build:272: arch/powerpc/mm/nohash/mmu_context.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:515: arch/powerpc/mm/nohash] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:515: arch/powerpc/mm] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1855: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1236:1: warning: the frame size of 1120 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ make: *** [Makefile:215: __sub-make] Error 2 Command 'make -s -j 24 ARCH=powerpc O=/kisskb/build/chleroy_44x_sam440ep_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/chleroy_44x_sam440ep_defconfig_powerpc-gcc4.9 # Build took: 0:00:33.957408