diff options
| author | Christian Geddes <crgeddes@us.ibm.com> | 2018-01-30 16:52:30 -0600 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-02-07 17:53:45 -0500 |
| commit | 0752d042e8fc1a6bdc1892bd349f7bb08b22c650 (patch) | |
| tree | 6eda509c32308dcc13ad2da33eccea100ceb2af5 /src/usr/secureboot | |
| parent | 0e0dc100a1ad96074dcde43dd204d78d4f7bbcac (diff) | |
| download | talos-hostboot-0752d042e8fc1a6bdc1892bd349f7bb08b22c650.tar.gz talos-hostboot-0752d042e8fc1a6bdc1892bd349f7bb08b22c650.zip | |
Set PAYLOAD_KIND attribute based on fused bits in scom register
The scom register 0xF000F, bit 57 tells us whether or not the fuse
has been blown on this processor. If it is set, that means that it
is up to hostboot to set the PAYLOAD_KIND attribute. We decide this
based on if we are in SMT4 or SMT8 mode, which is known during istep 6.
If we are in SMT4 and the fuse is blown, we can assume PAYLOAD_KIND is
OPAL, if we are in SMT8 and the fuse is blown, we are booting PHYP. In
a lab scenario on which a system has blown fuses, and we want to force
OPAL boot on a system we are forcing to be SMT8, we would have to apply
an attribute override to make ATTR_PAYLOAD_KIND = 0x2 . 0x2 is the enum
for SAPHHIRE as the payload kind.
Change-Id: Ia15dee4dd67130691440bf7fe76915acfb81a19d
RTC: 186965
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52957
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Matt Derksen <mderkse1@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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/secureboot')
0 files changed, 0 insertions, 0 deletions

