summaryrefslogtreecommitdiffstats
path: root/src/usr/sbe/sbe_update.C
diff options
context:
space:
mode:
authorRobert Lippert <rlippert@google.com>2015-07-01 10:09:22 -0700
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-02-16 09:28:14 -0500
commita9d19db49d56522c4e63fe1dd65c21c31e0b2111 (patch)
treefd29967816cf7910be7506db877ebfd61bafcb7d /src/usr/sbe/sbe_update.C
parent3b69a19abe72dffb47c5d088dc98d963d89f94e8 (diff)
downloadtalos-hostboot-a9d19db49d56522c4e63fe1dd65c21c31e0b2111.tar.gz
talos-hostboot-a9d19db49d56522c4e63fe1dd65c21c31e0b2111.zip
sbe: flush PNOR sections after customization to free up memory
After customizing the PNOR data is no longer needed but remains resident in memory. This change forces the pages to be released so that the memory is free for other allocations without needing to castout or evict the SBE pages. Change-Id: I7c7298cc279d110fcf188514fd04f9ed3e0a81e8 Signed-off-by: Robert Lippert <rlippert@google.com> Signed-off-by: William A. Kennington III <wak@google.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36209 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/sbe/sbe_update.C')
-rw-r--r--src/usr/sbe/sbe_update.C2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/sbe/sbe_update.C b/src/usr/sbe/sbe_update.C
index 5607d3368..c73162479 100644
--- a/src/usr/sbe/sbe_update.C
+++ b/src/usr/sbe/sbe_update.C
@@ -3841,6 +3841,8 @@ namespace SBE
break;
}
+ PNOR::flush( PNOR::SBE_IPL );
+
}while(0);
OpenPOWER on IntegriCloud