linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns
Salil d605916b76 net: hns: Add support of ACPI to HNS driver RoCE Reset function
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.html

Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-08-25 10:05:10 -04:00
..
hnae.c net: hns: delete redundancy ring enable operations 2016-06-21 04:51:55 -04:00
hnae.h net: hns: add media-type property for hns 2016-07-01 16:56:52 -04:00
hns_ae_adapt.c net: hns: add media-type property for hns 2016-07-01 16:56:52 -04:00
hns_dsaf_gmac.c net: hns: fix typo in g_gmac_stats_string[] 2016-08-10 17:57:50 -07:00
hns_dsaf_gmac.h
hns_dsaf_mac.c net: hns: Add support of ACPI to HNS driver RoCE Reset function 2016-08-25 10:05:10 -04:00
hns_dsaf_mac.h net: hns: add media-type property for hns 2016-07-01 16:56:52 -04:00
hns_dsaf_main.c net: hns: Add support of ACPI to HNS driver RoCE Reset function 2016-08-25 10:05:10 -04:00
hns_dsaf_main.h net: hns: Add support of ACPI to HNS driver RoCE Reset function 2016-08-25 10:05:10 -04:00
hns_dsaf_misc.c net: hns: Add support of ACPI to HNS driver RoCE Reset function 2016-08-25 10:05:10 -04:00
hns_dsaf_misc.h net: hns: Add support of ACPI to HNS driver RoCE Reset function 2016-08-25 10:05:10 -04:00
hns_dsaf_ppe.c net: hns: add dsaf misc operation method 2016-06-04 21:32:41 -04:00
hns_dsaf_ppe.h net: hns: separate debug dsaf device from service dsaf device 2016-04-26 01:09:17 -04:00
hns_dsaf_rcb.c net: hns: change the default coalesce usecs 2016-06-21 04:51:56 -04:00
hns_dsaf_rcb.h net: hns: change the default coalesce usecs 2016-06-21 04:51:56 -04:00
hns_dsaf_reg.h net: hns: Add support of ACPI to HNS driver RoCE Reset function 2016-08-25 10:05:10 -04:00
hns_dsaf_xgmac.c net: hns: add dsaf misc operation method 2016-06-04 21:32:41 -04:00
hns_dsaf_xgmac.h
hns_enet.c net: hns: add a space before "*/" 2016-07-01 16:56:52 -04:00
hns_enet.h net: hns: enet specify a reference to dsaf by fwnode_handle 2016-06-04 21:32:40 -04:00
hns_ethtool.c net: hns: add media-type property for hns 2016-07-01 16:56:52 -04:00
Makefile net: add Hisilicon Network Subsystem basic ethernet support 2015-09-20 21:42:58 -07:00