# git rev-parse -q --verify 83654d1d047c98341f1f4472d31c189b3bf0ebe7^{commit} 83654d1d047c98341f1f4472d31c189b3bf0ebe7 already have revision, skipping fetch # git checkout -q -f -B kisskb 83654d1d047c98341f1f4472d31c189b3bf0ebe7 # git clean -qxdf # < git log -1 # commit 83654d1d047c98341f1f4472d31c189b3bf0ebe7 # Author: Thiago Jung Bauermann # Date: Wed Sep 11 13:34:33 2019 -0300 # # powerpc/prom_init: Undo relocation before entering secure mode # # The ultravisor will do an integrity check of the kernel image but we # relocated it so the check will fail. Restore the original image by # relocating it back to the kernel virtual base address. # # This works because during build vmlinux is linked with an expected # virtual runtime address of KERNELBASE. # # Fixes: 6a9c930bd775 ("powerpc/prom_init: Add the ESM call to prom_init") # Signed-off-by: Thiago Jung Bauermann # Tested-by: Ram Pai # [mpe: Add IS_ENABLED() to fix the CONFIG_RELOCATABLE=n build] # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20190911163433.12822-1-bauerman@linux.ibm.com # < /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 83654d1d047c98341f1f4472d31c189b3bf0ebe7 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_defconfig+POWERNV=n_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_defconfig # Added to kconfig CONFIG_PPC_POWERNV=n # yes \n | make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_defconfig+POWERNV=n_powerpc-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_defconfig+POWERNV=n_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/list.h:9:0, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/btrfs/send.c:7: /kisskb/src/fs/btrfs/send.c: In function 'process_extent': /kisskb/src/include/linux/kernel.h:37:33: warning: 'clone_src_i_size' may be used uninitialized in this function [-Wmaybe-uninitialized] #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) ^ /kisskb/src/fs/btrfs/send.c:5088:6: note: 'clone_src_i_size' was declared here u64 clone_src_i_size; ^ Completed OK # rm -rf /kisskb/build/powerpc-fixes_pseries_defconfig+POWERNV=n_powerpc-gcc5 # Build took: 0:01:32.665577