diff options
| author | Oliver O'Halloran <oohall@gmail.com> | 2019-03-20 19:56:53 +1100 |
|---|---|---|
| committer | Stewart Smith <stewart@linux.ibm.com> | 2019-03-28 15:24:13 +1100 |
| commit | 70edcbb4b39d5d90fd487f6f8c6dd459e36935bc (patch) | |
| tree | 8ed102f580f903efe5ce66ec2257a8cb9372d0ad /include | |
| parent | 6225d11924933f0541fd3b1a6192a7fcda279f1f (diff) | |
| download | talos-skiboot-70edcbb4b39d5d90fd487f6f8c6dd459e36935bc.tar.gz talos-skiboot-70edcbb4b39d5d90fd487f6f8c6dd459e36935bc.zip | |
hw/phb4: Skip FRESET PERST when coming from CRESET
PERST is asserted at the beginning of the CRESET process to prevent
the downstream device from interacting with the host while the PHB logic
is being reset and re-initialised. There is at least a 100ms wait during
the CRESET processing so it's not necessary to wait this time again
in the FRESET handler.
This patch extends the delay after re-setting the PHB logic to extend
to the 250ms PERST wait period that we typically use and sets the
skip_perst flag so that we don't wait this time again in the FRESET
handler.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/phb4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/phb4.h b/include/phb4.h index adf45809..605effec 100644 --- a/include/phb4.h +++ b/include/phb4.h @@ -195,6 +195,7 @@ struct phb4 { uint32_t num_pes; uint32_t max_num_pes; uint32_t num_irqs; + uint64_t creset_start_time; /* SkiBoot owned in-memory tables */ uint16_t *tbl_rtt; |

