# git rev-parse -q --verify faf37c44a105f3608115785f17cbbf3500f8bc71^{commit} faf37c44a105f3608115785f17cbbf3500f8bc71 already have revision, skipping fetch # git checkout -q -f -B kisskb faf37c44a105f3608115785f17cbbf3500f8bc71 # git clean -qxdf # < git log -1 # commit faf37c44a105f3608115785f17cbbf3500f8bc71 # Author: Michael Neuling # Date: Fri May 18 11:37:42 2018 +1000 # # powerpc/64s: Clear PCR on boot # # Clear the PCR (Processor Compatibility Register) on boot to ensure we # are not running in a compatibility mode. # # We've seen this cause problems when a crash (and kdump) occurs while # running compat mode guests. The kdump kernel then runs with the PCR # set and causes problems. The symptom in the kdump kernel (also seen in # petitboot after fast-reboot) is early userspace programs taking # sigills on newer instructions (seen in libc). # # Signed-off-by: Michael Neuling # Cc: stable@vger.kernel.org # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 faf37c44a105f3608115785f17cbbf3500f8bc71 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_83xx_mpc8315_rdb_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 83xx/mpc8315_rdb_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_83xx_mpc8315_rdb_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x5ac268) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.17.0-rc2-gfaf37c4 Created: Sat May 19 00:52:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2896542 Bytes = 2828.65 kB = 2.76 MB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-fixes_83xx_mpc8315_rdb_defconfig_powerpc-5.3 # Build took: 0:00:40.600259