# 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-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 faf37c44a105f3608115785f17cbbf3500f8bc71 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc40x_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc40x_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc40x_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:340:21: note: 'pdeo' was declared here /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:251:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:231:19: note: 'i' was declared here arch/powerpc/boot/ep405.dtb: Warning (pci_bridge): /plb/pci@ec000000: missing bus-range for PCI bridge arch/powerpc/boot/ep405.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/hotfoot.dtb: Warning (pci_bridge): /plb/pci@ec000000: missing bus-range for PCI bridge arch/powerpc/boot/hotfoot.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/walnut.dtb: Warning (pci_bridge): /plb/pci@ec000000: missing bus-range for PCI bridge arch/powerpc/boot/walnut.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x507774) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x507774) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x507774) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x4f7100) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x507774) 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:09:32 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2508898 Bytes = 2450.10 kB = 2.39 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.17.0-rc2-gfaf37c4 Created: Sat May 19 00:09:32 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2536751 Bytes = 2477.30 kB = 2.42 MB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-4.17.0-rc2-gfaf37c4 Created: Sat May 19 00:09:32 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2536658 Bytes = 2477.21 kB = 2.42 MB Load Address: 00600000 Entry Point: 00601350 Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc40x_defconfig_powerpc # Build took: 0:00:35.684413