diff options
author | Alex Estrin <alex.estrin@intel.com> | 2018-05-02 16:43:15 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-05-09 22:53:29 +0300 |
commit | 8d3e71136a080d007620472f50c7b3e63ba0f5cf (patch) | |
tree | 76f265621e2fe1a307bc336bd154e9eecf93ddde /drivers/base/bus.c | |
parent | a93a0a31111231bb1949f4a83b17238f0fa32d6a (diff) | |
download | linux-8d3e71136a080d007620472f50c7b3e63ba0f5cf.tar.xz |
IB/{hfi1, qib}: Add handling of kernel restart
A warm restart will fail to unload the driver, leaving link state
potentially flapping up to the point the BIOS resets the adapter.
Correct the issue by hooking the shutdown pci method,
which will bring port down.
Cc: <stable@vger.kernel.org> # 4.9.x
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Alex Estrin <alex.estrin@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/base/bus.c')
0 files changed, 0 insertions, 0 deletions