linux/drivers/infiniband
Raju Rangoju 26bff1bd74 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>
2018-04-27 13:52:31 -04:00
..
core IB/core: Fix deleting default GIDs when changing mac adddress 2018-04-23 17:28:18 -04:00
hw RDMA/cxgb4: release hw resources on device removal 2018-04-27 13:52:31 -04:00
sw IB/rxe: Fix for oops in rxe_register_device on ppc64le arch 2018-04-05 13:04:50 -06:00
ulp ib_srp: depend on INFINIBAND_ADDR_TRANS 2018-04-27 11:15:44 -04:00
Kconfig IB: make INFINIBAND_ADDR_TRANS configurable 2018-04-27 11:15:44 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00