]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86, microcode: Verify the family before dispatching microcode patching
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 19 Apr 2013 23:36:03 +0000 (16:36 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 19 Apr 2013 23:36:03 +0000 (16:36 -0700)
commit74c3e3fcf350b2e7e3eaf9550528ee3f74e44b37
tree60413af0bbe1fff8afdc35f36719e8150d78b7af
parent7eff7ded02d1b15ba8321664839b353fa6c0c1e4
x86, microcode: Verify the family before dispatching microcode patching

For each CPU vendor that implements CPU microcode patching, there will
be a minimum family for which this is implemented.  Verify this
minimum level of support.

This can be done in the dispatch function or early in the application
functions.  Doing the latter turned out to be somewhat awkward because
of the ineviable split between the BSP and the AP paths, and rather
than pushing deep into the application functions, do this in
the dispatch function.

Reported-by: "Bryan O'Donoghue" <bryan.odonoghue.lkml@nexus-software.ie>
Suggested-by: Borislav Petkov <bp@alien8.de>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Link: http://lkml.kernel.org/r/1366392183-4149-1-git-send-email-bryan.odonoghue.lkml@nexus-software.ie
arch/x86/kernel/microcode_core_early.c