]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:41:48 +0000 (11:41 +0100)
commitbfd349f22fa6224d8cd2eaff553c0534c6168b5e
treeb1a16ac041f3c56598da6059a49d952f42023661
parentc8e4b3fd950470b6516035e1824883984d1ec0dd
x86/microcode/intel: Do not retry microcode reloading on the APs

commit be1b670f61443aa5d0d01782e9b8ea0ee825d018 upstream.

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: 4e6e096908cb ("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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/cpu/microcode/intel.c