# 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 24 ARCH=powerpc O=/kisskb/build/linus_corenet32_smp_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- corenet32_smp_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/linus_corenet32_smp_defconfig_powerpc-gcc4.6 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:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1426:5: warning: 'page' 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:2591: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:1852:6: warning: 'ret' 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/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/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/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] INFO: Uncompressed kernel (size 0xd7012c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) Image Name: Linux-5.5.0-rc6-gf5ae2ea6347a Created: Thu Jan 16 18:45:54 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6351925 Bytes = 6203.05 KiB = 6.06 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/linus_corenet32_smp_defconfig_powerpc-gcc4.6 # Build took: 0:02:14.321668