# 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 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_40x_kilauea_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 40x/kilauea_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_40x_kilauea_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/kernel/head_40x.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/head_40x.S:802: Warning: invalid register expression Completed OK # rm -rf /kisskb/build/powerpc-fixes_40x_kilauea_defconfig_powerpc-gcc5 # Build took: 0:00:38.897764