From 4c586e2298ffafed3c1979784e1626868bd46f58 Mon Sep 17 00:00:00 2001 From: Mike Baiocchi Date: Mon, 22 May 2017 17:14:12 -0500 Subject: Disable Ring Overrides in Secure Mode This commit disables ring overrides during the IPL and at Runtime when the system has security enabled. Change-Id: Ic3b0db92994a61d4ba6e28858bcd6fde59be6a23 RTC: 163094 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40818 Tested-by: Jenkins Server Reviewed-by: Stephen M. Cprek Tested-by: FSP CI Jenkins Reviewed-by: Marshall J. Wilks Tested-by: Jenkins OP Build CI Reviewed-by: Daniel M. Crowell --- src/usr/pnor/pnor_common.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/usr/pnor/pnor_common.C') diff --git a/src/usr/pnor/pnor_common.C b/src/usr/pnor/pnor_common.C index 2c491d990..2eb710a16 100644 --- a/src/usr/pnor/pnor_common.C +++ b/src/usr/pnor/pnor_common.C @@ -387,7 +387,8 @@ bool PNOR::isInhibitedSection(const uint32_t i_section) { #ifdef CONFIG_SECUREBOOT return (i_section == ATTR_PERM || - i_section == ATTR_TMP) && + i_section == ATTR_TMP || + i_section == RINGOVD ) && SECUREBOOT::enabled(); #else return false; -- cgit v1.2.1