From: Borislav Petkov <b...@suse.de> Hi,
here's a small set which makes sure the microcode data checksum verification is done using u32s, as the SDM says and not what we did. The interesting part is that Chris Bainbridge caught this with UBSAN even though the SDM has been proclaiming using unsigned dwords already. The rest are some trivial cleanups which sprang out after me staring at microcode_sanity_check(). FWIW, it could use some more but that's for later. Patches ontop of tip/x86/microcode. Borislav Petkov (4): x86/microcode/intel: Get rid of DWSIZE x86/microcode/intel: Merge two consecutive if-statements x86/microcode/intel: Improve microcode sanity-checking error messages x86/microcode/intel: Drop orig_sum from ext signature checksum Chris Bainbridge (1): x86/microcode/intel: Change checksum variables to u32 arch/x86/include/asm/microcode_intel.h | 1 - arch/x86/kernel/cpu/microcode/intel_lib.c | 58 ++++++++++++++++++++----------- 2 files changed, 37 insertions(+), 22 deletions(-) -- 2.3.5