# git rev-parse -q --verify f5ae2ea6347a308cfe91f53b53682ce635497d0d^{commit} f5ae2ea6347a308cfe91f53b53682ce635497d0d already have revision, skipping fetch # git checkout -q -f -B kisskb f5ae2ea6347a308cfe91f53b53682ce635497d0d # git clean -qxdf # < git log -1 # commit f5ae2ea6347a308cfe91f53b53682ce635497d0d # Author: Jari Ruusu # Date: Sun Jan 12 15:00:53 2020 +0200 # # Fix built-in early-load Intel microcode alignment # # Intel Software Developer's Manual, volume 3, chapter 9.11.6 says: # # "Note that the microcode update must be aligned on a 16-byte boundary # and the size of the microcode update must be 1-KByte granular" # # When early-load Intel microcode is loaded from initramfs, userspace tool # 'iucode_tool' has already 16-byte aligned those microcode bits in that # initramfs image. Image that was created something like this: # # iucode_tool --write-earlyfw=FOO.cpio microcode-files... # # However, when early-load Intel microcode is loaded from built-in # firmware BLOB using CONFIG_EXTRA_FIRMWARE= kernel config option, that # 16-byte alignment is not guaranteed. # # Fix this by forcing all built-in firmware BLOBs to 16-byte alignment. # # [ If we end up having other firmware with much bigger alignment # requirements, we might need to introduce some method for the firmware # to specify it, this is the minimal "just increase the alignment a bit # to account for this one special case" patch - Linus ] # # Signed-off-by: Jari Ruusu # Cc: Borislav Petkov # Cc: Fenghua Yu # Cc: Luis Chamberlain # Cc: stable@kernel.org # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 f5ae2ea6347a308cfe91f53b53682ce635497d0d # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc44x_defconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/net/bridge/br_netlink.c: In function 'br_afspec.isra.37': /kisskb/src/net/bridge/br_netlink.c:648:7: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/ext4/extents.c: In function 'ext4_convert_unwritten_io_end_vec': /kisskb/src/fs/ext4/extents.c:5054:23: warning: 'ret' 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:204: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:338: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:248:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:228:19: note: 'i' was declared here /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1836:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1749:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/usb/core/devio.c: In function 'async_completed': /kisskb/src/drivers/usb/core/devio.c:625:23: warning: 'errno' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:404.26-443.5: 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 0x588254) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x588254) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x588254) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x588254) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x588254) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x588254) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x588254) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x588254) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x588254) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x577bd4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x588254) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x588254) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.5.0-rc6-gf5ae2ea6347a Created: Thu Jan 16 17:56:57 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2797272 Bytes = 2731.71 KiB = 2.67 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.5.0-rc6-gf5ae2ea6347a Created: Thu Jan 16 17:56:57 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2828710 Bytes = 2762.41 KiB = 2.70 MiB Load Address: 00600000 Entry Point: 006014ec Image Name: Linux-5.5.0-rc6-gf5ae2ea6347a Created: Thu Jan 16 17:56:57 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2829235 Bytes = 2762.92 KiB = 2.70 MiB Load Address: 00600000 Entry Point: 006014c0 Image Name: Linux-5.5.0-rc6-gf5ae2ea6347a Created: Thu Jan 16 17:56:57 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2829213 Bytes = 2762.90 KiB = 2.70 MiB Load Address: 00600000 Entry Point: 006014e0 Image Name: Linux-5.5.0-rc6-gf5ae2ea6347a Created: Thu Jan 16 17:56:57 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2829234 Bytes = 2762.92 KiB = 2.70 MiB Load Address: 00600000 Entry Point: 006014d8 Image Name: Linux-5.5.0-rc6-gf5ae2ea6347a Created: Thu Jan 16 17:56:57 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2829117 Bytes = 2762.81 KiB = 2.70 MiB Load Address: 00600000 Entry Point: 006000c8 Image Name: Linux-5.5.0-rc6-gf5ae2ea6347a Created: Thu Jan 16 17:56:57 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2828730 Bytes = 2762.43 KiB = 2.70 MiB Load Address: 00600000 Entry Point: 006014e0 Image Name: Linux-5.5.0-rc6-gf5ae2ea6347a Created: Thu Jan 16 17:56:57 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2828573 Bytes = 2762.28 KiB = 2.70 MiB Load Address: 00600000 Entry Point: 006001bc Image Name: Linux-5.5.0-rc6-gf5ae2ea6347a Created: Thu Jan 16 17:56:57 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2828738 Bytes = 2762.44 KiB = 2.70 MiB Load Address: 00600000 Entry Point: 006014e0 Image Name: Linux-5.5.0-rc6-gf5ae2ea6347a Created: Thu Jan 16 17:56:57 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2828677 Bytes = 2762.38 KiB = 2.70 MiB Load Address: 00600000 Entry Point: 006014cc Completed OK # rm -rf /kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.6 # Build took: 0:00:53.242347