# 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_ppc44x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' :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/sunrpc/xprtsock.c: In function 'xs_stream_data_receive_workfn': /kisskb/src/net/sunrpc/xprtsock.c:498:15: warning: 'read' may be used uninitialized in this function [-Wmaybe-uninitialized] size_t want, read; ^ /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; ^ In file included from /kisskb/src/include/linux/printk.h:7:0, from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/fs_context.h:15, from /kisskb/src/fs/fs_parser.c:13: /kisskb/src/fs/fs_parser.c: In function 'fs_validate_description': /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ /kisskb/src/include/linux/kern_levels.h:11:18: note: in expansion of macro 'KERN_SOH' #define KERN_ERR KERN_SOH "3" /* error conditions */ ^ /kisskb/src/include/linux/printk.h:302:9: note: in expansion of macro 'KERN_ERR' printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) ^ /kisskb/src/fs/fs_parser.c:413:6: note: in expansion of macro 'pr_err' pr_err("VALIDATE %s: e[%lu] enum val for %s\n", ^ /kisskb/src/arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x567b30) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567b30) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567b30) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567b30) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567b30) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567b30) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567b30) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567b30) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567b30) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567b30) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567b30) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x557418) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.1.0-rc2-g7100e8704b61 Created: Mon Apr 8 23:52:49 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2791917 Bytes = 2726.48 KiB = 2.66 MiB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-5.1.0-rc2-g7100e8704b61 Created: Mon Apr 8 23:52:49 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2791880 Bytes = 2726.45 KiB = 2.66 MiB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-5.1.0-rc2-g7100e8704b61 Created: Mon Apr 8 23:52:49 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2791886 Bytes = 2726.45 KiB = 2.66 MiB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-5.1.0-rc2-g7100e8704b61 Created: Mon Apr 8 23:52:49 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2791911 Bytes = 2726.48 KiB = 2.66 MiB Load Address: 00600000 Entry Point: 00601514 Image Name: Linux-5.1.0-rc2-g7100e8704b61 Created: Mon Apr 8 23:52:49 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2791838 Bytes = 2726.40 KiB = 2.66 MiB Load Address: 00600000 Entry Point: 00601524 Image Name: Linux-5.1.0-rc2-g7100e8704b61 Created: Mon Apr 8 23:52:49 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2791987 Bytes = 2726.55 KiB = 2.66 MiB Load Address: 00600000 Entry Point: 0060152c Image Name: Linux-5.1.0-rc2-g7100e8704b61 Created: Mon Apr 8 23:52:49 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2791818 Bytes = 2726.38 KiB = 2.66 MiB Load Address: 00600000 Entry Point: 006000c4 Image Name: Linux-5.1.0-rc2-g7100e8704b61 Created: Mon Apr 8 23:52:49 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2760081 Bytes = 2695.39 KiB = 2.63 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.1.0-rc2-g7100e8704b61 Created: Mon Apr 8 23:52:49 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2791808 Bytes = 2726.38 KiB = 2.66 MiB Load Address: 00600000 Entry Point: 006001b8 Image Name: Linux-5.1.0-rc2-g7100e8704b61 Created: Mon Apr 8 23:52:49 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2791887 Bytes = 2726.45 KiB = 2.66 MiB Load Address: 00600000 Entry Point: 00601544 Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc-gcc5 # Build took: 0:00:28.705089