]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Ignore QSFP interrupts until power stabilizes
authorEaswar Hariharan <easwar.hariharan@intel.com>
Mon, 25 Jul 2016 20:39:57 +0000 (13:39 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 2 Aug 2016 20:00:58 +0000 (16:00 -0400)
commit44c83880c1c4694fc2871078c539413f79c353cd
tree79250af227dd9dac9e9929cfa525faf515647961
parent61c6e52b06187bcf1a802d588df267866de143ef
IB/hfi1: Ignore QSFP interrupts until power stabilizes

Some QSFP cables assert the interrupt line as a side effect of module
plug-in and power up. This causes the SerDes and QSFP tuning algorithm
to begin cable initialization by reading the QSFP memory map over I2C,
which fails. This patch ignores any interrupt line assertion until
the module has completed power up and voltage rails have stabilized,
which can take a maximum of 500 ms per the SFF-8679 specification.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/chip.c