x86, microcode, AMD: Add a small, per-family patches cache
commita3eb3b4da106a23b5d41bf915726172e31654a65
authorBorislav Petkov <borislav.petkov@amd.com>
Wed, 1 Aug 2012 13:38:18 +0000 (1 15:38 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 22 Aug 2012 23:16:21 +0000 (22 16:16 -0700)
treeeb8192823f4b15184eb631902aa785bb8195fbe7
parentc96d2c0905cc48e34f2b37b775b59932c416b343
x86, microcode, AMD: Add a small, per-family patches cache

This is a trivial cache which collects all ucode patches for the current
family of CPUs on the system. If a newer patch appears due to the
container file being updated in userspace, we replace our cached version
with the new one.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Link: http://lkml.kernel.org/r/1344361461-10076-12-git-send-email-bp@amd64.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/microcode_amd.c