1. 25 Aug, 2016 2 commits
    • Salil's avatar
      IB/hns: Add support of ACPI to the Hisilicon RoCE driver · 528f1deb
      Salil authored
      This patch is meant to add support of ACPI to the Hisilicon RoCE
      driver.
      
      Changes done are primarily meant to detect the type and then either
      use DT specific or ACPI spcific functions. Where ever possible,
      this patch tries to make use of Unified Device Property Interface
      APIs to support both DT and ACPI through single interface.
      
      This patch depends upon HNS ethernet driver to Reset RoCE. This
      function within HNS ethernet driver has also been enhanced to
      support ACPI and is part of other accompanying patch with this
      patch-set.
      
      NOTE: The changes in this patch are done over below branch,
      https://github.com/dledford/linux/tree/hns-roceSigned-off-by: default avatarSalil Mehta <salil.mehta@huawei.com>
      Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
      528f1deb
    • Salil's avatar
      net: hns: Add support of ACPI to HNS driver RoCE Reset function · d605916b
      Salil authored
      In the Hip06 SoC, the RoCE Engine is part of the Hisilicon Network
      Subsystem and is dependent upon DSAF module. Therefore, certain
      functions like RESET are exposed through the common registers of
      HNS DSAF module which are memory-mapped by the HNS driver and
      currently can only be accessed through DT/syscon interface.
      
      This patch adds the support of ACPI to the existing RoCE reset
      function in the HNS driver(please refer NOTE 2). Hisilicon RoCE
      driver (please refer NOTE 1) shall call this reset function during
      probe time to reset the RoCE Engine.
      
      The HNS Reset function indirectly ends up in calling the _DSM()
      function part of the DSDT ACPI Table. Actual reset functionality
      for ACPI is implemented within the ACPI DSDT Table which also has
      been enhanced to support this change.
      
      Support of ACPI in the HNS RoCE driver shall be pushed through a
      different accompanying below patch:
      "IB/hns: Add support of ACPI to the Hisilicon RoCE Driver"
      
      NOTE 1: HNS RoCE driver has already been accepted by its maintainer
      Doug Ledford<dledford@redhat.com>. Please refer below link:
      https://www.spinics.net/lists/linux-rdma/msg38850.html
      
      NOTE 2: RoCE reset function patch has been accepted and now is
      part of the net-next:
      https://www.mail-archive.com/netdev@vger.kernel.org/msg123867.htmlSigned-off-by: default avatarSalil Mehta <salil.mehta@huawei.com>
      Reviewed-by: default avatarYisen Zhuang <yisen.zhuang@huawei.com>
      Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
      d605916b
  2. 22 Aug, 2016 5 commits
  3. 21 Aug, 2016 16 commits
  4. 20 Aug, 2016 17 commits