# 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/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 4622a2d43101ea2e3d54a2af090f25a5886c648b # < make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_defconfig+FA_DUMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_defconfig # Added to kconfig CONFIG_CRASH_DUMP=y # Added to kconfig CONFIG_FA_DUMP=y # yes \n | make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_defconfig+FA_DUMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_defconfig+FA_DUMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-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/net/netfilter/nf_nat_masquerade.c:15:21: warning: 'masq_refcnt6' defined but not used [-Wunused-variable] static unsigned int masq_refcnt6 __read_mostly; ^ /kisskb/src/net/sunrpc/xprtsock.c: In function 'xs_stream_data_receive': /kisskb/src/net/sunrpc/xprtsock.c:529:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] return ret < 0 ? ret : read; ^ /kisskb/src/net/sunrpc/xprtsock.c:499:10: note: 'ret' was declared here ssize_t ret; ^ /kisskb/src/net/sunrpc/xprtsock.c:498:15: warning: 'read' may be used uninitialized in this function [-Wmaybe-uninitialized] size_t want, read; ^ Completed OK # rm -rf /kisskb/build/powerpc-fixes_pseries_defconfig+FA_DUMP_powerpc-gcc5 # Build took: 0:04:02.098063