]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit - arch/x86/kernel/cpu/microcode/core.c
x86/microcode: Make the late update update_lock a raw lock for RT
authorScott Wood <swood@redhat.com>
Thu, 24 May 2018 15:44:20 +0000 (10:44 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 27 May 2018 19:50:09 +0000 (21:50 +0200)
commitff987fcf011d20c53b3a613edf6e2055ea48e26e
tree08371cc583f07acdd3c0089ecfe16391b9bfd168
parentec30dcf7f425dc811ac365b5c4b0f097f98e569f
x86/microcode: Make the late update update_lock a raw lock for RT

__reload_late() is called from stop_machine context and thus cannot
acquire a non-raw spinlock on PREEMPT_RT.

Signed-off-by: Scott Wood <swood@redhat.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Clark Williams <williams@redhat.com>
Cc: Pei Zhang <pezhang@redhat.com>
Cc: x86-ml <x86@kernel.org>
Link: http://lkml.kernel.org/r/20180524154420.24455-1-swood@redhat.com
arch/x86/kernel/cpu/microcode/core.c