<p style="white-space: pre-wrap; word-wrap: break-word;">Thanks for bringing me back to this :)</p><p><a href="https://review.coreboot.org/c/coreboot/+/30229">View Change</a></p><p>5 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/30229/1/src/cpu/intel/common/Kconfig">File src/cpu/intel/common/Kconfig:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/30229/1/src/cpu/intel/common/Kconfig@11">Patch Set #1, Line 11:</a> <code style="font-family:monospace,monospace"> after configuring VMX</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">scratch this</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/30229/1/src/cpu/intel/common/Kconfig@12">Patch Set #1, Line 12:</a> <code style="font-family:monospace,monospace">    depends on ENABLE_VMX</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">and this</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/30229/1/src/cpu/intel/common/common_init.c">File src/cpu/intel/common/common_init.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/30229/1/src/cpu/intel/common/common_init.c@24">Patch Set #1, Line 24:</a> <code style="font-family:monospace,monospace">void set_vmx(void)</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">How about renaming this one to set_feature_ctrl_vmx() and keep set_vmx() with the old behaviour:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">    void set_vmx(void)<br>    {<br>            set_feature_ctrl_vmx();<br>            set_feature_cltr_lock();<br>    }</pre><p style="white-space: pre-wrap; word-wrap: break-word;">would save you all the hassle with the callers, and in cases where we have configuration and locking in separate locations, we can still call them individually.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/30229/1/src/cpu/intel/common/common_init.c@75">Patch Set #1, Line 75:</a> <code style="font-family:monospace,monospace">VMX locked. </code></p><p style="white-space: pre-wrap; word-wrap: break-word;">scratch this</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/30229/1/src/cpu/intel/fsp_model_406dx/model_406dx_init.c">File src/cpu/intel/fsp_model_406dx/model_406dx_init.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/30229/1/src/cpu/intel/fsp_model_406dx/model_406dx_init.c@152">Patch Set #1, Line 152:</a> <code style="font-family:monospace,monospace">  set_feature_ctrl_lock();</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">should be locked in finalize step of cpu_dev_ops. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">I agree, but it has to be run on the APs too which seems a bigger change.</p></li></ul></li></ul><p>To view, visit <a href="https://review.coreboot.org/c/coreboot/+/30229">change 30229</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/c/coreboot/+/30229"/><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-Change-Id: Iee772fe87306b4729ca012cef8640d3858e2cb06 </div>
<div style="display:none"> Gerrit-Change-Number: 30229 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Matt DeVillier <matt.devillier@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: David Guckian <david.guckian@intel.com> </div>
<div style="display:none"> Gerrit-Reviewer: Matt DeVillier <matt.devillier@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Nico Huber <nico.h@gmx.de> </div>
<div style="display:none"> Gerrit-Reviewer: Patrick Rudolph <siro@das-labor.org> </div>
<div style="display:none"> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Sat, 15 Dec 2018 12:27:46 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: Patrick Rudolph <siro@das-labor.org> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>