On Sat, Nov 14, 2020 at 05:58:36PM +0800, Weihang Li wrote: > From: Xi Wang <wangxi11@xxxxxxxxxx> > > Add a group of flags to control the 'struct hns_roce_buf' allocation > flow, this is used to support the caller running in atomic context. > > Signed-off-by: Xi Wang <wangxi11@xxxxxxxxxx> > Signed-off-by: Weihang Li <liweihang@xxxxxxxxxx> > --- > Changes since v1: > - Fix issues about WARN_ON() and IS_ERR_OR_NULL(). > Link: https://patchwork.kernel.org/project/linux-rdma/patch/1603967462-18124-1-git-send-email-liweihang@xxxxxxxxxx/ > > drivers/infiniband/hw/hns/hns_roce_alloc.c | 128 ++++++++++++++++------------ > drivers/infiniband/hw/hns/hns_roce_device.h | 51 +++++------ > drivers/infiniband/hw/hns/hns_roce_mr.c | 39 +++------ > 3 files changed, 113 insertions(+), 105 deletions(-) Applied to for-next, thanks Jason