# 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/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ld --version # < git log --format=%s --max-count=1 f5ae2ea6347a308cfe91f53b53682ce635497d0d # < make -s -j 32 ARCH=arm O=/kisskb/build/linus_mmp2_defconfig_arm CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- mmp2_defconfig # make -s -j 32 ARCH=arm O=/kisskb/build/linus_mmp2_defconfig_arm CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- /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/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 WARNING: vmlinux.o(.text.unlikely+0x7e0): Section mismatch in reference from the function mmp2_add_uart() to the function .init.text:pxa_register_device() The function mmp2_add_uart() references the function __init pxa_register_device(). This is often because mmp2_add_uart lacks a __init annotation or the annotation of pxa_register_device is wrong. WARNING: vmlinux.o(.text.unlikely+0x7ec): Section mismatch in reference from the function mmp2_add_uart() to the variable .init.data:mmp2_device_uart1 The function mmp2_add_uart() references the variable __initdata mmp2_device_uart1. This is often because mmp2_add_uart lacks a __initdata annotation or the annotation of mmp2_device_uart1 is wrong. WARNING: vmlinux.o(.text.unlikely+0x7f0): Section mismatch in reference from the function mmp2_add_uart() to the variable .init.data:mmp2_device_uart3 The function mmp2_add_uart() references the variable __initdata mmp2_device_uart3. This is often because mmp2_add_uart lacks a __initdata annotation or the annotation of mmp2_device_uart3 is wrong. WARNING: vmlinux.o(.text.unlikely+0x7f4): Section mismatch in reference from the function mmp2_add_uart() to the variable .init.data:mmp2_device_uart4 The function mmp2_add_uart() references the variable __initdata mmp2_device_uart4. This is often because mmp2_add_uart lacks a __initdata annotation or the annotation of mmp2_device_uart4 is wrong. WARNING: vmlinux.o(.text.unlikely+0x7f8): Section mismatch in reference from the function mmp2_add_uart() to the variable .init.data:mmp2_device_uart2 The function mmp2_add_uart() references the variable __initdata mmp2_device_uart2. This is often because mmp2_add_uart lacks a __initdata annotation or the annotation of mmp2_device_uart2 is wrong. WARNING: vmlinux.o(.text.unlikely+0x838): Section mismatch in reference from the function mmp2_add_sdhost() to the function .init.text:pxa_register_device() The function mmp2_add_sdhost() references the function __init pxa_register_device(). This is often because mmp2_add_sdhost lacks a __init annotation or the annotation of pxa_register_device is wrong. WARNING: vmlinux.o(.text.unlikely+0x844): Section mismatch in reference from the function mmp2_add_sdhost() to the variable .init.data:mmp2_device_sdh0 The function mmp2_add_sdhost() references the variable __initdata mmp2_device_sdh0. This is often because mmp2_add_sdhost lacks a __initdata annotation or the annotation of mmp2_device_sdh0 is wrong. WARNING: vmlinux.o(.text.unlikely+0x848): Section mismatch in reference from the function mmp2_add_sdhost() to the variable .init.data:mmp2_device_sdh2 The function mmp2_add_sdhost() references the variable __initdata mmp2_device_sdh2. This is often because mmp2_add_sdhost lacks a __initdata annotation or the annotation of mmp2_device_sdh2 is wrong. WARNING: vmlinux.o(.text.unlikely+0x84c): Section mismatch in reference from the function mmp2_add_sdhost() to the variable .init.data:mmp2_device_sdh3 The function mmp2_add_sdhost() references the variable __initdata mmp2_device_sdh3. This is often because mmp2_add_sdhost lacks a __initdata annotation or the annotation of mmp2_device_sdh3 is wrong. WARNING: vmlinux.o(.text.unlikely+0x850): Section mismatch in reference from the function mmp2_add_sdhost() to the variable .init.data:mmp2_device_sdh1 The function mmp2_add_sdhost() references the variable __initdata mmp2_device_sdh1. This is often because mmp2_add_sdhost lacks a __initdata annotation or the annotation of mmp2_device_sdh1 is wrong. WARNING: vmlinux.o(.text.unlikely+0x898): Section mismatch in reference from the function mmp2_add_uart() to the function .init.text:pxa_register_device() The function mmp2_add_uart() references the function __init pxa_register_device(). This is often because mmp2_add_uart lacks a __init annotation or the annotation of pxa_register_device is wrong. WARNING: vmlinux.o(.text.unlikely+0x8a4): Section mismatch in reference from the function mmp2_add_uart() to the variable .init.data:mmp2_device_uart1 The function mmp2_add_uart() references the variable __initdata mmp2_device_uart1. This is often because mmp2_add_uart lacks a __initdata annotation or the annotation of mmp2_device_uart1 is wrong. WARNING: vmlinux.o(.text.unlikely+0x8a8): Section mismatch in reference from the function mmp2_add_uart() to the variable .init.data:mmp2_device_uart3 The function mmp2_add_uart() references the variable __initdata mmp2_device_uart3. This is often because mmp2_add_uart lacks a __initdata annotation or the annotation of mmp2_device_uart3 is wrong. WARNING: vmlinux.o(.text.unlikely+0x8ac): Section mismatch in reference from the function mmp2_add_uart() to the variable .init.data:mmp2_device_uart4 The function mmp2_add_uart() references the variable __initdata mmp2_device_uart4. This is often because mmp2_add_uart lacks a __initdata annotation or the annotation of mmp2_device_uart4 is wrong. WARNING: vmlinux.o(.text.unlikely+0x8b0): Section mismatch in reference from the function mmp2_add_uart() to the variable .init.data:mmp2_device_uart2 The function mmp2_add_uart() references the variable __initdata mmp2_device_uart2. This is often because mmp2_add_uart lacks a __initdata annotation or the annotation of mmp2_device_uart2 is wrong. WARNING: vmlinux.o(.text.unlikely+0x8f8): Section mismatch in reference from the function mmp2_add_uart() to the function .init.text:pxa_register_device() The function mmp2_add_uart() references the function __init pxa_register_device(). This is often because mmp2_add_uart lacks a __init annotation or the annotation of pxa_register_device is wrong. WARNING: vmlinux.o(.text.unlikely+0x904): Section mismatch in reference from the function mmp2_add_uart() to the variable .init.data:mmp2_device_uart1 The function mmp2_add_uart() references the variable __initdata mmp2_device_uart1. This is often because mmp2_add_uart lacks a __initdata annotation or the annotation of mmp2_device_uart1 is wrong. WARNING: vmlinux.o(.text.unlikely+0x908): Section mismatch in reference from the function mmp2_add_uart() to the variable .init.data:mmp2_device_uart3 The function mmp2_add_uart() references the variable __initdata mmp2_device_uart3. This is often because mmp2_add_uart lacks a __initdata annotation or the annotation of mmp2_device_uart3 is wrong. WARNING: vmlinux.o(.text.unlikely+0x90c): Section mismatch in reference from the function mmp2_add_uart() to the variable .init.data:mmp2_device_uart4 The function mmp2_add_uart() references the variable __initdata mmp2_device_uart4. This is often because mmp2_add_uart lacks a __initdata annotation or the annotation of mmp2_device_uart4 is wrong. WARNING: vmlinux.o(.text.unlikely+0x910): Section mismatch in reference from the function mmp2_add_uart() to the variable .init.data:mmp2_device_uart2 The function mmp2_add_uart() references the variable __initdata mmp2_device_uart2. This is often because mmp2_add_uart lacks a __initdata annotation or the annotation of mmp2_device_uart2 is wrong. Completed OK # rm -rf /kisskb/build/linus_mmp2_defconfig_arm # Build took: 0:00:57.328212