<p>Marshall Dawson has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/21751">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">WIP amd/stoneyridge: Add placeholder for SlpTyp handler in SMI<br><br>The S3 suspend flow involves trapping on a SlpTyp request, writing<br>resume data to flash, then notifying the PSP of the S3 request.<br><br>Change-Id: I88d413cdbfc2daf44e8d1142c6532f7034795ead<br>Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com><br>---<br>M src/soc/amd/stoneyridge/smihandler.c<br>1 file changed, 6 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/51/21751/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/soc/amd/stoneyridge/smihandler.c b/src/soc/amd/stoneyridge/smihandler.c<br>index 8551631..2c2bac9 100644<br>--- a/src/soc/amd/stoneyridge/smihandler.c<br>+++ b/src/soc/amd/stoneyridge/smihandler.c<br>@@ -41,6 +41,11 @@<br>     mainboard_smi_apmc(cmd);<br> }<br> <br>+static void sb_slp_typ_handler(void)<br>+{<br>+   /* TODO: Insert S3 pre here */<br>+}<br>+<br> int southbridge_io_trap_handler(int smif)<br> {<br>         return 0;<br>@@ -52,6 +57,7 @@<br>  */<br> struct smi_sources_t smi_sources[] = {<br>           {SMITYPE_SMI_CMD_PORT, sb_apmc_smi_handler},<br>+         {SMITYPE_SLP_TYP, sb_slp_typ_handler},<br> };<br> <br> static void process_smi_sci(void)<br></pre><p>To view, visit <a href="https://review.coreboot.org/21751">change 21751</a>. To unsubscribe, 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/21751"/><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: I88d413cdbfc2daf44e8d1142c6532f7034795ead </div>
<div style="display:none"> Gerrit-Change-Number: 21751 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Marshall Dawson <marshalldawson3rd@gmail.com> </div>