# 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/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 f5ae2ea6347a308cfe91f53b53682ce635497d0d # < make -s -j 24 ARCH=mips O=/kisskb/build/linus_mips-defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- defconfig # make -s -j 24 ARCH=mips O=/kisskb/build/linus_mips-defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- FIT description: Linux 5.5.0-rc6-gf5ae2ea6347a Created: Thu Jan 16 19:18:06 2020 Image 0 (kernel@0) Description: Linux 5.5.0-rc6-gf5ae2ea6347a Created: Thu Jan 16 19:18:06 2020 Type: Kernel Image Compression: gzip compressed Data Size: 4829912 Bytes = 4716.71 KiB = 4.61 MiB Architecture: MIPS OS: Linux Load Address: 0x80100000 Entry Point: 0x808efa90 Hash algo: sha1 Hash value: 977bf1a9df7a5a286b5e03573e470e00598de7bc Image 1 (fdt@boston) Description: img,boston Device Tree Created: Thu Jan 16 19:18:06 2020 Type: Flat Device Tree Compression: uncompressed Data Size: 3793 Bytes = 3.70 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 4799f50d688573234da6e9d7701234d394759ef4 Image 2 (fdt@ni169445) Description: NI 169445 device tree Created: Thu Jan 16 19:18:06 2020 Type: Flat Device Tree Compression: uncompressed Data Size: 1871 Bytes = 1.83 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 51b89b31605ee62038c8468c429af091dfc75ec7 Image 3 (fdt@ocelot_pcb123) Description: MSCC Ocelot PCB123 Device Tree Created: Thu Jan 16 19:18:06 2020 Type: Flat Device Tree Compression: uncompressed Data Size: 4639 Bytes = 4.53 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 018897896b42c41c943aca35a20e4300dba250c8 Image 4 (fdt@ocelot_pcb120) Description: MSCC Ocelot PCB120 Device Tree Created: Thu Jan 16 19:18:06 2020 Type: Flat Device Tree Compression: uncompressed Data Size: 5198 Bytes = 5.08 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 36c7bd0bd79cfc2f7dd6acda6c7996294f4967e6 Image 5 (fdt@xilfpga) Description: MIPSfpga (xilfpga) Device Tree Created: Thu Jan 16 19:18:06 2020 Type: Flat Device Tree Compression: uncompressed Data Size: 2708 Bytes = 2.64 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 63d058b780f65e22da30f0a183433765f1807f1d Default Configuration: 'conf@default' Configuration 0 (conf@default) Description: Generic Linux kernel Kernel: kernel@0 Configuration 1 (conf@boston) Description: Boston Linux kernel Kernel: kernel@0 FDT: fdt@boston Configuration 2 (conf@ni169445) Description: NI 169445 Linux Kernel Kernel: kernel@0 FDT: fdt@ni169445 Configuration 3 (conf@ocelot_pcb123) Description: Ocelot Linux kernel Kernel: kernel@0 FDT: fdt@ocelot_pcb123 Configuration 4 (conf@ocelot_pcb120) Description: Ocelot Linux kernel Kernel: kernel@0 FDT: fdt@ocelot_pcb120 Configuration 5 (conf@xilfpga) Description: MIPSfpga Linux kernel Kernel: kernel@0 FDT: fdt@xilfpga Completed OK # rm -rf /kisskb/build/linus_mips-defconfig_mips-gcc8 # Build took: 0:02:25.320486