[PATCH] ravb: remove erroneous comment

2018-03-03 Thread Niklas Söderlund
;sergei.shtyl...@cogentembedded.com> Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- drivers/net/ethernet/renesas/ravb_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/renesas/ravb_main.c b/drivers/net/ethernet/renesas/ravb_main.c

[PATCH v2] ravb: add support for changing MTU

2018-02-16 Thread Niklas Söderlund
Allow for changing the MTU within the limit of the maximum size of a descriptor (2048 bytes). Add the callback to change MTU from user-space and take the configurable MTU into account when configuring the hardware. Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech

Re: [PATCH] ravb: add support for changing MTU

2018-02-14 Thread Niklas Söderlund
Hi Sergei, Thanks for your feedback. On 2018-02-14 14:34:09 +0300, Sergei Shtylyov wrote: > Hello! > > On 02/13/2018 04:12 PM, Niklas Söderlund wrote: > > >> On 02/12/2018 11:00 PM, Niklas Söderlund wrote: > >> > >>> Allow for chancing th

Re: [PATCH] ravb: add support for changing MTU

2018-02-13 Thread Niklas Söderlund
Hi Sergei, Thanks for your feedback. On 2018-02-13 13:01:04 +0300, Sergei Shtylyov wrote: > Hello! > > On 02/12/2018 11:00 PM, Niklas Söderlund wrote: > > > Allow for chancing the MTU within the limit of the maximum size of a > >Changing. :-) Yes :-) > >

[PATCH] ravb: add support for changing MTU

2018-02-12 Thread Niklas Söderlund
Allow for chancing the MTU within the limit of the maximum size of a descriptor (2048 bytes). Add the callback to change MTU from user-space and take the configurable MTU into account when configuring the hardware. Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech

Re: [PATCH] Revert "ravb: add workaround for clock when resuming with WoL enabled"

2017-12-11 Thread Niklas Söderlund
cks during resume"), the workaround is no longer needed. > > Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> > --- > drivers/net/ethernet/renesas/ravb_main.c | 27 ++--

Re: [PATCH] net: ethtool: remove error check for legacy setting transceiver type

2017-10-20 Thread Niklas Söderlund
Hi Geert, On 2017-10-20 09:15:50 +0200, Geert Uytterhoeven wrote: > Hi Niklas, > > On Fri, Oct 20, 2017 at 1:32 AM, Niklas Söderlund > <niklas.soderlund+rene...@ragnatech.se> wrote: > > Commit 9cab88726929605 ("net: ethtool: Add back transceiver type") > >

Re: [PATCH] net: ethtool: remove error check for legacy setting transceiver type

2017-10-20 Thread Niklas Söderlund
Hi Geert, On 2017-10-20 09:15:50 +0200, Geert Uytterhoeven wrote: > Hi Niklas, > > On Fri, Oct 20, 2017 at 1:32 AM, Niklas Söderlund > <niklas.soderlund+rene...@ragnatech.se> wrote: > > Commit 9cab88726929605 ("net: ethtool: Add back transceiver type") > >

[PATCH] net: ethtool: remove error check for legacy setting transceiver type

2017-10-19 Thread Niklas Söderlund
/tx Fixes: 19cab88726929605 ("net: ethtool: Add back transceiver type") Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- net/core/ethtool.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Hi, The commit 9cab88726929605 ("net: ethtool: Add back transceiv

Re: [PATCH] ravb: Consolidate clock handling

2017-10-12 Thread Niklas Söderlund
Hi Geert, Grate patch! Reviewed-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> On 2017-10-12 10:24:53 +0200, Geert Uytterhoeven wrote: > The module clock is used for two purposes: > - Wake-on-LAN (WoL), which is optional, > - gPTP Timer Increment (GTI) confi

[PATCH v3 1/2] ravb: add wake-on-lan support via magic packet

2017-08-01 Thread Niklas Söderlund
the clock usage count it won't reach 0 and be switched off. Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- drivers/net/ethernet/renesas/ravb.h | 2 + drivers/net/ethernet/renesas/ravb_main.c | 108 +-- 2 files changed, 106 inse

[PATCH v3 0/2] ravb: add wake-on-lan support via magic packet

2017-08-01 Thread Niklas Söderlund
place this was a bug in v1. Niklas Söderlund (2): ravb: add wake-on-lan support via magic packet ravb: add workaround for clock when resuming with WoL enabled drivers/net/ethernet/renesas/ravb.h | 2 + drivers/net/ethernet/renesas/ravb_main.c | 131 ++- 2

[PATCH v3 2/2] ravb: add workaround for clock when resuming with WoL enabled

2017-08-01 Thread Niklas Söderlund
of this PSCI sleep behavior. Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- drivers/net/ethernet/renesas/ravb_main.c | 27 +-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/renesas/ravb_main.c b/drive

Re: [PATCH v2] ravb: add wake-on-lan support via magic packet

2017-08-01 Thread Niklas Söderlund
Hi Sergei, Thanks for your feedback! On 2017-07-31 22:47:12 +0300, Sergei Shtylyov wrote: > Hello! > > On 07/30/2017 05:06 PM, Niklas Söderlund wrote: > > > WoL is enabled in the suspend callback by setting MagicPacket detection > > and disabling all inter

Re: [PATCH v2] ravb: add wake-on-lan support via magic packet

2017-07-30 Thread Niklas Söderlund
Hi Andrew, On 2017-07-30 22:07:31 +0200, Andrew Lunn wrote: > On Sun, Jul 30, 2017 at 09:51:54PM +0200, Niklas Söderlund wrote: > > Hi Andrew, > > > > On 2017-07-30 19:07:38 +0200, Andrew Lunn wrote: > > > Hi Niklas > > > > > > >

Re: [PATCH v2] ravb: add wake-on-lan support via magic packet

2017-07-30 Thread Niklas Söderlund
best to not change behavior here. Try to get the clock, if we can great we can do WoL if not then user-space will be prevented from enabling WoL and nothing in the current behavior changes. > > Andrew -- Regards, Niklas Söderlund

[PATCH v2] ravb: add wake-on-lan support via magic packet

2017-07-30 Thread Niklas Söderlund
the clock usage count it won't reach 0 and be switched off. Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- drivers/net/ethernet/renesas/ravb.h | 2 + drivers/net/ethernet/renesas/ravb_main.c | 130 ++- 2 files changed, 128 inse

Re: [PATCH] ravb: add wake-on-lan support via magic packet

2017-06-12 Thread Niklas Söderlund
Hi Geert, On 2017-05-18 10:52:25 +0200, Geert Uytterhoeven wrote: > Hi Niklas, > > On Tue, May 16, 2017 at 2:16 PM, Niklas Söderlund > <niklas.soderl...@ragnatech.se> wrote: > > On 2017-05-16 13:36:21 +0200, Geert Uytterhoeven wrote: > >> On Tue, May 16,

Re: ravb WoL interrupt flood

2017-06-12 Thread Niklas Söderlund
Hi Geert, On 2017-05-30 12:29:24 +0200, Niklas Söderlund wrote: > Hi Geert, > > Thanks for the report. I did run a 200+ loop suspend/resume without > issues so this error is probably hard to reproduce or something changed > since v4.11-rc1 which if IIRC was the base I used

[PATCH v3] sh_eth: add support for changing MTU

2017-06-12 Thread Niklas Söderlund
The hardware supports the MTU to be changed and the driver it self is somewhat prepared to support this. This patch hooks up the callbacks to be able to change the MTU from user-space. Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> Acked-by: Sergei Shtylyov <ser

Re: [PATCH v2] sh_eth: add support to change MTU

2017-06-09 Thread Niklas Söderlund
On 2017-06-09 22:32:15 +0200, Niklas Söderlund wrote: > The hardware supports the MTU to be changed and the driver it self is > somewhat prepared to support this. This patch hooks up the callbacks to > be able to change the MTU from user-space. > > Signed-off-by: N

[PATCH v2] sh_eth: add support to change MTU

2017-06-09 Thread Niklas Söderlund
The hardware supports the MTU to be changed and the driver it self is somewhat prepared to support this. This patch hooks up the callbacks to be able to change the MTU from user-space. Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> Acked-by: Sergei Shtylyov <ser

Re: [PATCH] sh_eth: add support to change MTU

2017-06-09 Thread Niklas Söderlund
Hi Sergei, Thanks for your feedback. On 2017-06-09 19:31:09 +0300, Sergei Shtylyov wrote: > Hello! > > On 06/09/2017 06:30 PM, Niklas Söderlund wrote: > > > The hardware supports the MTU to be changed and the driver it self is > > somewhat prepared to support t

[PATCH] sh_eth: add support to change MTU

2017-06-09 Thread Niklas Söderlund
The hardware supports the MTU to be changed and the driver it self is somewhat prepared to support this. This patch hooks up the callbacks to be able to change the MTU from user-space. Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- Based on v4.12-rc1 and

Re: ravb WoL interrupt flood

2017-05-30 Thread Niklas Söderlund
terhoeven -- There's lots of Linux beyond ia32 -- > ge...@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like > that. > -- Linus Torvalds -- Regards, Niklas Söderlund

Re: [PATCH] ravb: add wake-on-lan support via magic packet

2017-05-16 Thread Niklas Söderlund
Hi, On 2017-05-16 13:36:21 +0200, Geert Uytterhoeven wrote: > Hi Simon, > > On Tue, May 16, 2017 at 1:01 PM, Simon Horman <ho...@verge.net.au> wrote: > > On Tue, May 16, 2017 at 11:07:34AM +0200, Geert Uytterhoeven wrote: > >> On Tue, May 16, 2017

Re: [PATCH] ravb: add wake-on-lan support via magic packet

2017-05-16 Thread Niklas Söderlund
Hi Geert, Thanks for your feedback. On 2017-05-16 09:48:51 +0200, Geert Uytterhoeven wrote: > Hi Niklas, > > On Fri, May 12, 2017 at 11:12 PM, Niklas Söderlund > <niklas.soderl...@ragnatech.se> wrote: > > On 2017-05-12 16:43:55 +0200, Geert Uytterhoeven wrote: > >

Re: [PATCH] ravb: add wake-on-lan support via magic packet

2017-05-12 Thread Niklas Söderlund
Hi Geert, On 2017-05-12 16:43:55 +0200, Geert Uytterhoeven wrote: > Hi Niklas, > > On Fri, May 12, 2017 at 4:32 PM, Niklas Söderlund > <niklas.soderl...@ragnatech.se> wrote: > > On 2017-05-12 14:58:53 +0200, Niklas Söderlund wrote: > >> On 2017-05-12 14:47:5

Re: [PATCH] ravb: add wake-on-lan support via magic packet

2017-05-12 Thread Niklas Söderlund
Hi Geert, On 2017-05-12 14:58:53 +0200, Niklas Söderlund wrote: > Hi Geert, > > Thanks for testing. > > On 2017-05-12 14:47:53 +0200, Geert Uytterhoeven wrote: > > Hi Niklas, > > > > On Fri, May 12, 2017 at 12:27 AM, Niklas Söderlund > > <niklas.soderl

Re: [PATCH] ravb: add wake-on-lan support via magic packet

2017-05-12 Thread Niklas Söderlund
Hi Geert, Thanks for testing. On 2017-05-12 14:47:53 +0200, Geert Uytterhoeven wrote: > Hi Niklas, > > On Fri, May 12, 2017 at 12:27 AM, Niklas Söderlund > <niklas.soderlund+rene...@ragnatech.se> wrote: > > WoL is enabled in the suspend callback by setti

[PATCH] ravb: add wake-on-lan support via magic packet

2017-05-11 Thread Niklas Söderlund
the clock usage count it won't reach 0 and be switched off. Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- Tested on Salvator-X H3 and M3-W. drivers/net/ethernet/renesas/ravb.h | 2 + drivers/net/ethernet/renesas/ravb_main.c

Re: [PATCH 0/2] sh_eth: fixes for MagicPacket handling

2017-02-01 Thread Niklas Söderlund
On 2017-02-01 12:54:41 -0500, David Miller wrote: > From: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> > Date: Wed, 1 Feb 2017 15:41:53 +0100 > > > This series contain two fixes for MagicPacket handling. It's based on > > top of net-next and is tested on K

[PATCH 2/2] sh_eth: fix wakeup event reporting from MagicPacket

2017-02-01 Thread Niklas Söderlund
If a link change interrupt happens along side the MagicPacket interrupt and the link change interrupt is ignored the interrupt handler will return and the wakeup event is not register. Fix this by moving the MagicPacket check before the link change check. Signed-off-by: Niklas Söderlund

[PATCH 1/2] sh_eth: align usage of sh_eth_modify() with rest of driver

2017-02-01 Thread Niklas Söderlund
To be consistent with the rest of the driver when setting bits using sh_eth_modify() the same bit should also be cleared. This have no functional change and should have been done from the start. Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> Suggested-by: Sergei Sh

[PATCH 0/2] sh_eth: fixes for MagicPacket handling

2017-02-01 Thread Niklas Söderlund
Hi, This series contain two fixes for MagicPacket handling. It's based on top of net-next and is tested on Koelsch. Niklas Söderlund (2): sh_eth: align usage of sh_eth_modify() with rest of driver sh_eth: fix wakeup event reporting from MagicPacket drivers/net/ethernet/renesas/sh_eth.c

[PATCHv3 1/6] sh_eth: use correct name for ECMR_MPDE bit

2017-01-09 Thread Niklas Söderlund
This bit was wrongly named due to a typo, Sergei checked the SH7734/63 manuals and this bit should be named MPDE. Suggested-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- drivers/net/ethernet/rene

[PATCHv3 4/6] sh_eth: enable wake-on-lan for r8a7740/armadillo

2017-01-09 Thread Niklas Söderlund
Geert Uytterhoeven reported WoL worked on his Armadillo board. Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> Tested-by: Geert Uytterhoeven <geert+rene...@glider.be> --- drivers/net/ethernet/renesas/sh_eth.c | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCHv3 5/6] sh_eth: enable wake-on-lan for sh7734

2017-01-09 Thread Niklas Söderlund
This is based on public datasheet for sh7734 which shows it has the same behavior and registers for WoL as other versions of sh_eth. Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- drivers/net/ethernet/renesas/sh_eth.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCHv3 3/6] sh_eth: enable wake-on-lan for R-Car Gen2 devices

2017-01-09 Thread Niklas Söderlund
Tested on Gen2 r8a7791/Koelsch. Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> Tested-by: Geert Uytterhoeven <geert+rene...@glider.be> --- drivers/net/ethernet/renesas/sh_eth.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/

[PATCHv3 6/6] sh_eth: enable wake-on-lan for sh7763

2017-01-09 Thread Niklas Söderlund
This is based on public datasheet for sh7763 which shows it has the same behavior and registers for WoL as other versions of sh_eth. Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- drivers/net/ethernet/renesas/sh_eth.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCHv3 2/6] sh_eth: add generic wake-on-lan support via magic packet

2017-01-09 Thread Niklas Söderlund
switched off by Runtime PM. To keep the clock alive the suspend callback need to call clk_enable() directly to increase the usage count of the clock. Then when Runtime PM decreases the clock usage count it won't reach 0 and be switched off. Signed-off-by: Niklas Söderlund <niklas.soderlund+r

[PATCHv3 0/6] sh_eth: add wake-on-lan support via magic packet

2017-01-09 Thread Niklas Söderlund
oid possible gaps due to alignment restrictions. - Make wol_enabled in sh_eth_private part of the already existing bitfield instead of a bool. - Do not initiate mdp->wol_enabled to 0, the struct is kzalloc'ed so it's already set to 0. Niklas Söderlund (6): sh_eth: use correct name for E

Re: [PATCHv2 1/5] sh_eth: add generic wake-on-lan support via magic packet

2016-12-19 Thread Niklas Söderlund
Hi Sergei, On 2016-12-18 00:50:59 +0300, Sergei Shtylyov wrote: > Hello! > > On 12/12/2016 07:09 PM, Niklas Söderlund wrote: > >Not the complete review yet, just some superficial comments. > > > Add generic functionality to support Wake-on-Lan using Magic

Re: [PATCHv2 1/5] sh_eth: add generic wake-on-lan support via magic packet

2016-12-19 Thread Niklas Söderlund
Hi Sergei, Thanks for the spelling feedback, will include your suggestions in v3. Which I hope to post once rc1 is released and netdev opens, as you suggested to me previously. On 2016-12-18 23:26:11 +0300, Sergei Shtylyov wrote: > Hello. > > On 12/12/2016 07:09 PM, Niklas Söderl

Re: [PATCHv2 1/5] sh_eth: add generic wake-on-lan support via magic packet

2016-12-13 Thread Niklas Söderlund
Hi Geert, Thanks for feedback and testing! On 2016-12-13 14:03:52 +0100, Geert Uytterhoeven wrote: > CC linux-pm I think you forgot to CC linux-pm :-) > > On Mon, Dec 12, 2016 at 5:09 PM, Niklas Söderlund > <niklas.soderlund+rene...@ragnatech.se> wrote: > > A

[PATCHv2 1/5] sh_eth: add generic wake-on-lan support via magic packet

2016-12-12 Thread Niklas Söderlund
switched off by Runtime PM. To keep the clock alive the suspend callback need to call clk_enable() directly to increase the usage count of the clock. Then when Runtime PM decreases the clock usage count it won't reach 0 and be switched off. Signed-off-by: Niklas Söderlund <niklas.soderlund+r

[PATCHv2 2/5] sh_eth: enable wake-on-lan for Gen2 devices

2016-12-12 Thread Niklas Söderlund
Tested on Gen2 r8a7791/Koelsch. Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- drivers/net/ethernet/renesas/sh_eth.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/r

[PATCHv2 5/5] sh_eth: enable wake-on-lan for sh7763

2016-12-12 Thread Niklas Söderlund
This is based on public datasheet for sh7763 which shows it have the same behavior and registers for WoL as other versions of sh_eth. Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- drivers/net/ethernet/renesas/sh_eth.c | 1 + 1 file changed, 1 insertion(+)

[PATCHv2 0/5] sh_eth: add wake-on-lan support via magic packet

2016-12-12 Thread Niklas Söderlund
mdp->wol_enabled to 0, the struct is kzalloc'ed so it's already set to 0. Niklas Söderlund (5): sh_eth: add generic wake-on-lan support via magic packet sh_eth: enable wake-on-lan for Gen2 devices sh_eth: enable wake-on-lan for r8a7740/armadillo sh_eth: enable wake-on-lan for sh7743 sh_eth:

[PATCHv2 4/5] sh_eth: enable wake-on-lan for sh7743

2016-12-12 Thread Niklas Söderlund
This is based on public datasheet for sh7743 which shows it have the same behavior and registers for WoL as other versions of sh_eth. Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- drivers/net/ethernet/renesas/sh_eth.c | 1 + 1 file changed, 1 insertion(+)

[PATCHv2 3/5] sh_eth: enable wake-on-lan for r8a7740/armadillo

2016-12-12 Thread Niklas Söderlund
Geert Uytterhoeven reported WoL worked on his Armadillo board. Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- drivers/net/ethernet/renesas/sh_eth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/et

Re: [PATCH] sh_eth: add wake-on-lan support via magic packet

2016-12-12 Thread Niklas Söderlund
Hi Sergei, Thanks for your feedback. On 2016-12-11 00:25:41 +0300, Sergei Shtylyov wrote: > Hello! > > On 12/08/2016 05:56 PM, Niklas Söderlund wrote: > > > > You only enable the WOL support fo the R-Car gen2 chips but never say > > > that > > > expl

Re: [PATCH] sh_eth: add wake-on-lan support via magic packet

2016-12-08 Thread Niklas Söderlund
I will follow Sergies advice and Geerts testing to enable Gen2 family and r8a7740/armadillo in two separate patches. Then if we later can confirm it works on other models we can enable them in separate patches by setting the magic flag in struct sh_eth_cpu_data for those models. Do you agree this is the best way to handle this? -- Regards, Niklas Söderlund

Re: [PATCH] sh_eth: add wake-on-lan support via magic packet

2016-12-08 Thread Niklas Söderlund
Hi Sergei, Thanks for your feedback. On 2016-12-08 15:28:48 +0300, Sergei Shtylyov wrote: > Hello! > >Good to see that somebody cares still about this driver, one more task > off my back. :-) > > On 12/07/2016 07:28 PM, Niklas Söderlund wrote: > > You only e

Re: [PATCH] sh_eth: add wake-on-lan support via magic packet

2016-12-07 Thread Niklas Söderlund
Hi Geert, Thanks for testing and your feedback. On 2016-12-07 19:14:40 +0100, Geert Uytterhoeven wrote: > Hi Niklas, > > On Wed, Dec 7, 2016 at 5:28 PM, Niklas Söderlund > <niklas.soderlund+rene...@ragnatech.se> wrote: > > Signed-off-by: Niklas Söderlund <niklas.sod

[PATCH] sh_eth: add wake-on-lan support via magic packet

2016-12-07 Thread Niklas Söderlund
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- drivers/net/ethernet/renesas/sh_eth.c | 120 +++--- drivers/net/ethernet/renesas/sh_eth.h | 4 ++ 2 files changed, 116 insertions(+), 8 deletions(-) diff --git a/drivers/net/ethernet/r

Re: [PATCH 2/2] ravb: add sleep PM suspend/resume support

2016-08-10 Thread Niklas Söderlund
On 2016-08-10 13:40:51 +0300, Sergei Shtylyov wrote: > Hello. > > On 8/3/2016 4:56 PM, Niklas Söderlund wrote: > > > The interface would not function after the system had been woken up > > after have been suspended (echo mem > /sys/power/state) cycle. The > > r

[PATCH] ravb: use proper names for suspend/resume functions

2016-08-10 Thread Niklas Söderlund
The patch 'ravb: add sleep PM suspend/resume support' used incorrect function names containing 'runtime' for the suspend and resume functions. Reported-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> ---

Re: [PATCH 1/2] ravb: use SET_RUNTIME_PM_OPS macro

2016-08-04 Thread Niklas Söderlund
On 2016-08-04 15:33:18 +0200, Geert Uytterhoeven wrote: > On Wed, Aug 3, 2016 at 3:56 PM, Niklas Söderlund > <niklas.soderlund+rene...@ragnatech.se> wrote: > > Use macro to define the runtime PM operations. > > > > Signed-off-by: Niklas Söderlund <nikl

[PATCH 1/2] ravb: use SET_RUNTIME_PM_OPS macro

2016-08-03 Thread Niklas Söderlund
Use macro to define the runtime PM operations. Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- drivers/net/ethernet/renesas/ravb_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/renesas/ravb_main.c b/drive

[PATCH 0/2] ravb: add sleep PM suspend/resume support

2016-08-03 Thread Niklas Söderlund
ake up system 5. Verify network is still working Niklas Söderlund (2): ravb: use SET_RUNTIME_PM_OPS macro ravb: add sleep PM suspend/resume support drivers/net/ethernet/renesas/ravb_main.c | 75 +++- 1 file changed, 65 insertions(+), 10 deletions(-) -- 2.9.0

[PATCH 2/2] ravb: add sleep PM suspend/resume support

2016-08-03 Thread Niklas Söderlund
ice was running when the system was suspended) or when the interface is opened by a user at a later time. Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- drivers/net/ethernet/renesas/ravb_main.c | 72 1 file changed, 64 insertions(+), 8