Skip to content

Commit 7f9b545

Browse files
Nick Bofferdingwghoffa
authored andcommitted
Configure untrusted BAR addresses and sizes for secureboot
Change-Id: I0ce335ff18c024699784c7f783b9517005cc457a RTC:151292 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27030 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
1 parent eaf037b commit 7f9b545

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

src/usr/targeting/common/xmltohb/attribute_types.xml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6233,11 +6233,12 @@ firmware notes: Used as override attribute for pstate procedure
62336233
</description>
62346234
<simpleType>
62356235
<uint64_t>
6236-
<default>0x0000000000000000</default>
6236+
<default>0x0003FFFFFC000000</default>
62376237
</uint64_t>
62386238
</simpleType>
6239-
<persistency>non-volatile</persistency>
6239+
<persistency>volatile</persistency>
62406240
<readable/>
6241+
<writeable/>
62416242
<hwpfToHbAttrMap>
62426243
<id>ATTR_PROC_ADU_UNTRUSTED_BAR_SIZE</id>
62436244
<macro>DIRECT</macro>
@@ -6347,11 +6348,12 @@ firmware notes: Used as override attribute for pstate procedure
63476348
</description>
63486349
<simpleType>
63496350
<uint64_t>
6350-
<default>0x0000000000000000</default>
6351+
<default>0x0003FFFFFC000000</default>
63516352
</uint64_t>
63526353
</simpleType>
6353-
<persistency>non-volatile</persistency>
6354+
<persistency>volatile</persistency>
63546355
<readable/>
6356+
<writeable/>
63556357
<hwpfToHbAttrMap>
63566358
<id>ATTR_PROC_PSI_UNTRUSTED_BAR0_SIZE</id>
63576359
<macro>DIRECT</macro>
@@ -6389,11 +6391,12 @@ firmware notes: Used as override attribute for pstate procedure
63896391
</description>
63906392
<simpleType>
63916393
<uint64_t>
6392-
<default>0x0000000000000000</default>
6394+
<default>0x0003FFFFFC000000</default>
63936395
</uint64_t>
63946396
</simpleType>
6395-
<persistency>non-volatile</persistency>
6397+
<persistency>volatile</persistency>
63966398
<readable/>
6399+
<writeable/>
63976400
<hwpfToHbAttrMap>
63986401
<id>ATTR_PROC_PSI_UNTRUSTED_BAR1_SIZE</id>
63996402
<macro>DIRECT</macro>
@@ -13278,11 +13281,12 @@ firmware notes: Platforms should initialize this attribute to AUTO (0)</descript
1327813281
64-bit address representing BAR RA
1327913282
</description>
1328013283
<simpleType>
13281-
<uint64_t></uint64_t>
13284+
<uint64_t>
13285+
<default>0x0000000000000000</default>
13286+
</uint64_t>
1328213287
</simpleType>
13283-
<persistency>volatile-zeroed</persistency>
13288+
<persistency>non-volatile</persistency>
1328413289
<readable/>
13285-
<writeable/>
1328613290
<hwpfToHbAttrMap>
1328713291
<id>ATTR_PROC_PBA_UNTRUSTED_BAR_BASE_ADDR</id>
1328813292
<macro>DIRECT</macro>
@@ -13297,9 +13301,11 @@ firmware notes: Platforms should initialize this attribute to AUTO (0)</descript
1329713301
mask applied to RA 23:43
1329813302
</description>
1329913303
<simpleType>
13300-
<uint64_t></uint64_t>
13304+
<uint64_t>
13305+
<default>0x0000000003F00000</default>
13306+
</uint64_t>
1330113307
</simpleType>
13302-
<persistency>volatile-zeroed</persistency>
13308+
<persistency>volatile</persistency>
1330313309
<readable/>
1330413310
<writeable/>
1330513311
<hwpfToHbAttrMap>

0 commit comments

Comments
 (0)