[PATCH net-next] ravb: Remove manual pause frame transmit

2016-06-01 Thread Yoshihiro Kaneko
nesas.com> Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com> --- This patch is based on the master branch of David Miller's next networking tree. drivers/net/ethernet/renesas/ravb_main.c | 2 -- 1 file changed, 2

[PATCH net-next v2] ravb: Add ESF in RCR for enabling separation filter

2016-05-31 Thread Yoshihiro Kaneko
tching streams are processed in reception queue 0 (best effort). This patch sets B'11 in ESF. [ykaneko0...@gmail.com: revised this commit message] Signed-off-by: Masaru Nagai <masaru.nagai...@renesas.com> Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> Signed-off-by

Re: [PATCH net-next] ravb: Add ESF in RCR for enabling separation filter

2016-05-31 Thread Yoshihiro Kaneko
Non-mating frames are discarded. >> >> >>It was somewhat hard for me to parse that... > > >Forgot about s/Non-mating/Non-matching/. Thanks for your review. I will revise the commit message. Thanks, kaneko > > >>> Signed-off-by: Masaru Nagai <m

[PATCH net-next] ravb: Add SET_RUNTIME_PM_OPS macro

2016-05-29 Thread Yoshihiro Kaneko
From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> Use SET_RUNTIME_PM_OPS macro instead of assigning a member of dev_pm_ops directly. Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com> --- T

[PATCH net-next] ravb: Add ESF in RCR for enabling separation filter

2016-05-29 Thread Yoshihiro Kaneko
). H/W manual recommends B'11 or B'10. When B'10 is setting, Non-mating frames are discarded. Signed-off-by: Masaru Nagai <masaru.nagai...@renesas.com> Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com>

[PATCH net-next v2] ravb: Remove rx buffer ALIGN

2016-05-01 Thread Yoshihiro Kaneko
From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> Aligning the reception data size is not required. Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com> Tested-by: Simon Horman <horms

Re: [PATCH net-next] ravb: Remove rx buffer ALIGN

2016-05-01 Thread Yoshihiro Kaneko
Hi Simon-san, Thank you for testing this patch! Thanks, kaneko 2016-04-29 8:34 GMT+09:00 Simon Horman <ho...@verge.net.au>: > Hi Sergei, Hi Kaneko-san, > > On Tue, Apr 26, 2016 at 10:14:41PM +0300, Sergei Shtylyov wrote: >> Hello. >> >> On 04/24/2016

Re: [PATCH net-next] ravb: Remove rx buffer ALIGN

2016-05-01 Thread Yoshihiro Kaneko
Hi Sergei, Sorry for the late reply. 2016-04-27 4:14 GMT+09:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > Hello. > > On 04/24/2016 07:16 PM, Yoshihiro Kaneko wrote: > >> From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> >> >> Aligni

[PATCH net-next] ravb: Remove rx buffer ALIGN

2016-04-24 Thread Yoshihiro Kaneko
From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> Aligning the reception data size is not required. Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com> --- This patch is based on the master branch

[PATCH v9 net-next] ravb: Add dma queue interrupt support

2016-04-03 Thread Yoshihiro Kaneko
; Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com> Acked-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> --- This patch is based on the master branch of David Miller's next networking tree. v9 [Yoshihiro Kaneko] - Added Acked-by Sergei Shtylyov v8 [Yoshihiro Kaneko]

Re: [PATCH v8 net-next] ravb: Add dma queue interrupt support

2016-03-28 Thread Yoshihiro Kaneko
Hello. 2016-03-27 22:02 GMT+09:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > Hello. > > > On 03/22/2016 06:22 PM, Yoshihiro Kaneko wrote: > >> From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> >> >> This patch supports th

Re: [PATCH v8 net-next] ravb: Add dma queue interrupt support

2016-03-23 Thread Yoshihiro Kaneko
2016-03-23 4:55 GMT+09:00 David Miller <da...@redhat.com>: > From: Yoshihiro Kaneko <ykaneko0...@gmail.com> > Date: Wed, 23 Mar 2016 00:22:00 +0900 > >> From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> >> >> This patch supports the following i

[PATCH v8 net-next] ravb: Add dma queue interrupt support

2016-03-22 Thread Yoshihiro Kaneko
; Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com> --- This patch is based on the master branch of David Miller's next networking tree. v8 [Yoshihiro Kaneko] - rebased v7 [Yoshihiro Kaneko] drivers/net/ethernet/renesas/ravb_main.c: - read TIS in ravb_timestamp_interrupt() -

[PATCH net] ravb: fix result value overwrite

2016-03-15 Thread Yoshihiro Kaneko
The result value is overwritten by a return value of ravb_ptp_interrupt(). Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com> --- This patch is based on the master branch of David Miller's networking tree. drivers/net/ethernet/renesas/ravb_main.c | 4 ++-- 1 file changed, 2 inse

Re: [PATCH v7 net-next] ravb: Add dma queue interrupt support

2016-03-15 Thread Yoshihiro Kaneko
Hi, 2016-03-15 5:48 GMT+09:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > Hello. > > > On 03/13/2016 09:11 PM, Yoshihiro Kaneko wrote: > >> From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> >> >> This patch supports the following i

[PATCH v7 net-next] ravb: Add dma queue interrupt support

2016-03-13 Thread Yoshihiro Kaneko
; Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com> --- This patch is based on the master branch of David Miller's next networking tree. v7 [Yoshihiro Kaneko] drivers/net/ethernet/renesas/ravb_main.c: - read TIS in ravb_timestamp_interrupt() - avoid overwriting the 'result'

Re: [PATCH/RFC v6 net-next] ravb: Add dma queue interrupt support

2016-03-08 Thread Yoshihiro Kaneko
Hi Sergei-san, 2016-02-29 0:41 GMT+09:00 Yoshihiro Kaneko <ykaneko0...@gmail.com>: [snip] > +static bool ravb_timestamp_interrupt(struct net_device *ndev, u32 tis) > +{ I'd like to read TIS here like ravb_queue_interrupt(). > + if (tis & TIS_TFUF) { > +

Re: [PATCH/RFC v6 net-next] ravb: Add dma queue interrupt support

2016-03-07 Thread Yoshihiro Kaneko
2016-03-03 3:50 GMT+09:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > On 03/02/2016 09:16 PM, Yoshihiro Kaneko wrote: > >>>> From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> >>>> >>>> This patch supports the follow

Re: [PATCH/RFC v5 net-next] ravb: Add dma queue interrupt support

2016-03-02 Thread Yoshihiro Kaneko
2016-03-01 5:55 GMT+09:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > On 02/28/2016 05:13 PM, Yoshihiro Kaneko wrote: > >>>> From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> >>>> >>>> This patch supports the following int

Re: [PATCH/RFC v6 net-next] ravb: Add dma queue interrupt support

2016-03-02 Thread Yoshihiro Kaneko
2016-03-01 5:30 GMT+09:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > Hello. > > > On 02/28/2016 06:41 PM, Yoshihiro Kaneko wrote: > >> From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> >> >> This patch supports the following i

[PATCH/RFC v6 net-next] ravb: Add dma queue interrupt support

2016-02-28 Thread Yoshihiro Kaneko
; Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com> --- This patch is based on the master branch of David Miller's next networking tree. v6 [Yoshihiro Kaneko] * As suggested by Sergei Shtylyov drivers/net/ethernet/renesas/ravb_main.c: - rename ravb_nc_be_interrupt to ravb_queue

Re: [PATCH/RFC v5 net-next] ravb: Add dma queue interrupt support

2016-02-28 Thread Yoshihiro Kaneko
2016-02-22 4:05 GMT+09:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > On 02/14/2016 10:39 PM, Yoshihiro Kaneko wrote: > >> From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> >> >> This patch supports the following interrupts. >> &g

[PATCH/RFC v5 net-next] ravb: Add dma queue interrupt support

2016-02-14 Thread Yoshihiro Kaneko
mizuguchi...@renesas.com> Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com> --- This patch is based on the master branch of David Miller's next networking tree. v5 [Yoshihiro Kaneko] * As suggested by Sergei Shtylyov drivers/net/ethernet/renesas/ravb_main.c: - stop copying ra

Re: [PATCH/RFC v4 net-next] ravb: Add dma queue interrupt support

2016-02-08 Thread Yoshihiro Kaneko
Hi Sergei-san, 2016-02-08 2:09 GMT+09:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > Hello. > > On 02/07/2016 07:50 PM, Yoshihiro Kaneko wrote: > >> I apologize for not responding to you earlier. > > >Absolutely no problem, these reviews/tests take

Re: [PATCH/RFC v4 net-next] ravb: Add dma queue interrupt support

2016-02-07 Thread Yoshihiro Kaneko
Hi Sergei, I apologize for not responding to you earlier. 2016-01-29 1:48 GMT+09:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > Hello. > > > On 01/24/2016 06:52 PM, Yoshihiro Kaneko wrote: > >> From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.

Re: [PATCH/RFC v4 net-next] ravb: Add dma queue interrupt support

2016-02-07 Thread Yoshihiro Kaneko
2016-01-29 2:32 GMT+09:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > On 01/24/2016 06:52 PM, Yoshihiro Kaneko wrote: > >> From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> >> >> This patch supports the following interrupts. >> >>

Re: [PATCH/RFC v4 net-next] ravb: Add dma queue interrupt support

2016-02-07 Thread Yoshihiro Kaneko
2016-01-29 2:51 GMT+09:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > On 01/24/2016 06:52 PM, Yoshihiro Kaneko wrote: > >> From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> >> >> This patch supports the following interrupts. >> >>

Re: [PATCH/RFC v3 net-next] ravb: Add dma queue interrupt support

2016-01-24 Thread Yoshihiro Kaneko
Hi Sergei, 2016-01-24 7:17 GMT+09:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > Hello. > > On 01/17/2016 01:55 PM, Yoshihiro Kaneko wrote: > >> From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> >> >> This patch supports the f

[PATCH/RFC v4 net-next] ravb: Add dma queue interrupt support

2016-01-24 Thread Yoshihiro Kaneko
ciency of the interrupt handler by adding the interrupt handler corresponding to each interrupt source described above. Additionally, it reduces the number of times of the access to EthernetAVB IF. Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> Signed-off-by: Yoshihiro Kane

Re: [PATCH/RFC v2 net-next] ravb: Add dma queue interrupt support

2015-12-26 Thread Yoshihiro Kaneko
Hello, 2015-12-23 0:02 GMT+09:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > Hello. > > On 12/20/2015 12:15 PM, Yoshihiro Kaneko wrote: > >> From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> >> >> This patch supports the following inte

Re: [PATCH/RFC net-next] ravb: Add dma queue interrupt support

2015-12-20 Thread Yoshihiro Kaneko
Hi, 2015-12-18 2:42 GMT+09:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > Hello. > > On 12/17/2015 07:29 PM, Yoshihiro Kaneko wrote: > >>>> From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> >>>> >>>> This patch

[PATCH/RFC v2 net-next] ravb: Add dma queue interrupt support

2015-12-20 Thread Yoshihiro Kaneko
uguchi <kazuya.mizuguchi...@renesas.com> Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com> --- This patch is based on the master branch of David Miller's next networking tree. v2 [Yoshihiro Kaneko] * compile tested only * As suggested by Sergei Shtylyov - add comment to CIE

Re: [PATCH/RFC net-next] ravb: Add dma queue interrupt support

2015-12-17 Thread Yoshihiro Kaneko
Hi, 2015-12-16 4:00 GMT+09:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > Hello. > > On 12/15/2015 03:23 PM, Yoshihiro Kaneko wrote: > >> From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> >> >> This patch supports the following inte

Re: [PATCH net-next] ravb: Add fixed-link support

2015-12-15 Thread Yoshihiro Kaneko
Hi, 2015-12-14 6:00 GMT+09:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > Hello. > > On 12/13/2015 06:16 PM, Yoshihiro Kaneko wrote: > >> From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> >> >> This patch adds support of the f

[PATCH/RFC net-next] ravb: Add dma queue interrupt support

2015-12-15 Thread Yoshihiro Kaneko
uguchi <kazuya.mizuguchi...@renesas.com> Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com> --- This patch is based on the master branch of David Miller's next networking tree. drivers/net/ethernet/renesas/ravb.h | 34 + drivers/net/ethernet/renesas

[PATCH v2 net-next] ravb: Add fixed-link support

2015-12-15 Thread Yoshihiro Kaneko
From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> This patch adds support of the fixed PHY. This patch is based on commit 87009814cdbb ("ucc_geth: use the new fixed PHY helpers"). Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> Signed-off-by: Yosh

[PATCH v3 net] ravb: clear RIC1 in init instead of stop

2015-12-14 Thread Yoshihiro Kaneko
errupt is issued by the state that a boot loader left. Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com> --- This patch is based on the master branch of David Miller's networking tree. v3 [Yoshihiro Kaneko] * c

Re: [PATCH v2 net] ravb: Remove clear unhandled interrupt

2015-12-14 Thread Yoshihiro Kaneko
Hi, 2015-12-14 1:25 GMT+09:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > Hello. > > On 12/13/2015 06:12 PM, Yoshihiro Kaneko wrote: > >The subject doesn't seem to reflect what the patch is doing. > > >> From: Kazuya Mizuguchi <kazuya.mizu

[PATCH v2 net] ravb: Remove clear unhandled interrupt

2015-12-13 Thread Yoshihiro Kaneko
errupt is issued by the state that a boot loader left. Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com> --- This patch is based on the master branch of David Miller's networking tree. v2 [Yoshihiro Kaneko] * c

[PATCH net] ravb: Add disable 10base

2015-12-13 Thread Yoshihiro Kaneko
From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> Ethernet AVB does not support 10 Mbps transfer speed. Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com> --- This patch is based on the master branch

[PATCH net-next] ravb: Add fixed-link support

2015-12-13 Thread Yoshihiro Kaneko
From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> This patch adds support of the fixed PHY. This patch is based on commit 87009814cdbb ("ucc_geth: use the new fixed PHY helpers"). Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> Signed-off-by: Yosh

Re: [PATCH net-next] ravb: ptp: fix misplaced ravb_ptp_stop() calling in ravb_probe()

2015-12-13 Thread Yoshihiro Kaneko
2015-12-09 23:20 GMT+09:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > Hello. > > On 12/8/2015 9:39 PM, Yoshihiro Kaneko wrote: > >> 'commit ("ravb: ptp: Add CONFIG mode support")' added >> a calling of ravb_ptp_stop() in a wrong place in ravb

[PATCH net-next] ravb: ptp: fix misplaced ravb_ptp_stop() calling in ravb_probe()

2015-12-08 Thread Yoshihiro Kaneko
'commit ("ravb: ptp: Add CONFIG mode support")' added a calling of ravb_ptp_stop() in a wrong place in ravb_probe(). Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com> --- This patch is based on the master branch of David Miller's next networking tree. Compile tested onl

Re: [PATCH net-next] ravb: ptp: Add CONFIG mode support

2015-12-07 Thread Yoshihiro Kaneko
Hello Sergei, 2015-12-07 4:19 GMT+09:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > Hello. > > On 12/05/2015 01:01 PM, Yoshihiro Kaneko wrote: > >> Thanks for your review. > > >From now on, it'll be my duty. :-) Thank you always for your help

Re: [PATCH net] ravb: Remove clear unhandled interrupt

2015-12-07 Thread Yoshihiro Kaneko
Hello, 2015-12-07 4:18 GMT+09:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > Hello. > > On 12/06/2015 02:42 PM, Yoshihiro Kaneko wrote: > >> From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> >> >> AVB-DMAC Reception Warning interrupt

[PATCH net] ravb: Remove clear unhandled interrupt

2015-12-06 Thread Yoshihiro Kaneko
From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> AVB-DMAC Reception Warning interrupt is not enabled, so it is not necessary to clear the interrupt. Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com&g

Re: [PATCH net-next] ravb: ptp: Add CONFIG mode support

2015-12-05 Thread Yoshihiro Kaneko
Hello Sergei, Thanks for your review. 2015-12-04 6:09 GMT+09:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > Hello. > > On 12/01/2015 08:04 PM, Yoshihiro Kaneko wrote: > >> From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> >> >> Thi

[PATCH net-next] ravb: ptp: Add CONFIG mode support

2015-12-01 Thread Yoshihiro Kaneko
From: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> This patch makes PTP support active in CONFIG mode on R-Car Gen3. Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com> --- This patch is based on

[PATCH net] ravb: remove unhandle int cause

2015-11-15 Thread Yoshihiro Kaneko
From: Masaru Nagai <masaru.nagai...@renesas.com> This driver does not handle the AVB-DMAC Receive FIFO Warning interrupt now, so the interrupt should not be enabled. Signed-off-by: Masaru Nagai <masaru.nagai...@renesas.com> Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com&g

[PATCH net] ravb: Fix int mask value overwritten issue

2015-11-13 Thread Yoshihiro Kaneko
ed-off-by: Masaru Nagai <masaru.nagai...@renesas.com> Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com> --- This patch is based on the master branch of David Miller's networking tree. drivers/net/ethernet/renesas/ravb_main.c | 6 -- 1 file changed, 4 insertions(+), 2 deleti