]> git.baikalelectronics.ru Git - kernel.git/commit
x86/microcode: Remove unnecessary perf callback
authorBorislav Petkov <bp@suse.de>
Wed, 25 May 2022 16:12:32 +0000 (18:12 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 31 May 2022 07:31:19 +0000 (09:31 +0200)
commitc6f57d37b1dd945838e80e53ec4056db35d37187
tree8b6282ef09d39f6ffeb1d97799fa600f5912cd91
parent6ea6e67a260b799934869819ead3cad01f9f314a
x86/microcode: Remove unnecessary perf callback

93f201ec93a3 ("perf/x86: Add a microcode revision check for SNB-PEBS")
checks whether the microcode revision has fixed PEBS issues.

This can happen either:

1. At PEBS init time, where the early microcode has been loaded already

2. During late loading, in the microcode_check() callback.

So remove the unnecessary call in the microcode loader init routine.

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20220525161232.14924-5-bp@alien8.de
arch/x86/kernel/cpu/microcode/core.c