x86: ucode-amd: Load ucode-patches once and not separately of each CPU
authorAndreas Herrmann <herrmann.der.user@googlemail.com>
Tue, 10 Nov 2009 11:07:23 +0000 (12:07 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 10 Nov 2009 11:15:48 +0000 (12:15 +0100)
commitd1c84f79a6ba992dc01e312c44a21496303874d6
tree1d15af2e65759cc25132cdfffebea7f710bfdb07
parent6e18da75c28b592594fd632cf3e6eb09d3d078de
x86: ucode-amd: Load ucode-patches once and not separately of each CPU

This also implies that corresponding log messages, e.g.

  platform microcode: firmware: requesting amd-ucode/microcode_amd.bin

show up only once on module load and not when ucode is updated
for each CPU.

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Cc: dimm <dmitry.adamushko@gmail.com>
LKML-Reference: <20091110110723.GH30802@alberich.amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/microcode.h
arch/x86/kernel/microcode_amd.c
arch/x86/kernel/microcode_core.c