撤回: [PATCH] use devm_platform_ioremap_resource() for irqchip drivers

2019-10-17 Thread huangdaode
huangdaode 将撤回邮件“[PATCH] use devm_platform_ioremap_resource() for irqchip drivers”。

答复: [PATCH] use devm_platform_ioremap_resource() for irqchip drivers

2019-10-17 Thread huangdaode
lto:m...@kernel.org] 发送时间: 2019年10月17日 16:24 收件人: huangdaode 抄送: ja...@lakedaemon.net; and...@lunn.ch; gregory.clem...@bootlin.com; sebastian.hesselba...@gmail.com; t...@linutronix.de; mcoquelin.st...@gmail.com; alexandre.tor...@st.com; n...@ti.com; t-kri...@ti.com; ssant...@k

[PATCH v3 net-next] net: hisilicon: fix binding document of mdio

2015-11-17 Thread huangdaode
This patch explains the occasion of "hisilcon,mdio" and "hisilicon,hns-mdio" according to Arnd's comments. and reformat it according to comments from Rob. Signed-off-by: huangdaode --- change log: v3: 1)move change log under '---' line. 2)change minor syntax error on d

Re: [PATCH v2 net-next] net: hisilicon: fix binding document of mdio

2015-11-17 Thread huangdaode
On 2015/11/16 23:20, Rob Herring wrote: On Mon, Nov 16, 2015 at 05:38:24PM +0800, huangdaode wrote: This patch explains the occasion of "hisilcon,mdio" and "hisilicon,hns-mdio" according to Arnd's comments. and reformat it according to comments from Rob. chang log:

Re: [PATCH v2 net-next] net: hisilicon: fix binding document of mdio

2015-11-17 Thread huangdaode
On 2015/11/16 17:38, Arnd Bergmann wrote: On Monday 16 November 2015 17:38:24 huangdaode wrote: This patch explains the occasion of "hisilcon,mdio" and "hisilicon,hns-mdio" according to Arnd's comments. and reformat it according to comments from Rob. chang log: v2: 1

Re: [PATCH v2 net-next] net: hisilicon: fix binding document of mdio

2015-11-17 Thread huangdaode
On 2015/11/16 23:20, Rob Herring wrote: On Mon, Nov 16, 2015 at 05:38:24PM +0800, huangdaode wrote: This patch explains the occasion of "hisilcon,mdio" and "hisilicon,hns-mdio" according to Arnd's comments. and reformat it according to comments from Rob<r...@kernel.org&

Re: [PATCH v2 net-next] net: hisilicon: fix binding document of mdio

2015-11-17 Thread huangdaode
On 2015/11/16 17:38, Arnd Bergmann wrote: On Monday 16 November 2015 17:38:24 huangdaode wrote: This patch explains the occasion of "hisilcon,mdio" and "hisilicon,hns-mdio" according to Arnd's comments. and reformat it according to comments from Rob<r...@kernel.org&

[PATCH v3 net-next] net: hisilicon: fix binding document of mdio

2015-11-17 Thread huangdaode
This patch explains the occasion of "hisilcon,mdio" and "hisilicon,hns-mdio" according to Arnd's comments. and reformat it according to comments from Rob<r...@kernel.org>. Signed-off-by: huangdaode <huangda...@hisilicon.com> --- change log: v3: 1)move change

[PATCH v2 net-next] net: hisilicon: fix binding document of mdio

2015-11-16 Thread huangdaode
This patch explains the occasion of "hisilcon,mdio" and "hisilicon,hns-mdio" according to Arnd's comments. and reformat it according to comments from Rob. chang log: v2: 1) reformat the style. 2) make it more clearity. v1: initial version. Signed-off-by: huangdaode

[PATCH v2 net-next] net: hisilicon: fix binding document of mdio

2015-11-16 Thread huangdaode
This patch explains the occasion of "hisilcon,mdio" and "hisilicon,hns-mdio" according to Arnd's comments. and reformat it according to comments from Rob<r...@kernel.org>. chang log: v2: 1) reformat the style. 2) make it more clearity. v1: initial version.

[PATCH] net: hisilicon: fix binding document of mdio

2015-11-12 Thread huangdaode
This patch fixes explain the occasion of "hisilcon,mdio" according to Arnd's comments. specify it is only used for hip04. First, please give your commnents. Signed-off-by: huangdaode --- Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt | 4 +++- 1 file changed, 3 insert

[PATCH] net: hisilicon: fix binding document of mdio

2015-11-12 Thread huangdaode
This patch fixes explain the occasion of "hisilcon,mdio" according to Arnd's comments. specify it is only used for hip04. First, please give your commnents. Signed-off-by: huangdaode <huangda...@hisilicon.com> --- Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt

Re: [PATCH RESEND v2 net-next] net: hisilicon: updates HNS config and documents

2015-11-11 Thread huangdaode
On 2015/11/3 6:05, Arnd Bergmann wrote: On Saturday 31 October 2015 02:18:19 Salil Mehta wrote: On 10/31/2015 1:40 AM, huangdaode wrote: On 2015/10/30 22:20, Arnd Bergmann wrote: On Tuesday 27 October 2015 19:16:34 huangdaode wrote: mdio@803c { #address

Re: [PATCH RESEND v2 net-next] net: hisilicon: updates HNS config and documents

2015-11-11 Thread huangdaode
On 2015/11/3 6:05, Arnd Bergmann wrote: On Saturday 31 October 2015 02:18:19 Salil Mehta wrote: On 10/31/2015 1:40 AM, huangdaode wrote: On 2015/10/30 22:20, Arnd Bergmann wrote: On Tuesday 27 October 2015 19:16:34 huangdaode wrote: mdio@803c { #address

Re: [PATCH RESEND v2 net-next] net: hisilicon: updates HNS config and documents

2015-10-30 Thread huangdaode
On 2015/10/30 22:20, Arnd Bergmann wrote: On Tuesday 27 October 2015 19:16:34 huangdaode wrote: mdio@803c { #address-cells = <1>; #size-cells = <0>; - compatible = "hisilicon,mdio&quo

Re: [PATCH RESEND v2 net-next] net: hisilicon: updates HNS config and documents

2015-10-30 Thread huangdaode
On 2015/10/30 22:20, Arnd Bergmann wrote: On Tuesday 27 October 2015 19:16:34 huangdaode wrote: mdio@803c { #address-cells = <1>; #size-cells = <0>; - compatible = "hisilicon,mdio&quo

[PATCH] net: hisilicon: Remove .owner assignment from platform_driver

2015-10-29 Thread huangdaode
platform_driver doesn't need to set .owner, because platform_driver_register() will set it. Signed-off-by: huangdaode --- drivers/net/ethernet/hisilicon/hns/hns_enet.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/hisilicon/hns/hns_enet.c b/drivers/net/ethernet

[PATCH] net: hisilicon: Remove .owner assignment from platform_driver

2015-10-29 Thread huangdaode
platform_driver doesn't need to set .owner, because platform_driver_register() will set it. Signed-off-by: huangdaode <huangda...@hisilicon.com> --- drivers/net/ethernet/hisilicon/hns/hns_enet.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/hisilicon/hns/hns_ene

[PATCH RESEND v2 net-next] net: hisilicon: updates HNS config and documents

2015-10-27 Thread huangdaode
From: yankejian updates the bindings documents and dtsi file according to the review comments[https://lkml.org/lkml/2015/9/21/670] from Rob Herring Acked-by: Rob Herring Signed-off-by: yankejian Signed-off-by: huangdaode --- Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt | 2

[PATCH RESEND v2 net-next] net: hisilicon: updates HNS config and documents

2015-10-27 Thread huangdaode
uawei.com> Signed-off-by: huangdaode <huangda...@hisilicon.com> --- Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt | 2 +- arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi | 8 +++- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Documentation/devicet

Re: [PATCH net-next v3 0/2] net: hisilicon fix some bugs in HNS drivers

2015-10-18 Thread huangdaode
On 2015/10/16 17:30, Arnd Bergmann wrote: On Friday 16 October 2015 11:54:15 huangdaode wrote: This patchset fixes the two bugs in HNS driver, one is remove the hnae sysfs interface according to the review comments from Arnd Bergmann , another is fixing the wrong mac_id judgement bug which

Re: [PATCH net-next v3 0/2] net: hisilicon fix some bugs in HNS drivers

2015-10-18 Thread huangdaode
On 2015/10/16 17:30, Arnd Bergmann wrote: On Friday 16 October 2015 11:54:15 huangdaode wrote: This patchset fixes the two bugs in HNS driver, one is remove the hnae sysfs interface according to the review comments from Arnd Bergmann <a...@arndb.de>, another is fixing the wrong

[PATCH net-next v3 1/2] net: hisilicon rm hnae sysfs interface

2015-10-15 Thread huangdaode
This patch removes the hns driver hnae sysfs interface according to Arnd's review comments. Signed-off-by: huangdaode --- drivers/net/ethernet/hisilicon/hns/hnae.c | 47 --- 1 file changed, 47 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns/hnae.c b

[PATCH net-next v3 2/2] net: hisilicon fix a bug on Hisilicon Network Subsystem

2015-10-15 Thread huangdaode
This patch fixes the wrong judgement of mac_id when get port num. Signed-off-by: huangdaode Signed-off-by: yankejian --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c b

[PATCH net-next v3 0/2] net: hisilicon fix some bugs in HNS drivers

2015-10-15 Thread huangdaode
first bug fix, which is fixed in another patch submitted by Arnd Bergmann 2) change the code sytyle according to Joe. v1: initial version. huangdaode (2): net: hisilicon rm hnae sysfs interface net: hisilicon fix a bug on Hisilicon Network Subsystem drivers/net/ethernet/hisilicon/hns

[PATCH net-next v3 0/2] net: hisilicon fix some bugs in HNS drivers

2015-10-15 Thread huangdaode
e. v2: 1) remove first bug fix, which is fixed in another patch submitted by Arnd Bergmann <a...@arndb.de> 2) change the code sytyle according to Joe. v1: initial version. huangdaode (2): net: hisilicon rm hnae sysfs interface net: hisilicon fix a bug on Hisilicon Netwo

[PATCH net-next v3 2/2] net: hisilicon fix a bug on Hisilicon Network Subsystem

2015-10-15 Thread huangdaode
This patch fixes the wrong judgement of mac_id when get port num. Signed-off-by: huangdaode <huangda...@hisilicon.com> Signed-off-by: yankejian <yankej...@huawei.com> --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[PATCH net-next v3 1/2] net: hisilicon rm hnae sysfs interface

2015-10-15 Thread huangdaode
This patch removes the hns driver hnae sysfs interface according to Arnd's review comments. Signed-off-by: huangdaode <huangda...@hisilicon.com> --- drivers/net/ethernet/hisilicon/hns/hnae.c | 47 --- 1 file changed, 47 deletions(-) diff --git a/drivers/net/et

Re: [PATCH net-next v2 1/2] hisilicon net: removes the once HANDEL_TX_MSG macro

2015-10-11 Thread huangdaode
On 2015/10/12 11:24, Joe Perches wrote: Hello Huang. On Mon, 2015-10-12 at 11:23 +0800, huangdaode wrote: This patch changes the code style to make the code more simple. also removes the once used HNADEL_TX_MSG macro, according to the HANDEL_TX_MSG typo review comments from Joe Perches

[PATCH net-next v2 0/2] hisilicon net: fix some bugs in HNS drivers

2015-10-11 Thread huangdaode
submitted by Arnd Bergmann 2) change the code sytyle according to Joe. v1 initial version. huangdaode (2): hisilicon net: removes the once HANDEL_TX_MSG macro hisilicon net: fix a bug on Hisilicon Network Subsystem drivers/net/ethernet/hisilicon/hns/hnae.c | 45

[PATCH net-next v2 1/2] hisilicon net: removes the once HANDEL_TX_MSG macro

2015-10-11 Thread huangdaode
This patch changes the code style to make the code more simple. also removes the once used HNADEL_TX_MSG macro, according to the review comments from Joe Perches. Signed-off-by: huangdaode Reviewed-by: Joe Perches --- drivers/net/ethernet/hisilicon/hns/hnae.c | 45

[PATCH net-next v2 2/2] hisilicon net: fix a bug on Hisilicon Network Subsystem

2015-10-11 Thread huangdaode
This patch fixes the wrong judgement of mac_id when get port num. Signed-off-by: huangdaode Signed-off-by: yankejian --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c b

Re: [PATCH net-next 0/2] net: fix some bugs in HNS drivers

2015-10-11 Thread huangdaode
On 2015/10/11 20:02, David Miller wrote: From: huangdaode Date: Thu, 8 Oct 2015 14:17:23 +0800 This patchset fixes the two bugs in HNS driver, one is for fixing the compilation warning bug on arm 32-bit platform, another is fixing the wrong mac port judgement bug which is found during

Re: [PATCH net-next 0/2] net: fix some bugs in HNS drivers

2015-10-11 Thread huangdaode
On 2015/10/11 20:02, David Miller wrote: From: huangdaode <huangda...@hisilicon.com> Date: Thu, 8 Oct 2015 14:17:23 +0800 This patchset fixes the two bugs in HNS driver, one is for fixing the compilation warning bug on arm 32-bit platform, another is fixing the wrong mac port judgeme

Re: [PATCH net-next v2 1/2] hisilicon net: removes the once HANDEL_TX_MSG macro

2015-10-11 Thread huangdaode
On 2015/10/12 11:24, Joe Perches wrote: Hello Huang. On Mon, 2015-10-12 at 11:23 +0800, huangdaode wrote: This patch changes the code style to make the code more simple. also removes the once used HNADEL_TX_MSG macro, according to the HANDEL_TX_MSG typo review comments from Joe Perches

[PATCH net-next v2 2/2] hisilicon net: fix a bug on Hisilicon Network Subsystem

2015-10-11 Thread huangdaode
This patch fixes the wrong judgement of mac_id when get port num. Signed-off-by: huangdaode <huangda...@hisilicon.com> Signed-off-by: yankejian <yankej...@huawei.com> --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[PATCH net-next v2 0/2] hisilicon net: fix some bugs in HNS drivers

2015-10-11 Thread huangdaode
fixed in another patch submitted by Arnd Bergmann <a...@arndb.de> 2) change the code sytyle according to Joe. v1 initial version. huangdaode (2): hisilicon net: removes the once HANDEL_TX_MSG macro hisilicon net: fix a bug on Hisilicon Network Subsystem drivers/net/ethernet/hisilico

[PATCH net-next v2 1/2] hisilicon net: removes the once HANDEL_TX_MSG macro

2015-10-11 Thread huangdaode
This patch changes the code style to make the code more simple. also removes the once used HNADEL_TX_MSG macro, according to the review comments from Joe Perches. Signed-off-by: huangdaode <huangda...@hisilicon.com> Reviewed-by: Joe Perches <j...@perches.com> --- drivers/net/ethern

[PATCH net-next] net: hns: fix the unknown phy_nterface_t type error

2015-10-10 Thread huangdaode
This patch fix the building error reported by Jiri Pirko drivers/net/ethernet/hisilicon/hns/hnae.h:465:2: error: unknown type name 'phy_interface_t' phy_interface_t phy_if; ^ the full build log is on https://lists.01.org/pipermail/kbuild-all. Signed-off-by: huangdaode Signed

[PATCH net-next] net: hns: fix the unknown phy_nterface_t type error

2015-10-10 Thread huangdaode
ed-off-by: huangdaode <huangda...@hisilicon.com> Signed-off-by: yankejian <yankej...@huawei.com> --- drivers/net/ethernet/hisilicon/hns/hnae.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/hisilicon/hns/hnae.h b/drivers/net/ethernet/hisilicon/hns/hnae.h index 5edd8

Re: [PATCH net-next 3/6] net: remove dsa.h include from linux/netdevice.h

2015-10-08 Thread huangdaode
rs/net/ethernet/hisilicon/hns/hnae.h Looks like hnae.c needs to do "#include " directly. Cc'ing maintainer. 6fe6611f huangdaode 2015-09-17 449 struct hnae_ae_dev { 6fe6611f huangdaode 2015-09-17 450 struct device cls_dev; /* the class dev */ 6fe6611f huangdaode 2015-09-17 451

[PATCH net-next 1/2] net: Fix Hisilicon Network Subsystem compilation warning

2015-10-08 Thread huangdaode
This patch fix a compilation warning on arm 32-bit platform Signed-off-by: huangdaode Signed-off-by: yankejian --- drivers/net/ethernet/hisilicon/hns/hnae.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns/hnae.c b/drivers/net

[PATCH net-next 2/2] net: fix a bug on Hisilicon Network Subsystem

2015-10-08 Thread huangdaode
This patch fixes a bug in hns driver during internal testing of the driver. Signed-off-by: huangdaode Signed-off-by: yankejian --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/hisilicon/hns

[PATCH net-next 0/2] net: fix some bugs in HNS drivers

2015-10-08 Thread huangdaode
This patchset fixes the two bugs in HNS driver, one is for fixing the compilation warning bug on arm 32-bit platform, another is fixing the wrong mac port judgement bug which is found during internal tests. huangdaode (2): net: Fix Hisilicon Network Subsystem compilation warning net: fix

[PATCH net-next 0/2] net: fix some bugs in HNS drivers

2015-10-08 Thread huangdaode
This patchset fixes the two bugs in HNS driver, one is for fixing the compilation warning bug on arm 32-bit platform, another is fixing the wrong mac port judgement bug which is found during internal tests. huangdaode (2): net: Fix Hisilicon Network Subsystem compilation warning net: fix

[PATCH net-next 2/2] net: fix a bug on Hisilicon Network Subsystem

2015-10-08 Thread huangdaode
This patch fixes a bug in hns driver during internal testing of the driver. Signed-off-by: huangdaode <huangda...@hisilicon.com> Signed-off-by: yankejian <yankej...@huawei.com> --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH net-next 1/2] net: Fix Hisilicon Network Subsystem compilation warning

2015-10-08 Thread huangdaode
This patch fix a compilation warning on arm 32-bit platform Signed-off-by: huangdaode <huangda...@hisilicon.com> Signed-off-by: yankejian <yankej...@huawei.com> --- drivers/net/ethernet/hisilicon/hns/hnae.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --g

Re: [PATCH net-next 3/6] net: remove dsa.h include from linux/netdevice.h

2015-10-08 Thread huangdaode
rs/net/ethernet/hisilicon/hns/hnae.h Looks like hnae.c needs to do "#include " directly. Cc'ing maintainer. 6fe6611f huangdaode 2015-09-17 449 struct hnae_ae_dev { 6fe6611f huangdaode 2015-09-17 450 struct device cls_dev; /* the class dev */ 6fe6611f huangdaode 2015-09-17 451

Re: [PATCH net-next v3] net: Fix Hisilicon Network Subsystem Support Compilation

2015-09-27 Thread huangdaode
On 2015/9/26 12:42, David Miller wrote: From: huangdaode Date: Fri, 25 Sep 2015 16:29:50 +0800 @@ -191,9 +191,12 @@ static void hns_rcb_ring_init(struct ring_pair_cb *ring_pair, int ring_type) if (ring_type == RX_RING) { dsaf_write_dev(q

[PATCH net-next v4] net: Fix Hisilicon Network Subsystem Support Compilation

2015-09-27 Thread huangdaode
This patch fixes the compilation error with arm allmodconfig, this error generated due to unavailability of readq() on 32-bit platform which was found during net-next daily compilation. In the same time, fix all the hns drivers compilation warnings. Signed-off-by: huangdaode Signed-off

Re: [PATCH net-next v3] net: Fix Hisilicon Network Subsystem Support Compilation

2015-09-27 Thread huangdaode
On 2015/9/26 12:42, David Miller wrote: From: huangdaode <huangda...@hisilicon.com> Date: Fri, 25 Sep 2015 16:29:50 +0800 @@ -191,9 +191,12 @@ static void hns_rcb_ring_init(struct ring_pair_cb *ring_pair, int ring_type) if (ring_type == RX_RING) { dsaf_write

[PATCH net-next v4] net: Fix Hisilicon Network Subsystem Support Compilation

2015-09-27 Thread huangdaode
This patch fixes the compilation error with arm allmodconfig, this error generated due to unavailability of readq() on 32-bit platform which was found during net-next daily compilation. In the same time, fix all the hns drivers compilation warnings. Signed-off-by: huangdaode <huan

[PATCH net-next v3] net: Fix Hisilicon Network Subsystem Support Compilation

2015-09-25 Thread huangdaode
This patch fixes the compilation error with arm allmodconfig, this error generated due to unavailability of readq() on 32-bit platform which was found during net-next daily compilation. In the same time, fix all the hns drivers compilation warnings. Sgned-off-by: huangdaode Signed-off

[PATCH net-next v2] net: Fix Hisilicon Network Subsystem Support Compilation

2015-09-25 Thread huangdaode
This patch fixes the compilation error with arm allmodconfig, this error generated due to unavailability of readq() on 32-bit platform which was found during net-next daily compilation. In the same time, fix all the hns drivers compilation warnings. Sgned-off-by: huangdaode Signed-off

Re: [PATCH v2] net: Fix Hisilicon Network Subsystem Support Compilation

2015-09-25 Thread huangdaode
On 2015/9/25 15:12, David Miller wrote: From: huangdaode Date: Fri, 25 Sep 2015 14:47:23 +0800 @@ -966,7 +966,15 @@ static inline u32 dsaf_get_reg_field(void *base, u32 reg, u32 mask, u32 shift) #define dsaf_read_b(addr)\ readb((__iomem unsigned char *)(addr)) +#ifndef readq

[PATCH v2] net: Fix Hisilicon Network Subsystem Support Compilation

2015-09-25 Thread huangdaode
This patch fixes the compilation error with arm allmodconfig, this error generated due to unavailability of readq() on 32-bit platform which was found during net-next daily compilation. In the same time, fix all the hns drivers compilation warnings. Signed-off-by: huangdaode Signed-off

[PATCH v2] net: Fix Hisilicon Network Subsystem Support Compilation

2015-09-25 Thread huangdaode
This patch fixes the compilation error with arm allmodconfig, this error generated due to unavailability of readq() on 32-bit platform which was found during net-next daily compilation. In the same time, fix all the hns drivers compilation warnings. Signed-off-by: huangdaode <huan

Re: [PATCH v2] net: Fix Hisilicon Network Subsystem Support Compilation

2015-09-25 Thread huangdaode
On 2015/9/25 15:12, David Miller wrote: From: huangdaode <huangda...@hisilicon.com> Date: Fri, 25 Sep 2015 14:47:23 +0800 @@ -966,7 +966,15 @@ static inline u32 dsaf_get_reg_field(void *base, u32 reg, u32 mask, u32 shift) #define dsaf_read_b(addr)\ readb((__iomem unsigne

[PATCH net-next v3] net: Fix Hisilicon Network Subsystem Support Compilation

2015-09-25 Thread huangdaode
This patch fixes the compilation error with arm allmodconfig, this error generated due to unavailability of readq() on 32-bit platform which was found during net-next daily compilation. In the same time, fix all the hns drivers compilation warnings. Sgned-off-by: huangdaode <huan

[PATCH net-next v2] net: Fix Hisilicon Network Subsystem Support Compilation

2015-09-25 Thread huangdaode
This patch fixes the compilation error with arm allmodconfig, this error generated due to unavailability of readq() on 32-bit platform which was found during net-next daily compilation. In the same time, fix all the hns drivers compilation warnings. Sgned-off-by: huangdaode <huan

[PATCH net-next] net: Fix Hisilicon Network Subsystem Support Compilation

2015-09-24 Thread huangdaode
This patch fixes the compilation error with arm allmodconfig, this error generated due to unavailability of readq on 32-bit platform which was found during net-next daily compilation Signed-off-by: huangdaode Singed-off-by: yankejian --- drivers/net/ethernet/hisilicon/Kconfig | 3 +++ 1 file

[PATCH net-next] net: Fix Hisilicon Network Subsystem Support Compilation

2015-09-24 Thread huangdaode
This patch fixes the compilation error with arm allmodconfig, this error generated due to unavailability of readq on 32-bit platform which was found during net-next daily compilation Signed-off-by: huangdaode <huangda...@hisilicon.com> Singed-off-by: yankejian <yankej...@huawei.com>

Re: [PATCH v2 1/5] net: add Hisilicon Network Subsystem support (config and documents)

2015-09-23 Thread huangdaode
On 2015/9/21 22:52, Rob Herring wrote: On 09/17/2015 01:51 AM, huangdaode wrote: The Hisilicon Network Subsystem is a long term evolution IP which is supposed to be used in Hisilicon ICT SoC. The IP, which is called hns for short, is a TCP/IP acceleration engine, which can directly decode TCP

Re: [PATCH v2 1/5] net: add Hisilicon Network Subsystem support (config and documents)

2015-09-23 Thread huangdaode
On 2015/9/21 22:52, Rob Herring wrote: On 09/17/2015 01:51 AM, huangdaode wrote: The Hisilicon Network Subsystem is a long term evolution IP which is supposed to be used in Hisilicon ICT SoC. The IP, which is called hns for short, is a TCP/IP acceleration engine, which can directly decode TCP

[PATCH v2 3/5] net: add Hisilicon Network Subsystem hnae framework support

2015-09-17 Thread huangdaode
HNAE (Hisilicon Network Acceleration Engine) is a framework to provide a unified ring buffer interface for Hisilicon Network Acceleration Engines. With the interface, upper layer can work as ethernet driver, ODP driver or other service driver on purpose. Signed-off-by: huangdaode Signed-off

[PATCH v2 2/5] net: add Hisilicon Network Subsystem MDIO support

2015-09-17 Thread huangdaode
The MDIO support for Hisilicon Network Subsystem. It is used in Hislicon hip04, hip05 and Hi1610 SoC to control the external PHY Signed-off-by: huangdaode Signed-off-by: Yisen Zhuang Signed-off-by: Kenneth Lee --- drivers/net/ethernet/hisilicon/Kconfig | 10 +- drivers/net/ethernet

[PATCH v2 5/5] net: add Hisilicon Network Subsystem basic ethernet support

2015-09-17 Thread huangdaode
-by: huangdaode Signed-off-by: Kenneth Lee Signed-off-by: Yisen Zhuang --- drivers/net/ethernet/hisilicon/Kconfig |8 + drivers/net/ethernet/hisilicon/hns/Makefile |3 + drivers/net/ethernet/hisilicon/hns/hns_enet.c| 1646 ++ drivers/net/ethernet/hisilicon/hns

[PATCH v2 1/5] net: add Hisilicon Network Subsystem support (config and documents)

2015-09-17 Thread huangdaode
control to the PHY, used by acceleration engine This submit add basic config and documents Signed-off-by: huangdaode Signed-off-by: Kenneth Lee Signed-off-by: Yisen Zhuang --- .../bindings/net/hisilicon-hip04-net.txt | 4 +- .../devicetree/bindings/net/hisilicon-hns-dsaf.txt | 49

[PATCH v2 0/5] net: Hisilicon Network Subsystem support

2015-09-17 Thread huangdaode
ge the DTS pattern on hnae, restruct it to compatible with Hi1610 soc. 4. Unified hip04_mdio and hip05_mdio into hns_mdio, which is more usaul for later SOCs. V1 Patches Reference: https://lkml.org/lkml/2015/8/14/165 Thanks huangdaode (5): net: add Hisilicon Network Subsystem suppo

[PATCH v2 1/5] net: add Hisilicon Network Subsystem support (config and documents)

2015-09-17 Thread huangdaode
control to the PHY, used by acceleration engine This submit add basic config and documents Signed-off-by: huangdaode <huangda...@hisilicon.com> Signed-off-by: Kenneth Lee <liguo...@huawei.com> Signed-off-by: Yisen Zhuang <yisen.zhu...@huawei.com> --- .../bindings/net/hisil

[PATCH v2 0/5] net: Hisilicon Network Subsystem support

2015-09-17 Thread huangdaode
ge the DTS pattern on hnae, restruct it to compatible with Hi1610 soc. 4. Unified hip04_mdio and hip05_mdio into hns_mdio, which is more usaul for later SOCs. V1 Patches Reference: https://lkml.org/lkml/2015/8/14/165 Thanks huangdaode (5): net: add Hisilicon Network Subsystem suppo

[PATCH v2 5/5] net: add Hisilicon Network Subsystem basic ethernet support

2015-09-17 Thread huangdaode
-by: huangdaode <huangda...@hisilicon.com> Signed-off-by: Kenneth Lee <liguo...@huawei.com> Signed-off-by: Yisen Zhuang <yisen.zhu...@huawei.com> --- drivers/net/ethernet/hisilicon/Kconfig |8 + drivers/net/ethernet/hisilicon/hns/Makefile |3 + drivers/net/ethe

[PATCH v2 2/5] net: add Hisilicon Network Subsystem MDIO support

2015-09-17 Thread huangdaode
The MDIO support for Hisilicon Network Subsystem. It is used in Hislicon hip04, hip05 and Hi1610 SoC to control the external PHY Signed-off-by: huangdaode <huangda...@hisilicon.com> Signed-off-by: Yisen Zhuang <yisen.zhu...@huawei.com> Signed-off-by: Kenneth Lee <liguo...@huawei.co

[PATCH v2 3/5] net: add Hisilicon Network Subsystem hnae framework support

2015-09-17 Thread huangdaode
HNAE (Hisilicon Network Acceleration Engine) is a framework to provide a unified ring buffer interface for Hisilicon Network Acceleration Engines. With the interface, upper layer can work as ethernet driver, ODP driver or other service driver on purpose. Signed-off-by: huangdaode <huan