[OpenPower-Firmware] A few questions about early hostboot
Daniel M Crowell
dcrowell at us.ibm.com
Sat Sep 28 06:35:42 AEST 2019
> Is there a 'quiesce' opcode one can use, like the nap one?
The only thing I can think of is the ATTN instruction. See
src/kernel/forceattn_p9.S for what we do. Some of that makes the attention
visible which you don't care about, not sure how much you need to get
exactly what you want. The issue is that 'quiesced' is a maintenance state
and you aren't really allowed to put yourself into a maintenance mode.
There are scoms to stop instructions though if that would help.
--
Dan Crowell
Senior Software Engineer - Power Systems Enablement Firmware
IBM Rochester: t/l 553-2987
dcrowell at us.ibm.com
From: "Marty E. Plummer" <hanetzer at startmail.com>
To: Alistair Popple <apopple at linux.ibm.com>
Cc: Amit J Tendolkar <amit.tendolkar at in.ibm.com>, Raja Das1
<rajadas2 at in.ibm.com>, openpower-firmware at lists.ozlabs.org,
Dean Sanner <dsanner at us.ibm.com>, Sachin Gupta24
<sgupta2m at in.ibm.com>
Date: 09/25/2019 10:26 PM
Subject: [EXTERNAL] Re: [OpenPower-Firmware] A few questions about early
hostboot
Sent by: "OpenPower-Firmware" <openpower-firmware-bounces
+dcrowell=us.ibm.com at lists.ozlabs.org>
Holy crap. Think I finally got it at least loading the faked hbb.
I managed to (probably) dump the 64b you mentioned, assuming that
0x8208000 is the correct address. I was getting consistently:
00000000 10 30 24 31 41 42 43 e0 e1 e2 e4 f4 34 24 31 41 |.0$1ABC.....4
$1A|
00000010 42 43 e0 e1 e2 e4 f4 00 00 00 00 00 00 00 00 00 |
BC..............|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|................|
which is a series of ffs toc errors. So, I moved the backup toc
from 0x3ff8000 to 0x3ff7000 (which is consistent with the 'stock'
firmware and src/include/usr/pnor/pnor_const.H:171; I only used
0x3ff8000 because it made for easy maths) and I get an entirely
different result:
00000000 10 30 24 31 41 42 43 44 45 32 35 11 24 12 16 00 |.0
$1ABCDE25.$...|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|................|
which is as far as 'ok, we copied it'. It may have stopped
here because _start is 'b .', more testing is required, but
sbe and hbbl are unmodified
I still can't consistently get all the threads to stop or read
spr 313, but this is at least some form of progress (I think).
_______________________________________________
OpenPower-Firmware mailing list
OpenPower-Firmware at lists.ozlabs.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.ozlabs.org_listinfo_openpower-2Dfirmware&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=mCj3CQvqek9g0fdziO-GEHyU1m9T3SAh0ZPd5s_AGpo&m=uw2nQm2xvBcpe2QuLKZKX0a49tTSKJu9T7EaA6M30LU&s=2Hyc3Xs71BD_fm4hopsojLxqrWP8sEeP2BH55KExLKY&e=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openpower-firmware/attachments/20190927/f60de592/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openpower-firmware/attachments/20190927/f60de592/attachment.gif>
More information about the OpenPower-Firmware
mailing list