Skip to contentSkip to conversation

IB/qib: Log all SDMA errors unconditionally.

PATCH In review Mike Marciniszyn 1 participant 3 messages Jul 12, 2013 2 messages not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 IB/qib: Log all SDMA errors unconditionally.

From: Dean Luick <[email protected]>

This patch adds code to log SDMA errors for
supportability purposes.

---
 drivers/infiniband/hw/qib/qib.h         |    2 -
 drivers/infiniband/hw/qib/qib_iba7322.c |  116 +++++++++++++++++++++++++++++++
 drivers/infiniband/hw/qib/qib_sdma.c    |   56 +++++++++++++++
 3 files changed, 173 insertions(+), 1 deletion(-)
drivers/infiniband/hw/qib/qib.h +1 -1
index 5453e2b..4a9af79 100644
@@ -1348,7 +1348,7 @@ static inline int __qib_sdma_running(struct qib_pportdata *ppd)
 	return ppd->sdma_state.current_state == qib_sdma_state_s99_running;
 }
 int qib_sdma_running(struct qib_pportdata *);
-
+void dump_sdma_state(struct qib_pportdata *ppd);
 void __qib_sdma_process_event(struct qib_pportdata *, enum qib_sdma_events);
 void qib_sdma_process_event(struct qib_pportdata *, enum qib_sdma_events);
 
drivers/infiniband/hw/qib/qib_iba7322.c +116 -0

152 lines not on this page · raw message

drivers/infiniband/hw/qib/qib_sdma.c +56 -0

62 lines not on this page · raw message

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20130712130334.16637.10968.stgit-K+u1se/DcYrLESAwzcoQNrvm/[email protected]

#2 lore raw

PiBTdWJqZWN0OiBbUEFUQ0ggdjJdIElCL3FpYjogTG9nIGFsbCBTRE1BIGVycm9ycyB1bmNvbmRp dGlvbmFsbHkuDQo+IA0KDQpWZXJzaW9uIDIgYWRkcyB0aGUgZXJyX2RlY29kZSBtaXNzZWQgaW4g cG9ydGluZyB0aGUgb3JpZ2luYWwgcGF0Y2guDQoNCk1pa2UNCg==
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 32E1700B9017364D9B60AED9960492BC2115FACD-AtyAts71sc9zLByeVOV5+bfspsVTdybXVpNB7YpNyf8@public.gmane.org