Message ID | 20190530032056.26355-1-oohall@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/3] hw/phb4: Add missing LTSSM states | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | Successfully applied on branch master (76f7316bc8fc8a18fdbfcbc0e1fe1bb992d2a7d7) |
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot | fail | Test snowpatch/job/snowpatch-skiboot on branch master |
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco | success | Signed-off-by present |
diff --git a/hw/phb4.c b/hw/phb4.c index b9035a9ce3ba..cbe6b668f146 100644 --- a/hw/phb4.c +++ b/hw/phb4.c @@ -2385,6 +2385,12 @@ static void phb4_train_info(struct phb4 *p, uint64_t reg, unsigned long time) case PHB_PCIE_DLP_LTSSM_HOTRESET: snprintf(s, sizeof(s), "%shotreset", s); break; + case PHB_PCIE_DLP_LTSSM_DISABLED: + snprintf(s, sizeof(s), "%sdisabled", s); + break; + case PHB_PCIE_DLP_LTSSM_LOOPBACK: + snprintf(s, sizeof(s), "%sloopback", s); + break; default: snprintf(s, sizeof(s), "%sunvalid", s); }
The "disabled" and "loopback" states are missing from the table. We never expect to see the second, but the first does occasionally come up. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> --- hw/phb4.c | 6 ++++++ 1 file changed, 6 insertions(+)