]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hns: Add support of ACPI to the Hisilicon RoCE driver
authorSalil <salil.mehta@huawei.com>
Tue, 23 Aug 2016 20:44:50 +0000 (04:44 +0800)
committerDoug Ledford <dledford@redhat.com>
Thu, 25 Aug 2016 14:05:10 +0000 (10:05 -0400)
commit6962742ff17f4d25afb1eba3e3cd9e575d1728a7
treee491e9ea31baec5c606cc0f5bf69b2bfcbf6f857
parent649564b4bd3093d00549b6d3e3ff92c6662bc9b4
IB/hns: Add support of ACPI to the Hisilicon RoCE driver

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-roce

Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_eq.c
drivers/infiniband/hw/hns/hns_roce_hw_v1.c
drivers/infiniband/hw/hns/hns_roce_hw_v1.h
drivers/infiniband/hw/hns/hns_roce_main.c