soc/intel/cpulib: Add debug message to mca_configure()

Change-Id: Idfe93e454cc0ce0d8e06e23beaddee2f11f5eedd
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/c/31199
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Nico Huber 2019-02-01 14:20:01 +01:00 committed by Patrick Georgi
parent 5aba3a2c06
commit 53229425c7
1 changed files with 2 additions and 0 deletions

View File

@ -323,6 +323,8 @@ void mca_configure(void *unused)
int i;
int num_banks;
printk(BIOS_DEBUG, "Clearing out pending MCEs\n");
msr = rdmsr(IA32_MCG_CAP);
num_banks = msr.lo & 0xff;
msr.lo = msr.hi = 0;