x86/microcode/intel: Do not retry microcode reloading on the APs
authorAshok Raj <ashok.raj@intel.com>
Tue, 29 Nov 2022 21:08:27 +0000 (13:08 -0800)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 5 Dec 2022 20:22:21 +0000 (21:22 +0100)
commitbe1b670f61443aa5d0d01782e9b8ea0ee825d018
tree8715ba48ae77a8a0b9338a2254b17eca80b43e09
parent5b1586ab064ca24c6a7a6be7a9d0cb9e237ef39a
x86/microcode/intel: Do not retry microcode reloading on the APs

The retries in load_ucode_intel_ap() were in place to support systems
with mixed steppings. Mixed steppings are no longer supported and there is
only one microcode image at a time. Any retries will simply reattempt to
apply the same image over and over without making progress.

  [ bp: Zap the circumstantial reasoning from the commit message. ]

Fixes: 06b8534cb728 ("x86/microcode: Rework microcode loading")
Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20221129210832.107850-3-ashok.raj@intel.com
arch/x86/kernel/cpu/microcode/intel.c