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 <easwar.hariharan@intel.com> Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Neel Desai <neel.desai@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
Родитель
22546b741a
Коммит
03e80e9a57
|
@ -9363,7 +9363,7 @@ static int handle_qsfp_error_conditions(struct hfi1_pportdata *ppd,
|
||||||
|
|
||||||
if ((qsfp_interrupt_status[0] & QSFP_HIGH_TEMP_ALARM) ||
|
if ((qsfp_interrupt_status[0] & QSFP_HIGH_TEMP_ALARM) ||
|
||||||
(qsfp_interrupt_status[0] & QSFP_HIGH_TEMP_WARNING))
|
(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__);
|
__func__);
|
||||||
|
|
||||||
if ((qsfp_interrupt_status[0] & QSFP_LOW_TEMP_ALARM) ||
|
if ((qsfp_interrupt_status[0] & QSFP_LOW_TEMP_ALARM) ||
|
||||||
|
|
Загрузка…
Ссылка в новой задаче