# git rev-parse -q --verify a02cbc7ffe529ed58b6bbe54652104fc2c88bd77^{commit} a02cbc7ffe529ed58b6bbe54652104fc2c88bd77 already have revision, skipping fetch # git checkout -q -f -B kisskb a02cbc7ffe529ed58b6bbe54652104fc2c88bd77 # git clean -qxdf # < git log -1 # commit a02cbc7ffe529ed58b6bbe54652104fc2c88bd77 # Author: Michael Ellerman # Date: Mon Oct 14 13:30:43 2019 +1100 # # selftests/powerpc: Fixup clobbers for TM tests # # Some of our TM (Transactional Memory) tests, list "r1" (the stack # pointer) as a clobbered register. # # GCC >= 9 doesn't accept this, and the build breaks: # # ptrace-tm-spd-tar.c: In function 'tm_spd_tar': # ptrace-tm-spd-tar.c:31:2: error: listing the stack pointer register 'r1' in a clobber list is deprecated [-Werror=deprecated] # 31 | asm __volatile__( # | ^~~ # ptrace-tm-spd-tar.c:31:2: note: the value of the stack pointer after an 'asm' statement must be the same as it was before the statement # # We do have some fairly large inline asm blocks in these tests, and # some of them do change the value of r1. However they should all return # to C with the value in r1 restored, so I think it's legitimate to say # r1 is not clobbered. # # As Segher points out, the r1 clobbers may have been added because of # the use of `or 1,1,1`, however that doesn't actually clobber r1. # # Segher also points out that some of these tests do clobber LR, because # they call functions, and that is not listed in the clobbers, so add # that where appropriate. # # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20191029095324.14669-1-mpe@ellerman.id.au # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 a02cbc7ffe529ed58b6bbe54652104fc2c88bd77 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/sound/ppc/pmac.h:12, from /kisskb/src/sound/ppc/awacs.c:16: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:208:9: warning: 'speaker_vol' may be used uninitialized in this function [-Wmaybe-uninitialized] return _snd_ctl_add_slave(master, slave, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/ppc/awacs.c:873:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^~~~~~~~~~~ INFO: Uncompressed kernel (size 0xb5ffd8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb5ffd8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb5ffd8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb5ffd8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb5ffd8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb5ffd8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb5ffd8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb5ffd8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb5ffd8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4f8c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb5ffd8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4f8c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-5.4.0-rc2+ Created: Wed Oct 30 02:50:04 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5435628 Bytes = 5308.23 KiB = 5.18 MiB Load Address: 00c00000 Entry Point: 00c00934 Image Name: Linux-5.4.0-rc2+ Created: Wed Oct 30 02:50:04 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5433966 Bytes = 5306.61 KiB = 5.18 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.4.0-rc2+ Created: Wed Oct 30 02:50:05 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5398981 Bytes = 5272.44 KiB = 5.15 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.4.0-rc2+ Created: Wed Oct 30 02:50:05 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5435037 Bytes = 5307.65 KiB = 5.18 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.4.0-rc2+ Created: Wed Oct 30 02:50:05 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5435089 Bytes = 5307.70 KiB = 5.18 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.4.0-rc2+ Created: Wed Oct 30 02:50:05 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5435017 Bytes = 5307.63 KiB = 5.18 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.4.0-rc2+ Created: Wed Oct 30 02:50:05 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5434376 Bytes = 5307.01 KiB = 5.18 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.4.0-rc2+ Created: Wed Oct 30 02:50:05 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5435355 Bytes = 5307.96 KiB = 5.18 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.4.0-rc2+ Created: Wed Oct 30 02:50:06 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5435495 Bytes = 5308.10 KiB = 5.18 MiB Load Address: 00c00000 Entry Point: 00c00934 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 # Build took: 0:05:15.229658