From: Neel Desai Date: Sun, 9 Apr 2017 17:16:47 +0000 (-0700) Subject: IB/hfi1: Adjust high temperature warning for QSFP cable X-Git-Tag: MMI-PSA29.97-13-9~5649^3~65 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=03e80e9a5738a6a93b9120dc2f068d11283d65c9;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git IB/hfi1: Adjust high temperature warning for QSFP cable When we receive a QSFP_HIGH_TEMP_ALARM or QSFP_HIGH_TEMP_WARNING interrupt, print a "QSFP cable temperature too high" message. Reviewed-by: Easwar Hariharan Reviewed-by: Dennis Dalessandro Signed-off-by: Neel Desai Signed-off-by: Dennis Dalessandro Signed-off-by: Doug Ledford --- diff --git a/drivers/infiniband/hw/hfi1/chip.c b/drivers/infiniband/hw/hfi1/chip.c index 07aa76a74f64..de33cb670182 100644 --- a/drivers/infiniband/hw/hfi1/chip.c +++ b/drivers/infiniband/hw/hfi1/chip.c @@ -9363,7 +9363,7 @@ static int handle_qsfp_error_conditions(struct hfi1_pportdata *ppd, if ((qsfp_interrupt_status[0] & QSFP_HIGH_TEMP_ALARM) || (qsfp_interrupt_status[0] & QSFP_HIGH_TEMP_WARNING)) - dd_dev_info(dd, "%s: QSFP cable on fire\n", + dd_dev_info(dd, "%s: QSFP cable temperature too high\n", __func__); if ((qsfp_interrupt_status[0] & QSFP_LOW_TEMP_ALARM) ||