From 53229425c72fd702d980a0b363becf6f2516e69f Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Fri, 1 Feb 2019 14:20:01 +0100 Subject: soc/intel/cpulib: Add debug message to mca_configure() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Idfe93e454cc0ce0d8e06e23beaddee2f11f5eedd Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/31199 Reviewed-by: Kyösti Mälkki Reviewed-by: Paul Menzel Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/soc/intel/common/block/cpu/cpulib.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/soc/intel/common') diff --git a/src/soc/intel/common/block/cpu/cpulib.c b/src/soc/intel/common/block/cpu/cpulib.c index d18b50cb3f..ece79d66ce 100644 --- a/src/soc/intel/common/block/cpu/cpulib.c +++ b/src/soc/intel/common/block/cpu/cpulib.c @@ -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; -- cgit v1.2.3