2014-04-01 08:09:34

by Marc Kleine-Budde

[permalink] [raw]
Subject: Re: [patch 00/12] can: c_can: Fix a series of serious bugs and improve the performance

On 04/01/2014 12:35 AM, Thomas Gleixner wrote:
> Dear Maintainers,
>
> On Tue, 18 Mar 2014, Thomas Gleixner wrote:
>> The driver is full of serious bugs:
>>
>> - Two HW init routines are not spec compliant.
>>
>> - Completely defective message buffer handling in several ways
>> That leads to interrupt storms and complete lockups.
>>
>> - Complete lack of SMP awareness
>>
>> What's amazing is that people "optimize" and "fix" the driver over and
>> over, but nobody bothered to understand the manual and repair the code
>> for real.
>>
>> The series fixes _ALL_ bugs which I found so far, but I'm sure there
>> are more issues burried in that unreadable mess. I'm just not able to
>> trigger them.
>
> What's the state of this series?

I'll apply your patches today.

regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |


Attachments:
signature.asc (242.00 B)
OpenPGP digital signature

2014-04-01 09:07:09

by Thomas Gleixner

[permalink] [raw]
Subject: Re: [patch 00/12] can: c_can: Fix a series of serious bugs and improve the performance

On Tue, 1 Apr 2014, Marc Kleine-Budde wrote:
> On 04/01/2014 12:35 AM, Thomas Gleixner wrote:
> > Dear Maintainers,
> >
> > On Tue, 18 Mar 2014, Thomas Gleixner wrote:
> >> The driver is full of serious bugs:
> >>
> >> - Two HW init routines are not spec compliant.
> >>
> >> - Completely defective message buffer handling in several ways
> >> That leads to interrupt storms and complete lockups.
> >>
> >> - Complete lack of SMP awareness
> >>
> >> What's amazing is that people "optimize" and "fix" the driver over and
> >> over, but nobody bothered to understand the manual and repair the code
> >> for real.
> >>
> >> The series fixes _ALL_ bugs which I found so far, but I'm sure there
> >> are more issues burried in that unreadable mess. I'm just not able to
> >> trigger them.
> >
> > What's the state of this series?
>
> I'll apply your patches today.

Thanks! Please drop the last one which was not part of the series:

Subject: can: c_can: Reduce interrupt load by 50%

While it works like a charm, we've seen an odd case were TX started to
stall. Had not yet time to dig into that.

Thanks,

tglx

2014-04-01 09:09:49

by Marc Kleine-Budde

[permalink] [raw]
Subject: Re: [patch 00/12] can: c_can: Fix a series of serious bugs and improve the performance

On 04/01/2014 11:07 AM, Thomas Gleixner wrote:
>>> What's the state of this series?
>>
>> I'll apply your patches today.
>
> Thanks! Please drop the last one which was not part of the series:
>
> Subject: can: c_can: Reduce interrupt load by 50%
>
> While it works like a charm, we've seen an odd case were TX started to
> stall. Had not yet time to dig into that.

Okay, thanks for the update.

Marc

--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |


Attachments:
signature.asc (242.00 B)
OpenPGP digital signature

2014-04-01 21:29:54

by Marc Kleine-Budde

[permalink] [raw]
Subject: Re: [patch 00/12] can: c_can: Fix a series of serious bugs and improve the performance

On 04/01/2014 10:09 AM, Marc Kleine-Budde wrote:
>> What's the state of this series?
>
> I'll apply your patches today.

I've applied all patches of this series (with some with minor tweaks of
the subject and/or commit message) to the can tree and skipped the
non-series "can: c_can: Reduce interrupt load by 50%".

Thanks.
Marc

--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |


Attachments:
signature.asc (242.00 B)
OpenPGP digital signature