# git rev-parse -q --verify 4622a2d43101ea2e3d54a2af090f25a5886c648b^{commit} 4622a2d43101ea2e3d54a2af090f25a5886c648b already have revision, skipping fetch # git checkout -q -f -B kisskb 4622a2d43101ea2e3d54a2af090f25a5886c648b # git clean -qxdf # < git log -1 # commit 4622a2d43101ea2e3d54a2af090f25a5886c648b # Author: Christophe Leroy # Date: Mon Mar 11 08:30:27 2019 +0000 # # powerpc/6xx: fix setup and use of SPRN_SPRG_PGDIR for hash32 # # Not only the 603 but all 6xx need SPRN_SPRG_PGDIR to be initialised at # startup. This patch move it from __setup_cpu_603() to start_here() # and __secondary_start(), close to the initialisation of SPRN_THREAD. # # Previously, virt addr of PGDIR was retrieved from thread struct. # Now that it is the phys addr which is stored in SPRN_SPRG_PGDIR, # hash_page() shall not convert it to phys anymore. # This patch removes the conversion. # # Fixes: 93c4a162b014 ("powerpc/6xx: Store PGDIR physical address in a SPRG") # Reported-by: Guenter Roeck # Tested-by: Guenter Roeck # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 4622a2d43101ea2e3d54a2af090f25a5886c648b # < make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- randconfig KCONFIG_SEED=0x614B52C2 # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig # yes \n | make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- oldconfig yes: standard output: Broken pipe # make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- :1478:2: warning: #warning syscall pidfd_send_signal not implemented [-Wcpp] :1481:2: warning: #warning syscall io_uring_setup not implemented [-Wcpp] :1484:2: warning: #warning syscall io_uring_enter not implemented [-Wcpp] :1487:2: warning: #warning syscall io_uring_register not implemented [-Wcpp] /kisskb/src/arch/powerpc/crypto/md5-glue.c: In function 'ppc_md5_final': /kisskb/src/arch/powerpc/crypto/md5-glue.c:111:1: internal compiler error: in change_address_1, at emit-rtl.c:1933 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[3]: *** [/kisskb/src/scripts/Makefile.build:279: arch/powerpc/crypto/md5-glue.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:489: arch/powerpc/crypto] Error 2 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/kernel/bpf/core.c: In function '___bpf_prog_run': /kisskb/src/kernel/bpf/core.c:1563:1: internal compiler error: in change_address_1, at emit-rtl.c:1933 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[3]: *** [/kisskb/src/scripts/Makefile.build:279: kernel/bpf/core.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:489: kernel/bpf] Error 2 make[1]: *** [/kisskb/src/Makefile:1046: kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/arch/powerpc/kernel/traps.c: In function 'p9_hmi_special_emu': /kisskb/src/arch/powerpc/kernel/traps.c:1049:1: internal compiler error: in change_address_1, at emit-rtl.c:1933 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[3]: *** [/kisskb/src/scripts/Makefile.build:279: arch/powerpc/kernel/traps.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:489: arch/powerpc/kernel] Error 2 make[1]: *** [/kisskb/src/Makefile:1046: arch/powerpc] Error 2 make: *** [Makefile:170: sub-make] Error 2 Command 'make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc-gcc4.6 # Build took: 0:00:19.738358