# 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_mpc85xx_smp_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_smp_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:10:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:77:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ arch/powerpc/boot/mpc8541cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/mpc8548cds_32b.dtb: Warning (pci_bridge): /pcie@e000a000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/mpc8548cds_32b.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/mpc8555cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/sbc8548.dtb: Warning (pci_bridge): /pcie@e000a000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/sbc8548.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/mpc8572ds.dtb: Warning (pci_bridge): /pcie@ffe08000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/mpc8572ds.dtb: Warning (pci_bridge): /pcie@ffe09000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/mpc8572ds.dtb: Warning (pci_bridge): /pcie@ffe0a000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/mpc8572ds.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/mpc8568mds.dtb: Warning (pci_bridge): /pcie@e000a000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/mpc8568mds.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/tqm8548.dtb: Warning (pci_bridge): /pcie@e000a000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/tqm8548.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/mpc8544ds.dtb: Warning (pci_bridge): /pcie@e0009000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/mpc8544ds.dtb: Warning (pci_bridge): /pcie@e000a000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/mpc8544ds.dtb: Warning (pci_bridge): /pcie@e000b000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/mpc8544ds.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0xbe966c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe966c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe966c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe966c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe966c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe966c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe966c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe966c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe966c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe966c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe966c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe966c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe966c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe966c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbe966c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd8eb4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.17.0-rc2-gfaf37c4 Created: Sat May 19 00:47:13 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5844102 Bytes = 5707.13 kB = 5.57 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.17.0-rc2-gfaf37c4 Created: Sat May 19 00:47:13 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5867921 Bytes = 5730.39 kB = 5.60 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.17.0-rc2-gfaf37c4 Created: Sat May 19 00:47:13 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5867823 Bytes = 5730.30 kB = 5.60 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.17.0-rc2-gfaf37c4 Created: Sat May 19 00:47:13 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5867963 Bytes = 5730.43 kB = 5.60 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.17.0-rc2-gfaf37c4 Created: Sat May 19 00:47:15 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5869502 Bytes = 5731.94 kB = 5.60 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.17.0-rc2-gfaf37c4 Created: Sat May 19 00:47:16 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5868665 Bytes = 5731.12 kB = 5.60 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.17.0-rc2-gfaf37c4 Created: Sat May 19 00:47:16 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5868116 Bytes = 5730.58 kB = 5.60 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.17.0-rc2-gfaf37c4 Created: Sat May 19 00:47:17 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5868313 Bytes = 5730.77 kB = 5.60 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.17.0-rc2-gfaf37c4 Created: Sat May 19 00:47:17 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5868073 Bytes = 5730.54 kB = 5.60 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.17.0-rc2-gfaf37c4 Created: Sat May 19 00:47:17 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5868961 Bytes = 5731.41 kB = 5.60 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.17.0-rc2-gfaf37c4 Created: Sat May 19 00:47:17 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5868749 Bytes = 5731.20 kB = 5.60 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.17.0-rc2-gfaf37c4 Created: Sat May 19 00:47:17 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5868009 Bytes = 5730.48 kB = 5.60 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.17.0-rc2-gfaf37c4 Created: Sat May 19 00:47:18 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5868579 Bytes = 5731.03 kB = 5.60 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.17.0-rc2-gfaf37c4 Created: Sat May 19 00:47:18 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5867922 Bytes = 5730.39 kB = 5.60 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.17.0-rc2-gfaf37c4 Created: Sat May 19 00:47:18 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5868010 Bytes = 5730.48 kB = 5.60 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.17.0-rc2-gfaf37c4 Created: Sat May 19 00:47:18 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5868366 Bytes = 5730.83 kB = 5.60 MB Load Address: 00c00000 Entry Point: 00c0020c Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-5.3 # Build took: 0:01:46.745020