# 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/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 66f93c5a02d5ba6ef17fef459143961382593212 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc85xx_smp_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/cgroup/cgroup-v1.c: In function 'cgroup1_mount': /kisskb/src/kernel/cgroup/cgroup-v1.c:1256:20: warning: 'root' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:186:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2594:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1855:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': /kisskb/src/sound/soc/codecs/wm8960.c:803:70: warning: 'j' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c:800:68: warning: 'i' 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:341:21: note: 'pdeo' was declared here /kisskb/src/drivers/i2c/i2c-core-base.c: In function 'i2c_generic_scl_recovery': /kisskb/src/drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:19: note: 'i' was declared here /kisskb/src/fs/udf/unicode.c: In function 'udf_name_conv_char': /kisskb/src/fs/udf/unicode.c:132:8: warning: 'c' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1433:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] arch/powerpc/boot/dts/fsl/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/dts/fsl/mpc8555cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xc2da28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2da28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2da28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2da28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2da28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2da28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2da28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2da28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2da28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2da28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2da28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2da28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2da28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2da28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc2da28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc1d268) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:07:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5920043 Bytes = 5781.29 KiB = 5.65 MiB Load Address: 00d00000 Entry Point: 00d002b4 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:07:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5918669 Bytes = 5779.95 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002b4 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:07:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5919621 Bytes = 5780.88 KiB = 5.65 MiB Load Address: 00d00000 Entry Point: 00d002b4 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:07:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5918694 Bytes = 5779.97 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002f4 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:07:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5918484 Bytes = 5779.77 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002b4 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:07:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5918733 Bytes = 5780.01 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002f4 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:07:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5918300 Bytes = 5779.59 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002f4 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:07:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5918651 Bytes = 5779.93 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002b4 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:07:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5918420 Bytes = 5779.71 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002f4 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:07:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5919037 Bytes = 5780.31 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002b4 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:07:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5920111 Bytes = 5781.36 KiB = 5.65 MiB Load Address: 00d00000 Entry Point: 00d002b4 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:07:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5919411 Bytes = 5780.67 KiB = 5.65 MiB Load Address: 00d00000 Entry Point: 00d002b4 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:07:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5918302 Bytes = 5779.59 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002f4 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:07:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5888236 Bytes = 5750.23 KiB = 5.62 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:07:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5918647 Bytes = 5779.93 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002b4 Image Name: Linux-4.20.0-rc1-g66f93c5a02d5 Created: Thu Nov 15 20:07:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5918295 Bytes = 5779.58 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002b4 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc # Build took: 0:00:44.137999