Revert "x86: ucode-amd: Load ucode-patches once ..."
authorAndreas Herrmann <andreas.herrmann3@amd.com>
Fri, 22 Jan 2010 20:34:56 +0000 (21:34 +0100)
committerIngo Molnar <mingo@elte.hu>
Sat, 23 Jan 2010 05:21:59 +0000 (06:21 +0100)
commit3b2e3d85aeb80769fb96c15ee4f6e14135328471
treebbf76624a4732792825031e750bc44f4007850ea
parent73472a46b5b28116b145fb5fc05242c1aa8e1461
Revert "x86: ucode-amd: Load ucode-patches once ..."

Commit d1c84f79a6ba992dc01e312c44a21496303874d6
leads to a regression when microcode_amd.c is compiled into the kernel.
It causes a big boot delay because the firmware is not available.
See http://marc.info/?l=linux-kernel&m=126267290920060

It also renders the reload sysfs attribute useless.
Fixing this is too intrusive for an -rc5 kernel.

Thus I'd like to restore the microcode loading behaviour of kernel
2.6.32.

CC: Gene Heskett <gene.heskett@verizon.net>
Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
LKML-Reference: <20100122203456.GB13792@alberich.amd.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/include/asm/microcode.h
arch/x86/kernel/microcode_amd.c
arch/x86/kernel/microcode_core.c