From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Kejian Yan <yankejian@huawei.com>,
rjw@rjwysocki.net, lenb@kernel.org, davem@davemloft.net
Cc: fengguang.wu@intel.com, andrew@lunn.ch, ivecera@redhat.com,
f.fainelli@gmail.com, haifeng.wei@huawei.com,
charles.chenxin@huawei.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org,
linuxarm@huawei.com
Subject: Re: [patch v2 net-next 00/13] net: hns: add support of ACPI
Date: Mon, 30 May 2016 11:28:33 +0300 [thread overview]
Message-ID: <1464596913.27624.53.camel@linux.intel.com> (raw)
In-Reply-To: <1464574222-69608-1-git-send-email-yankejian@huawei.com>
On Mon, 2016-05-30 at 10:10 +0800, Kejian Yan wrote:
> This series adds HNS support of acpi. The routine will call some ACPI
> helper functions, like acpi_dev_found() and acpi_evaluate_dsm(), which
> are not included in other cases. In order to make system compile
> successfully in other cases except ACPI, it needs to add relative stub
> functions to linux/acpi.h. And we use device property functions
> instead
> of serial helper functions to suport both DT and ACPI cases. And then
> add the supports of ACPI for HNS.
Looks better. I have only kinda bikeshedding comments in mind, which I
didn't put here, though there is one you perhaps need to address.
Otherwise FWIW:
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>
> change log:
> v1 -> v2:
> 1. use acpi_dev_found() instead of acpi_match_device_ids() to check
> if
> it is a acpi node.
> 2. use is_of_node() instead of IS_ENABLED() to check if it is a DT
> node.
> 3. split the patch("add support of acpi for hns-mdio") into two
> patches:
> 3.1 Move to use fwnode_handle
> 3.2 Add ACPI
> 4. add the patch which subject is dsaf misc operation method
> 5. fix the comments by Andy Shevchenko
>
> Kejian Yan (13):
> ACPI: bus: add stub acpi_dev_found() to linux/acpi.h
> ACPI: bus: add stub acpi_evaluate_dsm() to linux/acpi.h
> net: hisilicon: cleanup to prepare for other cases
> net: hisilicon: add support of acpi for hns-mdio
> net: hns: use device_* APIs instead of of_* APIs
> net: hns: use platform_get_irq instead of irq_of_parse_and_map
> net: hns: enet specify a reference to dsaf by fwnode_handle
> net: hns: add uniform interface for phy connection
> net: hns: add dsaf misc operation method
> net: hns: dsaf adds support of acpi
> net: hns: register phy device in each mac initial sequence
> net: hns: implement the miscellaneous operation by asl
> net: hns: net: hns: enet adds support of acpi
>
> drivers/net/ethernet/hisilicon/hns/hnae.c | 18 +-
> drivers/net/ethernet/hisilicon/hns/hnae.h | 5 +-
> drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 6 +-
> drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 6 +-
> drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c | 247
> +++++++++++++++-----
> drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h | 4 +-
> drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 105 ++++++---
> drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h | 33 ++-
> drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c | 250
> ++++++++++++++++++---
> drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.h | 7 +-
> drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c | 15 +-
> drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c | 5 +-
> .../net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c | 10 +-
> drivers/net/ethernet/hisilicon/hns/hns_enet.c | 90 +++++---
> drivers/net/ethernet/hisilicon/hns/hns_enet.h | 2 +-
> drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 2 +-
> drivers/net/ethernet/hisilicon/hns_mdio.c | 147 +++++++-----
> include/linux/acpi.h | 13 ++
> 18 files changed, 710 insertions(+), 255 deletions(-)
>
--
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy
prev parent reply other threads:[~2016-05-30 8:28 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-30 2:10 [patch v2 net-next 00/13] net: hns: add support of ACPI Kejian Yan
2016-05-30 2:10 ` Kejian Yan
2016-05-30 2:10 ` [patch v2 net-next 01/13] ACPI: bus: add stub acpi_dev_found() to linux/acpi.h Kejian Yan
2016-05-30 2:10 ` Kejian Yan
2016-05-30 2:10 ` [patch v2 net-next 02/13] ACPI: bus: add stub acpi_evaluate_dsm() " Kejian Yan
2016-05-30 2:10 ` Kejian Yan
2016-05-30 2:10 ` [patch v2 net-next 03/13] net: hisilicon: cleanup to prepare for other cases Kejian Yan
2016-05-30 2:10 ` Kejian Yan
2016-05-30 2:10 ` [patch v2 net-next 04/13] net: hisilicon: add support of acpi for hns-mdio Kejian Yan
2016-05-30 2:10 ` Kejian Yan
2016-05-30 2:10 ` [patch v2 net-next 05/13] net: hns: use device_* APIs instead of of_* APIs Kejian Yan
2016-05-30 2:10 ` Kejian Yan
2016-05-30 2:10 ` [patch v2 net-next 06/13] net: hns: use platform_get_irq instead of irq_of_parse_and_map Kejian Yan
2016-05-30 2:10 ` Kejian Yan
2016-05-30 2:10 ` [patch v2 net-next 07/13] net: hns: enet specify a reference to dsaf by fwnode_handle Kejian Yan
2016-05-30 2:10 ` Kejian Yan
2016-05-30 2:10 ` [patch v2 net-next 08/13] net: hns: add uniform interface for phy connection Kejian Yan
2016-05-30 2:10 ` Kejian Yan
2016-05-30 2:10 ` [patch v2 net-next 09/13] net: hns: add dsaf misc operation method Kejian Yan
2016-05-30 2:10 ` Kejian Yan
2016-05-30 2:10 ` [patch v2 net-next 10/13] net: hns: dsaf adds support of acpi Kejian Yan
2016-05-30 2:10 ` Kejian Yan
2016-05-30 2:10 ` [patch v2 net-next 11/13] net: hns: register phy device in each mac initial sequence Kejian Yan
2016-05-30 2:10 ` Kejian Yan
2016-05-30 2:10 ` [patch v2 net-next 12/13] net: hns: implement the miscellaneous operation by asl Kejian Yan
2016-05-30 2:10 ` Kejian Yan
2016-05-30 8:25 ` Andy Shevchenko
2016-05-30 2:10 ` [patch v2 net-next 13/13] net: hns: net: hns: enet adds support of acpi Kejian Yan
2016-05-30 2:10 ` Kejian Yan
2016-05-30 8:28 ` Andy Shevchenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1464596913.27624.53.camel@linux.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=andrew@lunn.ch \
--cc=charles.chenxin@huawei.com \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=fengguang.wu@intel.com \
--cc=haifeng.wei@huawei.com \
--cc=ivecera@redhat.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=netdev@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=yankejian@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.