[Skiboot] [PATCH 1/3] hw/phb4: Add missing LTSSM states
Oliver O'Halloran
oohall at gmail.com
Thu May 30 13:20:54 AEST 2019
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 at gmail.com>
---
hw/phb4.c | 6 ++++++
1 file changed, 6 insertions(+)
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);
}
--
2.20.1
More information about the Skiboot
mailing list