# git rev-parse -q --verify 83e367f9ad18d42a1883ee29f20608a2b93e1071^{commit} 83e367f9ad18d42a1883ee29f20608a2b93e1071 already have revision, skipping fetch # git checkout -q -f -B kisskb 83e367f9ad18d42a1883ee29f20608a2b93e1071 # git clean -qxdf # < git log -1 # commit 83e367f9ad18d42a1883ee29f20608a2b93e1071 # Author: Breno Leitao # Date: Thu Jan 17 15:01:54 2019 -0200 # # selftests/powerpc: Add a signal fuzzer selftest # # This is a new selftest that raises SIGUSR1 signals and handles it in a # set of different ways, trying to create different scenario for testing # purpose. # # This test works raising a signal and calling sigreturn interleaved # with TM operations, as starting, suspending and terminating a # transaction. The test depends on random numbers, and, based on them, # it sets different TM states. # # Other than that, the test fills out the user context struct that is # passed to the sigreturn system call with random data, in order to make # sure that the signal handler syscall can handle different and invalid # states properly. # # This selftest has command line parameters to control what kind of # tests the user wants to run, as for example, if a transaction should # be started prior to signal being raised, or, after the signal being # raised and before the sigreturn. If no parameter is given, the default # is enabling all options. # # This test does not check if the user context is being read and set # properly by the kernel. Its purpose, at this time, is basically # guaranteeing that the kernel does not crash on invalid scenarios. # # Signed-off-by: Breno Leitao # 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 83e367f9ad18d42a1883ee29f20608a2b93e1071 # < make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-next_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 10 ARCH=powerpc O=/kisskb/build/powerpc-next_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/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 0x567b3c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567b3c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567b3c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567b3c) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0x567b3c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567b3c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567b3c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x557424) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567b3c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567b3c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.1.0-rc3-g83e367f9ad18 Created: Fri May 3 11:59:58 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2761726 Bytes = 2697.00 KiB = 2.63 MiB Load Address: 00000000 Entry Point: 00000000 INFO: Uncompressed kernel (size 0x567b3c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x567b3c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.1.0-rc3-g83e367f9ad18 Created: Fri May 3 11:59:58 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2794116 Bytes = 2728.63 KiB = 2.66 MiB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-5.1.0-rc3-g83e367f9ad18 Created: Fri May 3 11:59:58 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2794398 Bytes = 2728.90 KiB = 2.66 MiB Load Address: 00600000 Entry Point: 0060152c Image Name: Linux-5.1.0-rc3-g83e367f9ad18 Created: Fri May 3 11:59:58 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2792059 Bytes = 2726.62 KiB = 2.66 MiB Load Address: 00600000 Entry Point: 006001b8 Image Name: Linux-5.1.0-rc3-g83e367f9ad18 Created: Fri May 3 11:59:58 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2794398 Bytes = 2728.90 KiB = 2.66 MiB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-5.1.0-rc3-g83e367f9ad18 Created: Fri May 3 11:59:58 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2794369 Bytes = 2728.88 KiB = 2.66 MiB Load Address: 00600000 Entry Point: 006000c4 Image Name: Linux-5.1.0-rc3-g83e367f9ad18 Created: Fri May 3 11:59:59 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2791931 Bytes = 2726.50 KiB = 2.66 MiB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-5.1.0-rc3-g83e367f9ad18 Created: Fri May 3 11:59:59 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2794430 Bytes = 2728.94 KiB = 2.66 MiB Load Address: 00600000 Entry Point: 00601514 Image Name: Linux-5.1.0-rc3-g83e367f9ad18 Created: Fri May 3 11:59:59 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2791941 Bytes = 2726.50 KiB = 2.66 MiB Load Address: 00600000 Entry Point: 00601524 Image Name: Linux-5.1.0-rc3-g83e367f9ad18 Created: Fri May 3 11:59:59 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2792134 Bytes = 2726.69 KiB = 2.66 MiB Load Address: 00600000 Entry Point: 00601544 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc5 # Build took: 0:01:46.123803