aboutsummaryrefslogtreecommitdiff
path: root/hw/phb4.c
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2019-05-30 13:20:54 +1000
committerStewart Smith <stewart@linux.ibm.com>2019-06-03 10:28:57 +1000
commit166a053f1d962cb2e96a535f80a358227bf13a27 (patch)
tree26d92a600501e6ca619a10c1dc1123d8cbf29203 /hw/phb4.c
parent771497098efded8d3a2c0688bab1c1d48d093443 (diff)
downloadskiboot-166a053f1d962cb2e96a535f80a358227bf13a27.zip
skiboot-166a053f1d962cb2e96a535f80a358227bf13a27.tar.gz
skiboot-166a053f1d962cb2e96a535f80a358227bf13a27.tar.bz2
hw/phb4: Add missing LTSSM states
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> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'hw/phb4.c')
-rw-r--r--hw/phb4.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/phb4.c b/hw/phb4.c
index 5f4956e..d3b57ef 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);
}