]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
x86/microcode/intel: Remove redundant microcode late updated message
authorAshok Raj <ashok.raj@intel.com>
Wed, 29 Nov 2023 21:56:43 +0000 (13:56 -0800)
committerBorislav Petkov (AMD) <bp@alien8.de>
Fri, 1 Dec 2023 17:52:01 +0000 (18:52 +0100)
After successful update, the late loading routine prints an update
summary similar to:

  microcode: load: updated on 128 primary CPUs with 128 siblings
  microcode: revision: 0x21000170 -> 0x21000190

Remove the redundant message in the Intel side of the driver.

  [ bp: Massage commit message. ]

Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/ZWjYhedNfhAUmt0k@a4bf019067fa.jf.intel.com
arch/x86/kernel/cpu/microcode/intel.c

index 070426b9895feddb95cadb81aa92a5991cdad428..5d6ea875b81be7347c82942f28ad23a9e093a1ed 100644 (file)
@@ -457,12 +457,6 @@ static enum ucode_state apply_microcode_late(int cpu)
        if (ret != UCODE_UPDATED && ret != UCODE_OK)
                return ret;
 
-       if (!cpu && uci->cpu_sig.rev != cur_rev) {
-               pr_info("Updated to revision 0x%x, date = %04x-%02x-%02x\n",
-                       uci->cpu_sig.rev, mc->hdr.date & 0xffff, mc->hdr.date >> 24,
-                       (mc->hdr.date >> 16) & 0xff);
-       }
-
        cpu_data(cpu).microcode  = uci->cpu_sig.rev;
        if (!cpu)
                boot_cpu_data.microcode = uci->cpu_sig.rev;