diff options
author | Raju Rangoju <rajur@chelsio.com> | 2018-04-23 21:42:37 +0530 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-04-27 13:52:31 -0400 |
commit | 26bff1bd74a4f7417509a83295614e9dab995b2a (patch) | |
tree | 92077b326a27eee26d525fdc10af5b8d3b4399e2 /drivers/w1/w1_int.c | |
parent | IB: make INFINIBAND_ADDR_TRANS configurable (diff) | |
download | linux-dev-26bff1bd74a4f7417509a83295614e9dab995b2a.tar.xz linux-dev-26bff1bd74a4f7417509a83295614e9dab995b2a.zip |
RDMA/cxgb4: release hw resources on device removal
The c4iw_rdev_close() logic was not releasing all the hw
resources (PBL and RQT memory) during the device removal
event (driver unload / system reboot). This can cause panic
in gen_pool_destroy().
The module remove function will wait for all the hw
resources to be released during the device removal event.
Fixes c12a67fe(iw_cxgb4: free EQ queue memory on last deref)
Signed-off-by: Raju Rangoju <rajur@chelsio.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Cc: stable@vger.kernel.org
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/w1/w1_int.c')
0 files changed, 0 insertions, 0 deletions