diff options
author | Frederic Barrat <fbarrat@linux.ibm.com> | 2019-10-09 21:38:05 +0200 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2019-10-22 17:31:39 +1100 |
commit | c5db832570a73e30fb5b668d8cce759178b2e4b7 (patch) | |
tree | 0625e3fa6d38fec5c5775f0b1182d9bdc66e553a /doc | |
parent | 2600cfac4db106b219deee042f53e8d9c54d857d (diff) | |
download | skiboot-c5db832570a73e30fb5b668d8cce759178b2e4b7.zip skiboot-c5db832570a73e30fb5b668d8cce759178b2e4b7.tar.gz skiboot-c5db832570a73e30fb5b668d8cce759178b2e4b7.tar.bz2 |
npu2-opencapi: Tweak fundamental reset sequence
Modify slightly the ordering of a few steps in our init sequence on
fundamental reset, so that it can be called from the OS, when the link
is already up:
- when the card is reset, the link goes down, so we need to fence the
brick to prevent errors propagating to the NPU and OS
- since fencing and unfencing don't require any delay, let's also
fence/unfence during the very first reset at boot. It's useless but
doesn't hurt and keep the code simpler.
- resetting the PHY must be done a bit later, while fenced and the ODL
and DLx in reset
Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Reviewed-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions