# 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 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_rainier_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/rainier_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_rainier_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- arch/powerpc/boot/rainier.dtb: Warning (pci_bridge): /plb/pci@1ec000000: missing bus-range for PCI bridge arch/powerpc/boot/rainier.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x49f8d8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-4.17.0-rc2-gfaf37c4 Created: Sat May 19 00:54:30 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2263853 Bytes = 2210.79 kB = 2.16 MB Load Address: 00500000 Entry Point: 00501104 Completed OK # rm -rf /kisskb/build/powerpc-fixes_44x_rainier_defconfig_powerpc-5.3 # Build took: 0:00:38.715461