<p>Pratikkumar V Prajapati has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/26392">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/intel/skylake: clear MCA before booting to OS<br><br>mca_configure needs to be called for each core before<br>booting to OS, else OS would keep dumping MCEs<br><br>Change-Id: I95ca46fda7be65d74714bdb344e339922cbb6305<br>Signed-off-by: Pratik Prajapati <pratikkumar.v.prajapati@intel.com><br>---<br>M src/soc/intel/skylake/finalize.c<br>1 file changed, 7 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/92/26392/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/soc/intel/skylake/finalize.c b/src/soc/intel/skylake/finalize.c</span><br><span>index 25b7484..99b7e3f 100644</span><br><span>--- a/src/soc/intel/skylake/finalize.c</span><br><span>+++ b/src/soc/intel/skylake/finalize.c</span><br><span>@@ -2,7 +2,7 @@</span><br><span>  * This file is part of the coreboot project.</span><br><span>  *</span><br><span>  * Copyright (C) 2014 Google Inc.</span><br><span style="color: hsl(0, 100%, 40%);">- * Copyright (C) 2015 Intel Corporation.</span><br><span style="color: hsl(120, 100%, 40%);">+ * Copyright (C) 2015-2018 Intel Corporation.</span><br><span>  *</span><br><span>  * This program is free software; you can redistribute it and/or modify</span><br><span>  * it under the terms of the GNU General Public License as published by</span><br><span>@@ -19,8 +19,10 @@</span><br><span> #include <chip.h></span><br><span> #include <console/console.h></span><br><span> #include <console/post_codes.h></span><br><span style="color: hsl(120, 100%, 40%);">+#include <cpu/x86/mp.h></span><br><span> #include <cpu/x86/smm.h></span><br><span> #include <device/pci.h></span><br><span style="color: hsl(120, 100%, 40%);">+#include <intelblocks/cpulib.h></span><br><span> #include <intelblocks/lpc_lib.h></span><br><span> #include <intelblocks/pcr.h></span><br><span> #include <reg_script.h></span><br><span>@@ -34,6 +36,7 @@</span><br><span> #include <soc/systemagent.h></span><br><span> #include <soc/thermal.h></span><br><span> #include <stdlib.h></span><br><span style="color: hsl(120, 100%, 40%);">+#include <timer.h></span><br><span> </span><br><span> #define PSF_BASE_ADDRESS        0xA00</span><br><span> #define PCR_PSFX_T0_SHDW_PCIEN 0x1C</span><br><span>@@ -176,6 +179,9 @@</span><br><span> {</span><br><span>      printk(BIOS_DEBUG, "Finalizing chipset.\n");</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+    printk(BIOS_DEBUG, "Clearing MCA.\n");</span><br><span style="color: hsl(120, 100%, 40%);">+      mp_run_on_all_cpus(mca_configure, NULL, 14 * USECS_PER_MSEC);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>      pch_finalize_script();</span><br><span> </span><br><span>   soc_lockdown();</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/26392">change 26392</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/26392"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I95ca46fda7be65d74714bdb344e339922cbb6305 </div>
<div style="display:none"> Gerrit-Change-Number: 26392 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pratikkumar V Prajapati <pratikkumar.v.prajapati@intel.com> </div>