1. 25 7月, 2019 3 次提交
  2. 07 7月, 2019 4 次提交
  3. 05 7月, 2019 5 次提交
    • L
      RDMA/hns: Set reset flag when hw resetting · 726be12f
      Lang Cheng 提交于
      When hw resetting, there is no response from hw when driver sending cmdq.
      If driver still send cmdq to hw, the reset process may be blocked.  So
      reset flag should be set to intercept the cmdq command when driver
      receiving "notify down" signal.
      Signed-off-by: NLang Cheng <chenglang@huawei.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      726be12f
    • Y
      RDMA/hns: Modify ba page size for cqe · f5662b4d
      Yangyang Li 提交于
      Currently, the depth of cq only supports 64K.  According to the UM, the
      depth of cq is up to 4M, Therefore the ba page size of cqe was modified to
      support the maximum specification of cq depth.
      Signed-off-by: NYangyang Li <liyangyang20@huawei.com>
      Signed-off-by: NLijun Ou <oulijun@huawei.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      f5662b4d
    • C
      RDMA/hns: Fixup qp release bug · 21b97f53
      chenglang 提交于
      Hip06 reserve 12 qps, Hip08 reserve 8 qps. When the QP is released, the
      chip model is not judged, and the Hip08 cannot release the qpn 8~12
      Signed-off-by: NLang Cheng <chenglang@huawei.com>
      Signed-off-by: NLijun Ou <oulijun@huawei.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      21b97f53
    • L
      RDMA/hns: Bugfix for cleaning mtr · 6fafe560
      Lijun Ou 提交于
      It uses hns_roce_mtr_init in hns_roce_create_qp_common function.  As a
      result, it should use hns_roce_mtr_cleanup function for cleaning mtr when
      destroying qp.
      
      Fixes: 8d18ad83 ("RDMA/hns: Fix bug when wqe num is larger than 16K")
      Signed-off-by: NXi Wang <wangxi11@huawei.com>
      Signed-off-by: NLijun Ou <oulijun@huawei.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      6fafe560
    • L
      RDMA/hns: Fix building modular hns · 9a601fc4
      Lijun Ou 提交于
      The patch below wasn't fully tested for all combinations of module and
      configs, and causes a compile failure:
      
      WARNING: modpost: missing MODULE_LICENSE() in drivers/infiniband/hw/hns/hns_roce_ah.o
      see include/linux/module.h for more information
      WARNING: modpost: missing MODULE_LICENSE() in drivers/infiniband/hw/hns/hns_roce_alloc.o
      see include/linux/module.h for more information
      WARNING: modpost: missing MODULE_LICENSE() in drivers/infiniband/hw/hns/hns_roce_cmd.o
      see include/linux/module.h for more information
      WARNING: modpost: missing MODULE_LICENSE() in drivers/infiniband/hw/hns/hns_roce_cq.o
      see include/linux/module.h for more information
      WARNING: modpost: missing MODULE_LICENSE() in drivers/infiniband/hw/hns/hns_roce_db.o
      see include/linux/module.h for more information
      WARNING: modpost: missing MODULE_LICENSE() in drivers/infiniband/hw/hns/hns_roce_hem.o
      see include/linux/module.h for more information
      WARNING: modpost: missing MODULE_LICENSE() in drivers/infiniband/hw/hns/hns_roce_mr.o
      see include/linux/module.h for more information
      WARNING: modpost: missing MODULE_LICENSE() in drivers/infiniband/hw/hns/hns_roce_pd.o
      see include/linux/module.h for more information
      WARNING: modpost: missing MODULE_LICENSE() in drivers/infiniband/hw/hns/hns_roce_qp.o
      see include/linux/module.h for more information
      WARNING: modpost: missing MODULE_LICENSE() in drivers/infiniband/hw/hns/hns_roce_restrack.o
      see include/linux/module.h for more information
      WARNING: modpost: missing MODULE_LICENSE() in drivers/infiniband/hw/hns/hns_roce_srq.o
      see include/linux/module.h for more information
      ERROR: "hns_roce_bitmap_cleanup" [drivers/infiniband/hw/hns/hns_roce_srq.ko] undefined!
      ERROR: "hns_roce_bitmap_init" [drivers/infiniband/hw/hns/hns_roce_srq.ko] undefined!
      ERROR: "hns_roce_free_cmd_mailbox" [drivers/infiniband/hw/hns/hns_roce_srq.ko] undefined!
      ERROR: "hns_roce_alloc_cmd_mailbox" [drivers/infiniband/hw/hns/hns_roce_srq.ko] undefined!
      ERROR: "hns_roce_table_get" [drivers/infiniband/hw/hns/hns_roce_srq.ko] undefined!
      ERROR: "hns_roce_bitmap_alloc" [drivers/infiniband/hw/hns/hns_roce_srq.ko] undefined!
      ERROR: "hns_roce_table_find" [drivers/infiniband/hw/hns/hns_roce_srq.ko] undefined!
      
      The fix is to put the module sub components in the right line.
      
      Fixes: e9816ddf ("RDMA/hns: Cleanup unnecessary exported symbols")
      Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NXi Wang <wangxi11@huawei.com>
      Signed-off-by: NLijun Ou <oulijun@huawei.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      9a601fc4
  4. 04 7月, 2019 2 次提交
  5. 26 6月, 2019 2 次提交
  6. 25 6月, 2019 2 次提交
  7. 24 6月, 2019 1 次提交
    • S
      bus_find_device: Unify the match callback with class_find_device · 418e3ea1
      Suzuki K Poulose 提交于
      There is an arbitrary difference between the prototypes of
      bus_find_device() and class_find_device() preventing their callers
      from passing the same pair of data and match() arguments to both of
      them, which is the const qualifier used in the prototype of
      class_find_device().  If that qualifier is also used in the
      bus_find_device() prototype, it will be possible to pass the same
      match() callback function to both bus_find_device() and
      class_find_device(), which will allow some optimizations to be made in
      order to avoid code duplication going forward.  Also with that, constify
      the "data" parameter as it is passed as a const to the match function.
      
      For this reason, change the prototype of bus_find_device() to match
      the prototype of class_find_device() and adjust its callers to use the
      const qualifier in accordance with the new prototype of it.
      
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Andrew Lunn <andrew@lunn.ch>
      Cc: Andreas Noever <andreas.noever@gmail.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Bjorn Helgaas <bhelgaas@google.com>
      Cc: Corey Minyard <minyard@acm.org>
      Cc: Christian Borntraeger <borntraeger@de.ibm.com>
      Cc: David Kershner <david.kershner@unisys.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Felipe Balbi <balbi@kernel.org>
      Cc: Frank Rowand <frowand.list@gmail.com>
      Cc: Grygorii Strashko <grygorii.strashko@ti.com>
      Cc: Harald Freudenberger <freude@linux.ibm.com>
      Cc: Hartmut Knaack <knaack.h@gmx.de>
      Cc: Heiko Stuebner <heiko@sntech.de>
      Cc: Jason Gunthorpe <jgg@ziepe.ca>
      Cc: Jonathan Cameron <jic23@kernel.org>
      Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
      Cc: Len Brown <lenb@kernel.org>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: Michael Jamet <michael.jamet@intel.com>
      Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
      Cc: Peter Oberparleiter <oberpar@linux.ibm.com>
      Cc: Sebastian Ott <sebott@linux.ibm.com>
      Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Cc: Yehezkel Bernat <YehezkelShB@gmail.com>
      Cc: rafael@kernel.org
      Acked-by: NCorey Minyard <minyard@acm.org>
      Acked-by: NDavid Kershner <david.kershner@unisys.com>
      Acked-by: NMark Brown <broonie@kernel.org>
      Acked-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Acked-by: NSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Acked-by: Wolfram Sang <wsa@the-dreams.de> # for the I2C parts
      Acked-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NSuzuki K Poulose <suzuki.poulose@arm.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      418e3ea1
  8. 21 6月, 2019 6 次提交
  9. 19 6月, 2019 1 次提交
  10. 12 6月, 2019 2 次提交
  11. 11 6月, 2019 3 次提交
  12. 08 6月, 2019 2 次提交
  13. 01 6月, 2019 1 次提交
  14. 28 5月, 2019 5 次提交
  15. 22 5月, 2019 1 次提交