<p>Frans Hendriks has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/29370">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">src/soc/intel/braswell/northcluster.c: Reserve of local APIC<br><br>The resources of the local APIC are not reserved.<br>Use mmio_resource() to add local APIC resource.<br><br>BUG=N/A<br>TEST=Intel CherryHill CRB<br><br>Change-Id: I58b69f8efb109c31f967eef2f7b6b3d5eeaa66fd<br>Signed-off-by: Frans Hendriks <fhendriks@eltan.com><br>---<br>M src/soc/intel/braswell/northcluster.c<br>1 file changed, 8 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/70/29370/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/soc/intel/braswell/northcluster.c b/src/soc/intel/braswell/northcluster.c</span><br><span>index ea64483..0b21682 100644</span><br><span>--- a/src/soc/intel/braswell/northcluster.c</span><br><span>+++ b/src/soc/intel/braswell/northcluster.c</span><br><span>@@ -22,6 +22,7 @@</span><br><span> #include <device/pci.h></span><br><span> #include <device/pci_ids.h></span><br><span> #include <fsp/memmap.h></span><br><span style="color: hsl(120, 100%, 40%);">+#include <cpu/x86/lapic.h></span><br><span> #include <fsp/util.h></span><br><span> #include <soc/iomap.h></span><br><span> #include <soc/iosf.h></span><br><span>@@ -149,6 +150,13 @@</span><br><span>         reserved_ram_resource(dev, index++, (0xc0000 >> 10),</span><br><span>                         (0x100000 - 0xc0000) >> 10);</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+  /*</span><br><span style="color: hsl(120, 100%, 40%);">+     * Reserve local APIC</span><br><span style="color: hsl(120, 100%, 40%);">+  */</span><br><span style="color: hsl(120, 100%, 40%);">+   base_k = RES_IN_KIB(LAPIC_DEFAULT_BASE);</span><br><span style="color: hsl(120, 100%, 40%);">+      size_k = (0x00100000/1024);</span><br><span style="color: hsl(120, 100%, 40%);">+   mmio_resource(dev, index++, base_k, size_k);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>       if (IS_ENABLED(CONFIG_CHROMEOS))</span><br><span>             chromeos_reserve_ram_oops(dev, index++);</span><br><span> }</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/29370">change 29370</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/29370"/><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: I58b69f8efb109c31f967eef2f7b6b3d5eeaa66fd </div>
<div style="display:none"> Gerrit-Change-Number: 29370 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Frans Hendriks <fhendriks@eltan.com> </div>