* am335x: d_can: rx issue
@ 2014-04-28 12:19 Yegor Yefremov
2014-04-28 14:37 ` Thomas Gleixner
0 siblings, 1 reply; 9+ messages in thread
From: Yegor Yefremov @ 2014-04-28 12:19 UTC (permalink / raw)
To: linux-can@vger.kernel.org; +Cc: Marc Kleine-Budde, tglx
I'm testing 3.15.0-rc3-00006-gd497c20-dirty with latest commit:
Merge tag 'linux-can-fixes-for-3.15-20140401' of
git://gitorious.org/linux-can/linux-can
linux-can-fixes-for-3.15-20140401
Marc Kleine-Budde says:
====================
this is a pull request of 16 patches for the 3.15 release cycle.
Bjorn Van Tilt contributes a patch which fixes a memory leak in usb_8dev's
usb_8dev_start_xmit()s error path. A patch by Robert Schwebel
fixes a typo in
the can documentation. The remaining patches all target the c_can
driver. Two
of them are by me; they add a missing netif_napi_del() and return value
checking. Thomas Gleixner contributes 12 patches, which address several
shortcomings in the driver like hardware initialisation,
concurrency, message
ordering and poor performance.
====================
TX is working, but rx not. Am I missing any patches, that fix this issue?
Yegor
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: am335x: d_can: rx issue
2014-04-28 12:19 am335x: d_can: rx issue Yegor Yefremov
@ 2014-04-28 14:37 ` Thomas Gleixner
2014-04-29 7:30 ` Yegor Yefremov
0 siblings, 1 reply; 9+ messages in thread
From: Thomas Gleixner @ 2014-04-28 14:37 UTC (permalink / raw)
To: Yegor Yefremov; +Cc: linux-can@vger.kernel.org, Marc Kleine-Budde
On Mon, 28 Apr 2014, Yegor Yefremov wrote:
> I'm testing 3.15.0-rc3-00006-gd497c20-dirty with latest commit:
>
> Merge tag 'linux-can-fixes-for-3.15-20140401' of
> git://gitorious.org/linux-can/linux-can
>
> linux-can-fixes-for-3.15-20140401
>
> Marc Kleine-Budde says:
>
> ====================
> this is a pull request of 16 patches for the 3.15 release cycle.
>
> Bjorn Van Tilt contributes a patch which fixes a memory leak in usb_8dev's
> usb_8dev_start_xmit()s error path. A patch by Robert Schwebel
> fixes a typo in
> the can documentation. The remaining patches all target the c_can
> driver. Two
> of them are by me; they add a missing netif_napi_del() and return value
> checking. Thomas Gleixner contributes 12 patches, which address several
> shortcomings in the driver like hardware initialisation,
> concurrency, message
> ordering and poor performance.
> ====================
>
> TX is working, but rx not. Am I missing any patches, that fix this issue?
I bet, TX is not working either. You probably fall over the issue with
the startup logic.
Does the following patch fix your issue?
http://patchwork.ozlabs.org/patch/342518/
Thanks,
tglx
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: am335x: d_can: rx issue
2014-04-28 14:37 ` Thomas Gleixner
@ 2014-04-29 7:30 ` Yegor Yefremov
2014-04-29 9:03 ` Thomas Gleixner
0 siblings, 1 reply; 9+ messages in thread
From: Yegor Yefremov @ 2014-04-29 7:30 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: linux-can@vger.kernel.org, Marc Kleine-Budde
On Mon, Apr 28, 2014 at 4:37 PM, Thomas Gleixner <tglx@linutronix.de> wrote:
> On Mon, 28 Apr 2014, Yegor Yefremov wrote:
>> I'm testing 3.15.0-rc3-00006-gd497c20-dirty with latest commit:
>>
>> Merge tag 'linux-can-fixes-for-3.15-20140401' of
>> git://gitorious.org/linux-can/linux-can
>>
>> linux-can-fixes-for-3.15-20140401
>>
>> Marc Kleine-Budde says:
>>
>> ====================
>> this is a pull request of 16 patches for the 3.15 release cycle.
>>
>> Bjorn Van Tilt contributes a patch which fixes a memory leak in usb_8dev's
>> usb_8dev_start_xmit()s error path. A patch by Robert Schwebel
>> fixes a typo in
>> the can documentation. The remaining patches all target the c_can
>> driver. Two
>> of them are by me; they add a missing netif_napi_del() and return value
>> checking. Thomas Gleixner contributes 12 patches, which address several
>> shortcomings in the driver like hardware initialisation,
>> concurrency, message
>> ordering and poor performance.
>> ====================
>>
>> TX is working, but rx not. Am I missing any patches, that fix this issue?
>
> I bet, TX is not working either. You probably fall over the issue with
> the startup logic.
>
> Does the following patch fix your issue?
>
> http://patchwork.ozlabs.org/patch/342518/
Yes, it does.
Thanks.
Are these patches going to hit 3.15-rc4?
Yegor
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: am335x: d_can: rx issue
2014-04-29 7:30 ` Yegor Yefremov
@ 2014-04-29 9:03 ` Thomas Gleixner
2014-04-29 17:10 ` Oliver Hartkopp
0 siblings, 1 reply; 9+ messages in thread
From: Thomas Gleixner @ 2014-04-29 9:03 UTC (permalink / raw)
To: Yegor Yefremov; +Cc: linux-can@vger.kernel.org, Marc Kleine-Budde
On Tue, 29 Apr 2014, Yegor Yefremov wrote:
> On Mon, Apr 28, 2014 at 4:37 PM, Thomas Gleixner <tglx@linutronix.de> wrote:
> > On Mon, 28 Apr 2014, Yegor Yefremov wrote:
> >> I'm testing 3.15.0-rc3-00006-gd497c20-dirty with latest commit:
> >>
> >> Merge tag 'linux-can-fixes-for-3.15-20140401' of
> >> git://gitorious.org/linux-can/linux-can
> >>
> >> linux-can-fixes-for-3.15-20140401
> >>
> >> Marc Kleine-Budde says:
> >>
> >> ====================
> >> this is a pull request of 16 patches for the 3.15 release cycle.
> >>
> >> Bjorn Van Tilt contributes a patch which fixes a memory leak in usb_8dev's
> >> usb_8dev_start_xmit()s error path. A patch by Robert Schwebel
> >> fixes a typo in
> >> the can documentation. The remaining patches all target the c_can
> >> driver. Two
> >> of them are by me; they add a missing netif_napi_del() and return value
> >> checking. Thomas Gleixner contributes 12 patches, which address several
> >> shortcomings in the driver like hardware initialisation,
> >> concurrency, message
> >> ordering and poor performance.
> >> ====================
> >>
> >> TX is working, but rx not. Am I missing any patches, that fix this issue?
> >
> > I bet, TX is not working either. You probably fall over the issue with
> > the startup logic.
> >
> > Does the following patch fix your issue?
> >
> > http://patchwork.ozlabs.org/patch/342518/
>
> Yes, it does.
>
> Thanks.
>
> Are these patches going to hit 3.15-rc4?
Marc, can you expedite that one for 3.15 please?
Thanks,
tglx
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: am335x: d_can: rx issue
2014-04-29 9:03 ` Thomas Gleixner
@ 2014-04-29 17:10 ` Oliver Hartkopp
2014-04-29 17:13 ` Thomas Gleixner
0 siblings, 1 reply; 9+ messages in thread
From: Oliver Hartkopp @ 2014-04-29 17:10 UTC (permalink / raw)
To: Thomas Gleixner, Yegor Yefremov
Cc: linux-can@vger.kernel.org, Marc Kleine-Budde
On 29.04.2014 11:03, Thomas Gleixner wrote:
> On Tue, 29 Apr 2014, Yegor Yefremov wrote:
>>>> TX is working, but rx not. Am I missing any patches, that fix this issue?
>>>
>>> I bet, TX is not working either. You probably fall over the issue with
>>> the startup logic.
>>>
>>> Does the following patch fix your issue?
>>>
>>> http://patchwork.ozlabs.org/patch/342518/
>>
>> Yes, it does.
>>
>> Thanks.
>>
>> Are these patches going to hit 3.15-rc4?
>
> Marc, can you expedite that one for 3.15 please?
>
Hi Thomas,
Marc is out of office until May 5th.
See: http://marc.info/?l=linux-can&m=139855189427393&w=2
But this requested patch has already been pulled into Dave Millers net-tree:
http://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=bed11db3d4095e5f818f5e8bf7f43ef2beb36d4e
So it will hit mainline with the next pull request from Dave to Linus.
3.15-rc4 looks therefore really feasible :-)
Btw. I'm currently running Daves net-tree here and was forced to define
CONFIG_CAN_C_CAN_STRICT_FRAME_ORDERING during 'make oldconfig' ...
Can this Kconfig option probably be removed in the 3.15-rc phase when
it's not really needed anymore?
See: http://marc.info/?l=linux-can&m=139746476821294&w=2
Regards,
Oliver
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: am335x: d_can: rx issue
2014-04-29 17:10 ` Oliver Hartkopp
@ 2014-04-29 17:13 ` Thomas Gleixner
2014-04-29 17:22 ` Oliver Hartkopp
0 siblings, 1 reply; 9+ messages in thread
From: Thomas Gleixner @ 2014-04-29 17:13 UTC (permalink / raw)
To: Oliver Hartkopp
Cc: Yegor Yefremov, linux-can@vger.kernel.org, Marc Kleine-Budde
On Tue, 29 Apr 2014, Oliver Hartkopp wrote:
> On 29.04.2014 11:03, Thomas Gleixner wrote:
> > Marc, can you expedite that one for 3.15 please?
> >
>
> Hi Thomas,
>
> Marc is out of office until May 5th.
> See: http://marc.info/?l=linux-can&m=139855189427393&w=2
>
> But this requested patch has already been pulled into Dave Millers net-tree:
>
> http://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=bed11db3d4095e5f818f5e8bf7f43ef2beb36d4e
>
> So it will hit mainline with the next pull request from Dave to Linus.
> 3.15-rc4 looks therefore really feasible :-)
Thanks for the update !
> Btw. I'm currently running Daves net-tree here and was forced to define
> CONFIG_CAN_C_CAN_STRICT_FRAME_ORDERING during 'make oldconfig' ...
>
> Can this Kconfig option probably be removed in the 3.15-rc phase when
> it's not really needed anymore?
>
> See: http://marc.info/?l=linux-can&m=139746476821294&w=2
If it's not necessary for any of the C/DCAN incarnations we can
probably drop it and rip the code out.
Thanks,
tglx
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: am335x: d_can: rx issue
2014-04-29 17:13 ` Thomas Gleixner
@ 2014-04-29 17:22 ` Oliver Hartkopp
2014-04-29 17:50 ` Thomas Gleixner
0 siblings, 1 reply; 9+ messages in thread
From: Oliver Hartkopp @ 2014-04-29 17:22 UTC (permalink / raw)
To: Thomas Gleixner
Cc: Yegor Yefremov, linux-can@vger.kernel.org, Marc Kleine-Budde,
Alexander Stein
On 29.04.2014 19:13, Thomas Gleixner wrote:
> On Tue, 29 Apr 2014, Oliver Hartkopp wrote:
>> Btw. I'm currently running Daves net-tree here and was forced to define
>> CONFIG_CAN_C_CAN_STRICT_FRAME_ORDERING during 'make oldconfig' ...
>>
>> Can this Kconfig option probably be removed in the 3.15-rc phase when
>> it's not really needed anymore?
>>
>> See: http://marc.info/?l=linux-can&m=139746476821294&w=2
>
> If it's not necessary for any of the C/DCAN incarnations we can
> probably drop it and rip the code out.
Hm. I don't know. AFAIK only Alexander and you detected and discussed the
frame re-ordering issue of the C_CAN in length.
I put Alexander in CC. When you both don't have any objections it's up to your
opinion to remove this (hopefully) obsolete option.
Best regards,
Oliver
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: am335x: d_can: rx issue
2014-04-29 17:22 ` Oliver Hartkopp
@ 2014-04-29 17:50 ` Thomas Gleixner
2014-04-30 6:08 ` Alexander Stein
0 siblings, 1 reply; 9+ messages in thread
From: Thomas Gleixner @ 2014-04-29 17:50 UTC (permalink / raw)
To: Oliver Hartkopp
Cc: Yegor Yefremov, linux-can@vger.kernel.org, Marc Kleine-Budde,
Alexander Stein
On Tue, 29 Apr 2014, Oliver Hartkopp wrote:
> On 29.04.2014 19:13, Thomas Gleixner wrote:
> > On Tue, 29 Apr 2014, Oliver Hartkopp wrote:
>
> >> Btw. I'm currently running Daves net-tree here and was forced to define
> >> CONFIG_CAN_C_CAN_STRICT_FRAME_ORDERING during 'make oldconfig' ...
> >>
> >> Can this Kconfig option probably be removed in the 3.15-rc phase when
> >> it's not really needed anymore?
> >>
> >> See: http://marc.info/?l=linux-can&m=139746476821294&w=2
> >
> > If it's not necessary for any of the C/DCAN incarnations we can
> > probably drop it and rip the code out.
>
> Hm. I don't know. AFAIK only Alexander and you detected and discussed the
> frame re-ordering issue of the C_CAN in length.
>
> I put Alexander in CC. When you both don't have any objections it's up to your
> opinion to remove this (hopefully) obsolete option.
It's possible in theory and you can "enforce" it by injecting
artificial delays, but I doubt it's a real world issue.
Fine with me to remove it along with the accompanying code cruft.
Thanks,
tglx
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: am335x: d_can: rx issue
2014-04-29 17:50 ` Thomas Gleixner
@ 2014-04-30 6:08 ` Alexander Stein
0 siblings, 0 replies; 9+ messages in thread
From: Alexander Stein @ 2014-04-30 6:08 UTC (permalink / raw)
To: Oliver Hartkopp
Cc: Thomas Gleixner, Yegor Yefremov, linux-can@vger.kernel.org,
Marc Kleine-Budde
On Tuesday 29 April 2014 19:50:00, Thomas Gleixner wrote:
> On Tue, 29 Apr 2014, Oliver Hartkopp wrote:
> > On 29.04.2014 19:13, Thomas Gleixner wrote:
> > > On Tue, 29 Apr 2014, Oliver Hartkopp wrote:
> >
> > >> Btw. I'm currently running Daves net-tree here and was forced to define
> > >> CONFIG_CAN_C_CAN_STRICT_FRAME_ORDERING during 'make oldconfig' ...
> > >>
> > >> Can this Kconfig option probably be removed in the 3.15-rc phase when
> > >> it's not really needed anymore?
> > >>
> > >> See: http://marc.info/?l=linux-can&m=139746476821294&w=2
> > >
> > > If it's not necessary for any of the C/DCAN incarnations we can
> > > probably drop it and rip the code out.
> >
> > Hm. I don't know. AFAIK only Alexander and you detected and discussed the
> > frame re-ordering issue of the C_CAN in length.
> >
> > I put Alexander in CC. When you both don't have any objections it's up to your
> > opinion to remove this (hopefully) obsolete option.
>
> It's possible in theory and you can "enforce" it by injecting
> artificial delays, but I doubt it's a real world issue.
>
> Fine with me to remove it along with the accompanying code cruft.
I dont have any objections too removing it.
Regards,
Alexander
--
Dipl.-Inf. Alexander Stein
SYS TEC electronic GmbH
Am Windrad 2
08468 Heinsdorfergrund
Tel.: 03765 38600-1156
Fax: 03765 38600-4100
Email: alexander.stein@systec-electronic.com
Website: www.systec-electronic.com
Managing Director: Dipl.-Phys. Siegmar Schmidt
Commercial registry: Amtsgericht Chemnitz, HRB 28082
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2014-04-30 6:10 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-28 12:19 am335x: d_can: rx issue Yegor Yefremov
2014-04-28 14:37 ` Thomas Gleixner
2014-04-29 7:30 ` Yegor Yefremov
2014-04-29 9:03 ` Thomas Gleixner
2014-04-29 17:10 ` Oliver Hartkopp
2014-04-29 17:13 ` Thomas Gleixner
2014-04-29 17:22 ` Oliver Hartkopp
2014-04-29 17:50 ` Thomas Gleixner
2014-04-30 6:08 ` Alexander Stein
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.