Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1421274 > unrolled thread

Re: [PATCH v3 00/13] sunxi spi fixes

Started byMaxime Ripard <maxime.ripard@free-electrons.com>
First post2016-06-13 22:00 +0200
Last post2016-06-17 12:40 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v3 00/13] sunxi spi fixes Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-06-13 22:00 +0200
    Re: [PATCH v3 00/13] sunxi spi fixes Michal Suchanek <hramrach@gmail.com> - 2016-06-14 07:00 +0200
    Re: [PATCH v3 00/13] sunxi spi fixes Michal Suchanek <hramrach@gmail.com> - 2016-06-17 12:40 +0200

#1421274 — Re: [PATCH v3 00/13] sunxi spi fixes

FromMaxime Ripard <maxime.ripard@free-electrons.com>
Date2016-06-13 22:00 +0200
SubjectRe: [PATCH v3 00/13] sunxi spi fixes
Message-ID<rJGbE-2nm-23@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

On Mon, Jun 13, 2016 at 05:46:48PM -0000, Michal Suchanek wrote:
> Hello,
> 
> This is update of the sunxi spi patches that should give full-featured SPI
> driver.
> 
> First three patches fix issues with the current driver and can be of use for
> stable kernels so adding cc for those.
> 
> I merged the sun4i and sun6i driver because there several issues that need to
> be fixed in both separately and they are even out of sync wrt some fixes.
> I guess some of the merge patches can be squashed.
> 
> I tested this with A10s Olinuxino Micro. I have no sun6i device so I cannot
> tell if that side was broken by this patchset - especially the last patch that
> adds DMA was afaik never tested on sun6i.

So, you didn't run that code through checkpatch and you rewrite the
whole thing entirely without even testing it... Awesome.

For the record, I'm still very much opposed to such a merge.

The first fixes are very welcome though, can and should go in.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

[toc] | [next] | [standalone]


#1421574

FromMichal Suchanek <hramrach@gmail.com>
Date2016-06-14 07:00 +0200
Message-ID<rJOCd-8ma-13@gated-at.bofh.it>
In reply to#1421274
Hello,

On 13 June 2016 at 21:57, Maxime Ripard
<maxime.ripard@free-electrons.com> wrote:
> On Mon, Jun 13, 2016 at 05:46:48PM -0000, Michal Suchanek wrote:
>> Hello,
>>
>> This is update of the sunxi spi patches that should give full-featured SPI
>> driver.
>>
>> First three patches fix issues with the current driver and can be of use for
>> stable kernels so adding cc for those.
>>
>> I merged the sun4i and sun6i driver because there several issues that need to
>> be fixed in both separately and they are even out of sync wrt some fixes.
>> I guess some of the merge patches can be squashed.
>>
>> I tested this with A10s Olinuxino Micro. I have no sun6i device so I cannot
>> tell if that side was broken by this patchset - especially the last patch that
>> adds DMA was afaik never tested on sun6i.
>
> So, you didn't run that code through checkpatch and you rewrite the
> whole thing entirely without even testing it... Awesome.

Aside from the DMA part this is not a rewrite.

And I did run the code through checkpatch. It still gives some
warnings about BUG_ON and overly long lines, sure. II don't think
those are that serious or that fixing them would improve the code.

Thanks

Michal

[toc] | [prev] | [next] | [standalone]


#1424914

FromMichal Suchanek <hramrach@gmail.com>
Date2016-06-17 12:40 +0200
Message-ID<rKZlU-5mE-23@gated-at.bofh.it>
In reply to#1421274
Hello,

On 13 June 2016 at 21:57, Maxime Ripard
<maxime.ripard@free-electrons.com> wrote:
> On Mon, Jun 13, 2016 at 05:46:48PM -0000, Michal Suchanek wrote:
>> Hello,
>>
>> This is update of the sunxi spi patches that should give full-featured SPI
>> driver.
>>
>> First three patches fix issues with the current driver and can be of use for
>> stable kernels so adding cc for those.
>>
>> I merged the sun4i and sun6i driver because there several issues that need to
>> be fixed in both separately and they are even out of sync wrt some fixes.
>> I guess some of the merge patches can be squashed.
>>
>> I tested this with A10s Olinuxino Micro. I have no sun6i device so I cannot
>> tell if that side was broken by this patchset - especially the last patch that
>> adds DMA was afaik never tested on sun6i.
>

>
> For the record, I'm still very much opposed to such a merge.
>

What is the reason against the merge? I did not find the original discussion.

I tried to rename everything in the drivers from sun4i and sun6i to
sunxi to look at a clean diff and found about 5 differences 2 of which
look like a bug.

Thanks

Michal

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web