diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2017-11-08 18:10:59 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-11-09 16:55:22 -0600 |
commit | 370b8866871b5c2cf3286afbf19fc90282cb3508 (patch) | |
tree | 16960e7608b33ff081c54ed41dbe8d6eb597c368 /asm | |
parent | 1e6cfd7d0459b7af0d5766b7f2b514d05714f92e (diff) | |
download | skiboot-370b8866871b5c2cf3286afbf19fc90282cb3508.zip skiboot-370b8866871b5c2cf3286afbf19fc90282cb3508.tar.gz skiboot-370b8866871b5c2cf3286afbf19fc90282cb3508.tar.bz2 |
asm/head: Loop after attn
We use the attn instruction to raise an error in early boot if OPAL
don't recognise the PVR. It's possible for hostboot to disable the
attn instruction before entering OPAL so add an extra busy loop after
the attn to prevent attempting to boot on an unknown processor.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'asm')
-rw-r--r-- | asm/head.S | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -270,6 +270,7 @@ boot_entry: cmpwi cr0,%r3,PVR_TYPE_P9 beq 1f attn /* Unsupported CPU type... what do we do ? */ + b . /* loop here, just in case attn is disabled */ /* P8 -> 8 threads */ 2: li %r26,7 |