On Thu, Apr 04, 2019 at 09:56:38AM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky <leonro@xxxxxxxxxxxx> > > Verbs destroy callbacks are synchronous operations and can't be delayed. > The expectation is that after driver returned from destroy function, the > memory can be freed and user won't be able to access it again. > > Ditch workqueue implementation used in HNS driver. > > Fixes: d838c481e025 ("IB/hns: Fix the bug when destroy qp") > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> > --- > I don't have HNS hardware, so it is tested with compilation only. > --- > drivers/infiniband/hw/hns/hns_roce_common.h | 33 -- > drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 374 +------------------- > drivers/infiniband/hw/hns/hns_roce_hw_v1.h | 12 - > 3 files changed, 13 insertions(+), 406 deletions(-) > I'm assuming that this patch is working and correct. Thanks
Attachment:
signature.asc
Description: PGP signature