# 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.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux-gcc --version # < git log --format=%s --max-count=1 faf37c44a105f3608115785f17cbbf3500f8bc71 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- ppc64le_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- WARNING: modpost: Found 3 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc64le_defconfig_ppc64le # Build took: 0:02:36.982141