# git rev-parse -q --verify 552263456215ada7ee8700ce022d12b0cffe4802^{commit} 552263456215ada7ee8700ce022d12b0cffe4802 already have revision, skipping fetch # git checkout -q -f -B kisskb 552263456215ada7ee8700ce022d12b0cffe4802 # git clean -qxdf # < git log -1 # commit 552263456215ada7ee8700ce022d12b0cffe4802 # Author: Vincenzo Frascino # Date: Mon Dec 2 07:57:29 2019 +0000 # # powerpc: Fix vDSO clock_getres() # # clock_getres in the vDSO library has to preserve the same behaviour # of posix_get_hrtimer_res(). # # In particular, posix_get_hrtimer_res() does: # sec = 0; # ns = hrtimer_resolution; # and hrtimer_resolution depends on the enablement of the high # resolution timers that can happen either at compile or at run time. # # Fix the powerpc vdso implementation of clock_getres keeping a copy of # hrtimer_resolution in vdso data and using that directly. # # Fixes: a7f290dad32e ("[PATCH] powerpc: Merge vdso's and add vdso support to 32 bits kernel") # Cc: stable@vger.kernel.org # Signed-off-by: Vincenzo Frascino # Reviewed-by: Christophe Leroy # Acked-by: Shuah Khan # [chleroy: changed CLOCK_REALTIME_RES to CLOCK_HRTIMER_RES] # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/a55eca3a5e85233838c2349783bcb5164dae1d09.1575273217.git.christophe.leroy@c-s.fr # < /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 552263456215ada7ee8700ce022d12b0cffe4802 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/sound/ppc/pmac.h:12:0, 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 0xac411c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xac411c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xac411c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xac411c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xac411c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xac411c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xac411c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xac411c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xac411c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xac411c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xab3a34) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xab3a34) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-5.4.0+ Created: Thu Dec 5 10:10:16 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5157632 Bytes = 5036.75 KiB = 4.92 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.4.0+ Created: Thu Dec 5 10:10:16 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5157735 Bytes = 5036.85 KiB = 4.92 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.4.0+ Created: Thu Dec 5 10:10:16 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5157464 Bytes = 5036.59 KiB = 4.92 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.4.0+ Created: Thu Dec 5 10:10:16 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5157521 Bytes = 5036.64 KiB = 4.92 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.4.0+ Created: Thu Dec 5 10:10:17 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5157617 Bytes = 5036.74 KiB = 4.92 MiB Load Address: 00b00000 Entry Point: 00b00894 Image Name: Linux-5.4.0+ Created: Thu Dec 5 10:10:17 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5157613 Bytes = 5036.73 KiB = 4.92 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.4.0+ Created: Thu Dec 5 10:10:17 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5157221 Bytes = 5036.35 KiB = 4.92 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.4.0+ Created: Thu Dec 5 10:10:17 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5158093 Bytes = 5037.20 KiB = 4.92 MiB Load Address: 00b00000 Entry Point: 00b00894 Image Name: Linux-5.4.0+ Created: Thu Dec 5 10:10:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5127102 Bytes = 5006.94 KiB = 4.89 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc5 # Build took: 0:04:15.678141