
14 Mar
2016
14 Mar
'16
6:15 a.m.
On Sat, Mar 12, 2016 at 1:07 PM, Simon Glass sjg@chromium.org wrote:
As each core starts up, record its microcode version and CPU ID so these can be presented with the 'cpu detail' command.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v2:
- Don't try to read microcode version on quark
- Use gd->arch.x86_device instead of reading the device ID again
arch/x86/cpu/intel_common/microcode.c | 7 ++++++- arch/x86/cpu/mp_init.c | 5 +++++ arch/x86/include/asm/microcode.h | 9 +++++++++ 3 files changed, 20 insertions(+), 1 deletion(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com