# git rev-parse -q --verify 66f93c5a02d5ba6ef17fef459143961382593212^{commit} 66f93c5a02d5ba6ef17fef459143961382593212 already have revision, skipping fetch # git checkout -q -f -B kisskb 66f93c5a02d5ba6ef17fef459143961382593212 # git clean -qxdf # < git log -1 # commit 66f93c5a02d5ba6ef17fef459143961382593212 # Author: Nicholas Piggin # Date: Thu Nov 15 12:34:27 2018 +1000 # # powerpc/64: Fix kernel stack 16-byte alignment # # Commit 4c2de74cc869 ("powerpc/64: Interrupts save PPR on stack rather # than thread_struct") changed sizeof(struct pt_regs) % 16 from 0 to 8, # which causes the interrupt frame allocation on kernel entry to put the # kernel stack out of alignment. # # Quadword (16-byte) alignment for the stack is required by both the # 64-bit v1 ABI (v1.9 § 3.2.2) and the 64-bit v2 ABI (v1.1 § 2.2.2.1). # # Add a pad field to fix alignment, and add a BUILD_BUG_ON to catch this # in future. # # Fixes: 4c2de74cc869 ("powerpc/64: Interrupts save PPR on stack rather than thread_struct") # Signed-off-by: Nicholas Piggin # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 66f93c5a02d5ba6ef17fef459143961382593212 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- arch/powerpc/boot/dts/katmai.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5437f0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:27:35 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2744652 Bytes = 2680.32 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 006000d0 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:27:35 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2744772 Bytes = 2680.44 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601520 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:27:35 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2744605 Bytes = 2680.28 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601538 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:27:35 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2744526 Bytes = 2680.20 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 006001c4 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:27:35 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2744554 Bytes = 2680.23 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601530 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:27:35 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2744602 Bytes = 2680.28 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601540 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:27:35 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2744621 Bytes = 2680.29 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601550 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:27:35 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2713053 Bytes = 2649.47 KiB = 2.59 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:27:35 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2744629 Bytes = 2680.30 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601540 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:27:35 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2744736 Bytes = 2680.41 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601540 Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc-gcc5 # Build took: 0:00:20.360948