<p>Marshall Dawson has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/25531">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">cpu/x86: Change Kconfig default for MTRR mirroring<br><br>Change the Kconfig default so that systems will set AP var. MTRRs to<br>pre-calculated settings, not necessarily the current settings of the<br>BSP.<br><br>Select the Kconfig symbol for Intel platforms that rely on the FSP to<br>program the MTRRs, and intentionally mirror the MTRRs.<br><br>BUG=b:77457944<br>TEST=Run AMD Padmelon and note var. MTRRs in sync in all CUs<br><br>Change-Id: I96f50af0589f7f046d3c56962d48e6a01eba5e8e<br>Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com><br>---<br>M src/cpu/x86/Kconfig<br>M src/soc/intel/common/block/cpu/Kconfig<br>2 files changed, 4 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/31/25531/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/cpu/x86/Kconfig b/src/cpu/x86/Kconfig</span><br><span>index 679505b..bc50e02 100644</span><br><span>--- a/src/cpu/x86/Kconfig</span><br><span>+++ b/src/cpu/x86/Kconfig</span><br><span>@@ -139,13 +139,14 @@</span><br><span> </span><br><span> config X86_AP_VMTRRS_MIRROR_BSP</span><br><span>  bool</span><br><span style="color: hsl(0, 100%, 40%);">-    default y</span><br><span style="color: hsl(120, 100%, 40%);">+     default n</span><br><span>    help</span><br><span>           Certain implementations may enter the common multi-processor</span><br><span>         initialization with the variable MTRRs already programmed, but</span><br><span>       others may elect to set them in the function member .pre_mp_init.</span><br><span>    This option allows the AP setup feature to exactly mirror the</span><br><span style="color: hsl(0, 100%, 40%);">-   BSP's MTRR settings.</span><br><span style="color: hsl(120, 100%, 40%);">+      BSP's MTRR settings.  The default is to use calculated settings,</span><br><span style="color: hsl(120, 100%, 40%);">+          allowing temp ranges to be used during POST.</span><br><span> </span><br><span> config PLATFORM_USES_FSP1_0</span><br><span>    bool</span><br><span>diff --git a/src/soc/intel/common/block/cpu/Kconfig b/src/soc/intel/common/block/cpu/Kconfig</span><br><span>index 48f3f16..6ec8967 100644</span><br><span>--- a/src/soc/intel/common/block/cpu/Kconfig</span><br><span>+++ b/src/soc/intel/common/block/cpu/Kconfig</span><br><span>@@ -10,6 +10,7 @@</span><br><span> config SOC_INTEL_COMMON_BLOCK_CPU_MPINIT</span><br><span>    bool</span><br><span>         default n</span><br><span style="color: hsl(120, 100%, 40%);">+     select X86_AP_VMTRRS_MIRROR_BSP</span><br><span>      help</span><br><span>           This option selects Intel Common CPU MP Init code. In</span><br><span>        this common MP Init mechanism, the MP Init is occurring before</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/25531">change 25531</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/25531"/><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: I96f50af0589f7f046d3c56962d48e6a01eba5e8e </div>
<div style="display:none"> Gerrit-Change-Number: 25531 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Marshall Dawson <marshalldawson3rd@gmail.com> </div>