diff options
author | Dean Sanner <dsanner@us.ibm.com> | 2016-06-30 13:38:48 -0500 |
---|---|---|
committer | Matthew A. Ploetz <maploetz@us.ibm.com> | 2016-07-11 14:11:54 -0400 |
commit | 5cc0d7cc098171710e3bb6a18d82d21b653471b2 (patch) | |
tree | a9567331194471bd75d6083ee635e9fc1736036e /src/usr/secureboot | |
parent | 20c531850e743e757b0d81a8030f07a3e28938a8 (diff) | |
download | talos-hostboot-5cc0d7cc098171710e3bb6a18d82d21b653471b2.tar.gz talos-hostboot-5cc0d7cc098171710e3bb6a18d82d21b653471b2.zip |
Fix P9 expansion into bottom 512K cache
Change-Id: Ie7d8ab2ae3730b57448a07f0367c8715d61b6124
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26495
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com>
Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
Diffstat (limited to 'src/usr/secureboot')
-rw-r--r-- | src/usr/secureboot/base/service.C | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/usr/secureboot/base/service.C b/src/usr/secureboot/base/service.C index 215094041..435ababfd 100644 --- a/src/usr/secureboot/base/service.C +++ b/src/usr/secureboot/base/service.C @@ -43,25 +43,21 @@ namespace SECUREBOOT do { -// Don't blind purge in VPO -#ifndef CONFIG_P9_VPO_COMPILE - // Load original secureboot header. if (enabled()) { Singleton<Header>::instance().loadBaseHeader(); } - // Run dcbz on the entire 10MB cache - assert(0 == mm_extend(MM_EXTEND_FULL_CACHE)); -#else // Extend memory footprint into lower portion of cache. assert(0 == mm_extend(MM_EXTEND_PARTIAL_CACHE)); -#endif - -// Disable SecureROM in VPO + // Don't extend more than 1/2 cache in VPO as fake PNOR is there + // Don't enable SecureROM in VPO #ifndef CONFIG_P9_VPO_COMPILE + // Run dcbz on the entire 10MB cache + assert(0 == mm_extend(MM_EXTEND_FULL_CACHE)); + // Initialize the Secure ROM l_errl = initializeSecureROM(); if (l_errl) |