# git rev-parse -q --verify 7100e8704b61247649c50551b965e71d168df30b^{commit} 7100e8704b61247649c50551b965e71d168df30b already have revision, skipping fetch # git checkout -q -f -B kisskb 7100e8704b61247649c50551b965e71d168df30b # git clean -qxdf # < git log -1 # commit 7100e8704b61247649c50551b965e71d168df30b # Author: Nicholas Piggin # Date: Fri Mar 29 17:42:57 2019 +1000 # # powerpc/64s/radix: Fix radix segment exception handling # # Commit 48e7b76957 ("powerpc/64s/hash: Convert SLB miss handlers to C") # broke the radix-mode segment exception handler. In radix mode, this is # exception is not an SLB miss, rather it signals that the EA is outside # the range translated by any page table. # # The commit lost the radix feature alternate code patch, which can # cause faults to some EAs to kernel BUG at arch/powerpc/mm/slb.c:639! # # The original radix code would send faults to slb_miss_large_addr, # which would end up faulting due to slb_addr_limit being 0. This patch # sends radix directly to do_bad_slb_fault, which is a bit clearer. # # Fixes: 48e7b7695745 ("powerpc/64s/hash: Convert SLB miss handlers to C") # Cc: stable@vger.kernel.org # v4.20+ # Reported-by: Anton Blanchard # Signed-off-by: Nicholas Piggin # Reviewed-by: Aneesh Kumar K.V # 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 7100e8704b61247649c50551b965e71d168df30b # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_le_defconfig+NO_SPLPAR_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_le_defconfig # Added to kconfig CONFIG_PPC_SPLPAR=n # yes \n | make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_le_defconfig+NO_SPLPAR_ppc64le-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 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_le_defconfig+NO_SPLPAR_ppc64le-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; ^ WARNING: vmlinux.o(.text+0x2b3c): Section mismatch in reference from the variable __boot_from_prom to the function .init.text:prom_init() The function __boot_from_prom() references the function __init prom_init(). This is often because __boot_from_prom lacks a __init annotation or the annotation of prom_init is wrong. WARNING: vmlinux.o(.text+0x2d28): Section mismatch in reference from the variable start_here_multiplatform to the function .init.text:early_setup() The function start_here_multiplatform() references the function __init early_setup(). This is often because start_here_multiplatform lacks a __init annotation or the annotation of early_setup is wrong. WARNING: vmlinux.o(.text+0x2d5c): Section mismatch in reference from the variable start_here_common to the function .init.text:start_kernel() The function start_here_common() references the function __init start_kernel(). This is often because start_here_common lacks a __init annotation or the annotation of start_kernel is wrong. Completed OK # rm -rf /kisskb/build/powerpc-fixes_pseries_le_defconfig+NO_SPLPAR_ppc64le-gcc5 # Build took: 0:01:29.299902