[PATCH 6/9] ssb: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/ssb/pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ssb/pci.c b/drivers/ssb/pci.c index 0f28c08..67428f4 100644 --- a/drivers/ssb/pci.c +++

[PATCH 1/9] atm: solos-pci: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/atm/solos-pci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/atm/solos-pci.c b/drivers/atm/solos-pci.c index 0c2b4ba0..6ac2b2b 100644 ---

[PATCH 5/9] ipw2x00: sdhci-pci: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/net/wireless/intel/ipw2x00/ipw2100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/intel/ipw2x00/ipw2100.c

Re: [PATCH v2] coccinelle: api: check for propagation of error from platform_get_irq

2015-12-27 Thread Sergei Shtylyov
On 12/27/2015 9:13 AM, Julia Lawall wrote: Well, looking again, the patch should be good. I just thought its goal was to fix the code as well... I could do that for the irq < 0 case, but I think that in that case, kbuild will only run the patch version, and the <= cases will not be

Re: [Cocci] [PATCH v2] coccinelle: api: check for propagation of error from platform_get_irq

2015-12-27 Thread Julia Lawall
On Sun, 27 Dec 2015, SF Markus Elfring wrote: > > The error return value of platform_get_irq seems to often get dropped. > > How do you think about any more fine-tuning here? > > Commit message: > * … of the platform_get_irq() function seems to get dropped too often. > > * Why do you

[PATCHv2 net-next 0/3] Ethtool support for phy stats

2015-12-27 Thread Andrew Lunn
This patchset add ethtool support for reading statistics from the PHY. The Marvell and Micrel Phys are then extended to report receiver packet errors and idle errors. v2: Fix linking when phylib is not enabled. Andrew Lunn (3): ethtool: Add phy statistics phy: marvell: Add ethtool

[PATCHv2 net-next 1/3] ethtool: Add phy statistics

2015-12-27 Thread Andrew Lunn
Ethernet PHYs can maintain statistics, for example errors while idle and receive errors. Add an ethertool mechanism to retrieve these statistics, using the same model as MAC statistics. Signed-off-by: Andrew Lunn --- drivers/net/phy/phy.c| 35 +++

[PATCHv2 net-next 3/3] phy: micrel: Add ethtool statistics counters

2015-12-27 Thread Andrew Lunn
The PHY counters receiver errors and errors while idle. Signed-off-by: Andrew Lunn --- drivers/net/phy/micrel.c | 96 1 file changed, 96 insertions(+) diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c index

[PATCHv2 net-next 2/3] phy: marvell: Add ethtool statistics counters

2015-12-27 Thread Andrew Lunn
The PHY counters receiver errors and errors while idle. Signed-off-by: Andrew Lunn --- drivers/net/phy/marvell.c | 135 ++ 1 file changed, 135 insertions(+) diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c index

Re: [PATCHv2 net-next 0/3] Ethtool support for phy stats

2015-12-27 Thread Florian Fainelli
On December 27, 2015 3:58:25 AM PST, Andrew Lunn wrote: >This patchset add ethtool support for reading statistics from the PHY. >The Marvell and Micrel Phys are then extended to report receiver >packet errors and idle errors. Reviewed-by: Florian Fainelli

[PATCH] qlcnic: constify qlcnic_dcb_ops structures

2015-12-27 Thread Julia Lawall
The qlcnic_dcb_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c |4 ++-- drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.h |2 +- 2 files

[PATCH] net, socket, socket_wq: fix missing initialization of flags

2015-12-27 Thread Nicolai Stange
Fixes: ceb5d58b2170 ("net: fix sock_wake_async() rcu protection") Commit ceb5d58b2170 ("net: fix sock_wake_async() rcu protection") from the current 4.4 release cycle introduces a new flags member in struct socket_wq and moved SOCKWQ_ASYNC_NOSPACE and SOCKWQ_ASYNC_WAITDATA from struct socket's

Re: [PATCH 2/4] net: phy: at803x: Allow specifying the RGMII RX clock delay via phy mode

2015-12-27 Thread Martin Blumenstingl
On Sun, Dec 27, 2015 at 4:28 AM, Florian Fainelli wrote: >> Signed-off-by: Martin Blumenstingl >> --- >> drivers/net/phy/at803x.c | 78 >> ++-- >> 1 file changed, 69 insertions(+), 9

Re: [Cocci] [PATCH v2] coccinelle: api: check for propagation of error from platform_get_irq

2015-12-27 Thread SF Markus Elfring
>> https://cwe.mitre.org/data/definitions/252.html > > The value is not unchecked. Would you like to express any stronger relationship between the function call example and the occurrence of an if statement by the discussed SmPL script? > I made a specific rule because the specific problem is

Re: [PATCH 2/4] net: phy: at803x: Allow specifying the RGMII RX clock delay via phy mode

2015-12-27 Thread Mason
On 27/12/2015 04:28, Florian Fainelli wrote: > Le 25/12/2015 16:27, Martin Blumenstingl wrote: > >> diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c >> index f566b6e..0b262a2 100644 >> --- a/drivers/net/phy/at803x.c >> +++ b/drivers/net/phy/at803x.c >> @@ -36,8 +36,10 @@ >>

[PATCH] af_unix: Fix splice-bind deadlock

2015-12-27 Thread Rainer Weikusat
On 2015/11/06, Dmitry Vyukov reported a deadlock involving the splice system call and AF_UNIX sockets, http://lists.openwall.net/netdev/2015/11/06/24 The situation was analyzed as (a while ago) A: socketpair() B: splice() from a pipe to /mnt/regular_file does sb_start_write() on /mnt

Re: [PATCHv2 net-next 0/3] Ethtool support for phy stats

2015-12-27 Thread Andrew Lunn
On Sun, Dec 27, 2015 at 12:07:15PM -0800, Florian Fainelli wrote: > On December 27, 2015 3:58:25 AM PST, Andrew Lunn wrote: > >This patchset add ethtool support for reading statistics from the PHY. > >The Marvell and Micrel Phys are then extended to report receiver > >packet

Re: [PATCH 06/10] net: hns: use to_platform_device()

2015-12-27 Thread Geliang Tang
On Sun, Dec 27, 2015 at 03:23:30PM +0200, Andy Shevchenko wrote: > On Sun, Dec 27, 2015 at 3:15 PM, Geliang Tang wrote: > > Use to_platform_device() instead of open-coding it. > > > > Signed-off-by: Geliang Tang > > --- > >

Re: [PATCH 1/2] sh_eth: remove EDMAC_BIG_ENDIAN

2015-12-27 Thread Simon Horman
On Mon, Dec 28, 2015 at 02:07:08AM +0300, Sergei Shtylyov wrote: > Commit 71557a37adb5 ("[netdrvr] sh_eth: Add SH7619 support") added support > for the big-endian EDMAC descriptors. However, it was never used and never > worked right until the recent driver fixes. I think we now can just remove

Re: [PATCH 2/2] sh_eth: get rid of {cpu|edmac}_to_{edmac|cpu}()

2015-12-27 Thread Simon Horman
On Mon, Dec 28, 2015 at 02:10:47AM +0300, Sergei Shtylyov wrote: > Now that {cpu|edmac}_to_{edmac|cpu}() functions boiled down to the mere > {cpu|le32}_to_{le32|cpu}() calls, there's no need for these functions > anymore, so just get rid of them. > > Signed-off-by: Sergei Shtylyov

Re: [PATCHv2 net-next 0/3] Ethtool support for phy stats

2015-12-27 Thread David Miller
From: Andrew Lunn Date: Sun, 27 Dec 2015 12:58:25 +0100 > This patchset add ethtool support for reading statistics from the PHY. > The Marvell and Micrel Phys are then extended to report receiver > packet errors and idle errors. > > v2: > Fix linking when phylib is not

[PATCH 2/2] sh_eth: get rid of {cpu|edmac}_to_{edmac|cpu}()

2015-12-27 Thread Sergei Shtylyov
Now that {cpu|edmac}_to_{edmac|cpu}() functions boiled down to the mere {cpu|le32}_to_{le32|cpu}() calls, there's no need for these functions anymore, so just get rid of them. Signed-off-by: Sergei Shtylyov --- drivers/net/ethernet/renesas/sh_eth.c | 72

[PATCH 3/4] wcn36xx: Transition driver to SMD client

2015-12-27 Thread Bjorn Andersson
The wcn36xx wifi driver follows the life cycle of the WLAN_CTRL SMD channel, as such it should be a SMD client. This patch makes this transition, now that we have the necessary frameworks available. Signed-off-by: Bjorn Andersson ---

[PATCH 0/4] WCN36xx convert to mainline SMD interface

2015-12-27 Thread Bjorn Andersson
The mainline kernel now has the necessary implementations for SMD, SMSM and WCNSS_CTRL. This series provides the changes necessary for the wcn36xx driver to utilize this infrastructure and make this driver work in mainline. A driver for loading the WCNSS firmware, through remoteproc, has been

[PATCH 2/4] wcn36xx: Change indication list lock to spinlock

2015-12-27 Thread Bjorn Andersson
In preparation for handling incoming messages from IRQ context, change the indication list lock to a spinlock Signed-off-by: Bjorn Andersson --- drivers/net/wireless/ath/wcn36xx/smd.c | 12 ++-- drivers/net/wireless/ath/wcn36xx/wcn36xx.h | 2 +- 2

[PATCH 4/4] dt: binding: Add Qualcomm wcn36xx WiFi binding

2015-12-27 Thread Bjorn Andersson
Add binding representing the Qualcomm wcn3620/60/80 WiFi block. Signed-off-by: Bjorn Andersson --- .../bindings/net/wireless/qcom,wcn36xx-wifi.txt| 76 ++ 1 file changed, 76 insertions(+) create mode 100644

[PATCH 1/4] wcn36xx: Fold indication payload into message header

2015-12-27 Thread Bjorn Andersson
Merge the two allocation instead of separately allocating room for the indication payload. Signed-off-by: Bjorn Andersson --- drivers/net/wireless/ath/wcn36xx/smd.c | 15 ++- drivers/net/wireless/ath/wcn36xx/smd.h | 2 +- 2 files changed, 7

Re: [v10, 0/6] Freescale DPAA FMan

2015-12-27 Thread David Miller
From: Date: Mon, 21 Dec 2015 02:21:24 +0200 > The Freescale Data Path Acceleration Architecture (DPAA) is a set > of hardware components on specific QorIQ multicore processors. > This architecture provides the infrastructure to support > simplified sharing of

Re: [PATCHv2 net-next 0/3] Ethtool support for phy stats

2015-12-27 Thread David Miller
From: David Miller Date: Mon, 28 Dec 2015 00:32:43 -0500 (EST) > From: Andrew Lunn > Date: Sun, 27 Dec 2015 12:58:25 +0100 > >> This patchset add ethtool support for reading statistics from the PHY. >> The Marvell and Micrel Phys are then extended to report

Re: [PATCH RFC 00/26] Phylink & SFP support

2015-12-27 Thread Florian Fainelli
On December 14, 2015 11:26:21 PM PST, Dustin Byford wrote: >On Mon Dec 07 17:35, Russell King - ARM Linux wrote: >> Hi, > >Hello. > >> SFP modules are hot-pluggable ethernet transceivers; they can be >> detected at runtime and accordingly configured. There are a

[PATCH net-next 03/12] bnxt_en: Add support for upgrading APE/NC-SI firmware via Ethtool FLASHDEV

2015-12-27 Thread Michael Chan
From: Rob Swindell NC-SI firmware of type apeFW (10) is now supported. Signed-off-by: Rob Swindell Signed-off-by: Michael Chan --- drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 3 +++ 1 file changed, 3 insertions(+)

[PATCH net-next 08/12] bnxt_en: Cleanup bnxt_hwrm_func_cfg().

2015-12-27 Thread Michael Chan
1. Use local variable pf for repeated access to this pointer. 2. The 2nd argument num_vfs was unnecessarily declared as pointer to int. This function doesn't change num_vfs so change the argument to int. Signed-off-by: Michael Chan ---

[PATCH net-next 09/12] bnxt_en: Improve VF resource accounting.

2015-12-27 Thread Michael Chan
We need to keep track of all resources, such as rx rings, tx rings, cmpl rings, rss contexts, stats contexts, vnics, after we have divided them for the VFs. Otherwise, subsequent ring changes on the PF may not work correctly. We adjust all max resources in struct bnxt_pf_info after they have

[PATCH net-next 12/12] bnxt_en: Add BCM57301 & BCM57402 devices.

2015-12-27 Thread Michael Chan
From: David Christensen Added the PCI IDs for the BCM57301 and BCM57402 controllers. Signed-off-by: David Christensen Signed-off-by: Michael Chan --- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 10 -- 1 file changed, 8

Re: [PATCH RFC 00/26] Phylink & SFP support

2015-12-27 Thread Florian Fainelli
On December 7, 2015 9:35:53 AM PST, Russell King - ARM Linux wrote: > >Overall, phylink supports several link modes, with dynamic switching >possible between these: >* A true fixed link mode, where the parameters are set by DT. >* PHY mode, where we read the negotiation

Re: [PATCH net-next 0/2] r8169:Update RTL8168H PHY parameters

2015-12-27 Thread David Miller
From: Chunhao Lin Date: Thu, 24 Dec 2015 21:15:25 +0800 > Fix typo in setting PHY parameter and update the way of reading PHY register > "rg_saw_cnt". Series applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to

[PATCH net-next 04/12] bnxt_en: Increment checksum error counter only if NETIF_F_RXCSUM is set.

2015-12-27 Thread Michael Chan
From: Satish Baddipadige rx_l4_csum_error is now incremented only when offload is enabled Signed-off-by: Satish Baddipadige Signed-off-by: Michael Chan --- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 6 -- 1 file changed,

[PATCH net-next 02/12] bnxt_en: Optimize ring alloc and ring free functions.

2015-12-27 Thread Michael Chan
Remove the unnecessary "if" statement before the "for" statement: if (x) { for (i = 0; i < x; i++) ... } Also, change the ring free function to return void as it only returns 0. Signed-off-by: Michael Chan --- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 201

[PATCH net-next 07/12] bnxt_en: Check hardware resources before enabling NTUPLE.

2015-12-27 Thread Michael Chan
The hardware resources required to enable NTUPLE varies depending on how many rx channels are configured. We need to make sure we have the resources before we enable NTUPLE. Add bnxt_rfs_capable() to do the checking. In addition, we need to do the same checking in ndo_fix_features(). As the rx

[PATCH net-next 11/12] bnxt_en: Update to Firmware interface spec 1.0.0.

2015-12-27 Thread Michael Chan
This interface will be forward compatible with future changes. Signed-off-by: Michael Chan --- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 33 +- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 8 +- drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h | 865

[PATCH net-next 06/12] bnxt_en: Don't treat single segment rx frames as GRO frames.

2015-12-27 Thread Michael Chan
If hardware completes single segment rx frames, don't bother setting up all the GRO related fields. Pass the SKB up as a normal frame. Reviewed-by: vasundhara volam Signed-off-by: Michael Chan --- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 7 ++-

[PATCH net-next 10/12] bnxt_en: Keep track of the ring group resource.

2015-12-27 Thread Michael Chan
Newer firmware will return the ring group resource when we call hwrm_func_qcaps(). To be compatible with older firmware, use the number of tx rings as the number of ring groups if the older firmware returns 0. When determining how many rx rings we can support, take the ring group resource in

[PATCH net-next 01/12] bnxt_en: support hwrm_func_drv_unrgtr command

2015-12-27 Thread Michael Chan
From: Jeffrey Huang During remove_one, the driver should issue hwrm_func_drv_unrgtr command to inform firmware that this function has been unloaded. This is to let firmware keep track of driver present/absent state when driver is gracefully unloaded. A keep alive timer is

[PATCH net-next 00/12] bnxt_en: Patches for net-next.

2015-12-27 Thread Michael Chan
Mainly clean-ups, optimizations, and updating to the latest firmware interface spec. Michael Chan (12): bnxt_en: support hwrm_func_drv_unrgtr command bnxt_en: Optimize ring alloc and ring free functions. bnxt_en: Add support for upgrading APE/NC-SI firmware via Ethtool FLASHDEV

[PATCH net-next 05/12] bnxt_en: Allocate rx_cpu_rmap only if Accelerated RFS is enabled.

2015-12-27 Thread Michael Chan
Also, no need to check for bp->rx_nr_rings as it is always >= 1. If the allocation fails, it is not a fatal error and we can still proceed. Signed-off-by: Michael Chan --- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)

[PATCH 0/2] sh_eth: remove unused BE descriptor support

2015-12-27 Thread Sergei Shtylyov
Hello. Here's a set of 2 patches against DaveM's 'net-next.git' repo plus the recently merged to 'net.git' repo fix for the 16-bit descriptor endianness. We get rid of ~30 LoCs and ~300 bytes of code. [1/2] sh_eth: remove EDMAC_BIG_ENDIAN [2/2] sh_eth: get rid of {cpu|edmac}_to_{edmac|cpu}()

[PATCH 1/2] sh_eth: remove EDMAC_BIG_ENDIAN

2015-12-27 Thread Sergei Shtylyov
Commit 71557a37adb5 ("[netdrvr] sh_eth: Add SH7619 support") added support for the big-endian EDMAC descriptors. However, it was never used and never worked right until the recent driver fixes. I think we now can just remove this support, it was only burdening the driver from the start. It

Re: [PATCH net] sctp: label accepted/peeled off sockets

2015-12-27 Thread David Miller
From: Marcelo Ricardo Leitner Date: Wed, 23 Dec 2015 16:44:09 -0200 > From: Marcelo Ricardo Leitner > > Accepted or peeled off sockets were missing a security label (e.g. > SELinux) which means that socket was in "unlabeled" state. > > This

Re: [PATCH net-next v3] Driver for IBM System i/p VNIC protocol

2015-12-27 Thread David Miller
From: Thomas Falcon Date: Mon, 21 Dec 2015 11:26:06 -0600 > This is a new device driver for a high performance SR-IOV assisted virtual > network for IBM System p and IBM System i systems. The SR-IOV VF will be > attached to the VIOS partition and mapped to the Linux

Re: [PATCH 1/4] net: ethernet: arc: Probe emac after set RMII clock

2015-12-27 Thread David Miller
I only see 3 patches in this series. Furthermore, you failed to provide a proper "[PATCH 0/4] xxx" posting providing a high level description of what this series is doing, and how it is doing it, and why. Thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body

Re: [PATCH net] sctp: use GFP_USER for user-controlled kmalloc

2015-12-27 Thread David Miller
From: Marcelo Ricardo Leitner Date: Wed, 23 Dec 2015 16:28:40 -0200 > Commit cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc") > missed two other spots. > > For connectx, as it's more likely to be used by kernel users of the API, > it detects if GFP_USER

Re: [PATCH] qlcnic: constify qlcnic_dcb_ops structures

2015-12-27 Thread David Miller
From: Julia Lawall Date: Sun, 27 Dec 2015 22:01:29 +0100 > The qlcnic_dcb_ops structures are never modified, so declare them as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Applied, thanks Julia. -- To unsubscribe

Re: [PATCH net-next 00/12] bnxt_en: Patches for net-next.

2015-12-27 Thread David Miller
From: Michael Chan Date: Sun, 27 Dec 2015 18:19:17 -0500 > Mainly clean-ups, optimizations, and updating to the latest firmware > interface spec. Series applied, thanks Michael. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to

[PATCH net-next v2 08/10] be2net: fix port-res desc query of GET_PROFILE_CONFIG FW cmd

2015-12-27 Thread Sathya Perla
From: Suresh Reddy Commit 72ef3a88fa8e ("be2net: set pci_func_num while issuing GET_PROFILE_CONFIG cmd") passed a specific pf_num while issuing a GET_PROFILE_CONFIG cmd as FW returns descriptors for all functions when pf_num is zero. But, when pf_num is set to a

[PATCH net-next v2 02/10] be2net: avoid configuring VEPA mode on BE3

2015-12-27 Thread Sathya Perla
From: Suresh Reddy BE3 chip doesn't support VEPA mode. Signed-off-by: Suresh Reddy Signed-off-by: Sathya Perla --- drivers/net/ethernet/emulex/benet/be_main.c | 3 +++ 1 file changed, 3 insertions(+) diff

[PATCH net-next v2 03/10] be2net: cleanup FW flash image related macro defines

2015-12-27 Thread Sathya Perla
From: Suresh Reddy Many constant definitions relating to the FW-image layout (such as section offset values) were defined in decimal format rather than hexa-decimal. This makes this part of the code un-readable. Also some defines related to BE2 are labeld "g2" and

[PATCH net-next v2 05/10] be2net: log digital signature errors while flashing FW image

2015-12-27 Thread Sathya Perla
From: Suresh Reddy >From FW version 11.0 onwards, the FW supports a new "secure mode" feature (based on a jumper setting on the adapter.) In this mode, the FW image when flashed is authenticated with a digital signature. This patch logs appropriate error messages and

[PATCH net-next v2 06/10] be2net: remove a line of code that has no effect

2015-12-27 Thread Sathya Perla
This patch removes a line of code that changes adapter->recommended_prio value followed by yet another assignment. Also, the variable is used to store the vlan priority value that is already shifted to the PCP bits position in the vlan tag format. Hence, the name of this variable is changed to

[PATCH net-next v2 04/10] be2net: move FW flash cmd code to be_cmds.c

2015-12-27 Thread Sathya Perla
From: Suresh Reddy All code relating to FW cmds is in be_cmds.[ch] excepting FW flash cmd related code. This patch moves these routines from be_main.c to be_cmds.c Signed-off-by: Suresh Reddy Signed-off-by: Sathya Perla

[PATCH net-next v2 10/10] be2net: bump up the driver version to 11.0.0.0

2015-12-27 Thread Sathya Perla
From: Suresh Reddy Signed-off-by: Suresh Reddy Signed-off-by: Sathya Perla --- drivers/net/ethernet/emulex/benet/be.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH net-next v2 07/10] be2net: remove unused error variables

2015-12-27 Thread Sathya Perla
From: Venkat Duvvuru eeh_error, fw_timeout, hw_error variables in the be_adapter structure are not used anymore. An earlier patch that introduced adapter->err_flags to store this information missed removing these variables. Signed-off-by: Venkat Duvvuru

[PATCH net-next v2 09/10] be2net: support ethtool get-dump option

2015-12-27 Thread Sathya Perla
From: Venkat Duvvuru This patch adds support for ethtool's --get-dump option in be2net, to retrieve FW dump. In the past when this option was not yet available, this feature was supported via the --register-dump option as a workaround. This patch removes

Re: [PATCH 1/4] net: ethernet: arc: Probe emac after set RMII clock

2015-12-27 Thread Xing Zheng
Hi David, Sorry, I missed the cover letter. I have added it and resent the patchset. Thanks. - Xing Zheng On 2015年12月28日 13:14, David Miller wrote: I only see 3 patches in this series. Furthermore, you failed to provide a proper "[PATCH 0/4] xxx" posting providing a high level description of

[RESEND PATCH v1 1/4] net: ethernet: arc: Probe emac after set RMII clock

2015-12-27 Thread Xing Zheng
After enter arc_emac_probe, emac will get_phy_id, phy_poll_reset and other connecting PHY via mdiobus_read, so we need to set correct ref clock rate for emac before probe emac. Signed-off-by: Xing Zheng --- drivers/net/ethernet/arc/emac_rockchip.c | 11 +++

[RESEND PATCH v1 0/4] Add support emac for the RK3036 SoC platform

2015-12-27 Thread Xing Zheng
Hi, We have supported the emac for RK3066/RK3188, but the RK3036 have some configuration different with them. We should let the driver of emac_rockchip compatible with other Rockchip SoCs. Xing Zheng (4): net: ethernet: arc: Probe emac after set RMII clock net: ethernet: arc: Keep emac

[RESEND PATCH v1 2/4] net: ethernet: arc: Keep emac compatibility for more Rockchip SoCs

2015-12-27 Thread Xing Zheng
On the RK3066/RK3188, there was fixed GRF offset configuration to set emac and fixed DIV2 mac TX/RX clock. So, we need to easily set and fit to other SoCs (RK3036) which maybe have different GRF offset, and need adjust mac TX/RX clock. Signed-off-by: Xing Zheng ---

[PATCH net-next v2 00/10] be2net: patch set

2015-12-27 Thread Sathya Perla
Hi David, The following patch set contains some feature additions, code re-organization and cleanup and a few non-critical fixes. Pls consider applying this to the net-next tree. Thanks. v2 changes: replaced an if/else block that checks for error values with a switch/case statement in patch 5.

[PATCH net-next v2 01/10] be2net: fix VF link state transition from disabled to auto

2015-12-27 Thread Sathya Perla
From: Suresh Reddy The VF link state setting transition from "disable" to "auto" does not work due to a bug in SET_LOGICAL_LINK_CONFIG_V1 cmd in FW. This issue could not be fixed in FW due to some backward compatibility issues it causes with some released drivers. The

[PATCH 06/10] net: hns: use to_platform_device()

2015-12-27 Thread Geliang Tang
Use to_platform_device() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c

Re: [PATCH 06/10] net: hns: use to_platform_device()

2015-12-27 Thread Andy Shevchenko
On Sun, Dec 27, 2015 at 3:15 PM, Geliang Tang wrote: > Use to_platform_device() instead of open-coding it. > > Signed-off-by: Geliang Tang > --- > drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c | 3 +-- > 1 file changed, 1 insertion(+), 2