summaryrefslogtreecommitdiffstats
path: root/import
diff options
context:
space:
mode:
authorClaus Michael Olsen <cmolsen@us.ibm.com>2017-12-29 14:04:28 -0600
committerJoshua Hunsberger <jahunsbe@us.ibm.com>2018-02-01 16:30:10 -0600
commit4e9bdc997733736c3cd9a2185caff7987fe02a5a (patch)
tree7627dce6bdc5227740b2382d80775b33c36473ef /import
parentf408a59b79aa4e3b5ad1f18aaa77bdb002a075cd (diff)
downloadtalos-hcode-4e9bdc997733736c3cd9a2185caff7987fe02a5a.tar.gz
talos-hcode-4e9bdc997733736c3cd9a2185caff7987fe02a5a.zip
xip_customize and TOR API: Improved DD level verification
This update propagates the extracted EC level in xip_customize through to the TOR API via the call to tor_get_single_ring(). The TOR API has been updated to verify that the requested DD level matches matches the DD level in the TOR header of the supplied ring section which, in the case of xip_customize, is an .overlays ring section. Key_Cronus_Test=XIP_REGRESS Change-Id: I1946bba3ffe79b92556fe07a04e697f3e0ad82a8 Original-Change-Id: Ic087c269306acc0afcb8c759fe68eac63ae93d29 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51339 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Sumit Kumar <sumit_kumar@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'import')
-rw-r--r--import/chips/p9/xip/p9_xip_image.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/import/chips/p9/xip/p9_xip_image.C b/import/chips/p9/xip/p9_xip_image.C
index 25b98827..0f3a9220 100644
--- a/import/chips/p9/xip/p9_xip_image.C
+++ b/import/chips/p9/xip/p9_xip_image.C
@@ -2061,7 +2061,7 @@ p9_xip_get_section(const void* i_image,
xipTranslateSection(o_hostSection, imageSection);
}
- if (i_ddLevel == P9_XIP_UNDEFINED_DDLEVEL)
+ if (i_ddLevel == UNDEFINED_DD_LEVEL)
{
//Here we always return the entire XIP section. Nothing more to do.
}
OpenPOWER on IntegriCloud