LKML Archive on
help / color / mirror / Atom feed
From: Esben Haabendal <>
To: Greg Kroah-Hartman <>
Cc: Mark Brown <>,
	Esben Haabendal <>,,,, Stefan Roese <>
Subject: Re: Backport of spi-fsl-spi bugfix to 3.14.y
Date: Wed, 04 Feb 2015 10:03:33 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Sun, 2015-01-25 at 14:07 -0800, Greg Kroah-Hartman wrote:
> On Sun, Jan 25, 2015 at 08:12:54PM +0000, Mark Brown wrote:
> > On Sun, Jan 25, 2015 at 09:38:53AM -0800, Greg Kroah-Hartman wrote:
> > > On Fri, Jan 23, 2015 at 12:45:29PM +0000, Mark Brown wrote:
> > 
> > > > So, I now see this has actually been merged into stable without getting
> > > > to the bottom of why it's helping anything...  this is a bit worrying
> > > > since it's adding new functionality and not really a bug fix.  It'd have
> > > > been good to at least get a followup here.
> > 
> > > Do you want me to revert something from the stable tree?  If so, has it
> > > also been reverted upstream?
> > 
> > The patch just isn't an obvious -stable patch - it's adding new
> > functionality, not fixing a bug, and I was surprised to discover it had
> > been added as a result.  It's fine as new functionality and therefore
> > hasn't been reverted upstream.
> > 
> > We can probably leave it there, though if this is OK that's a bit of a
> > change, but if this new functionality is a good fix then we're probably
> > leaving other systems unfixed which isn't good, I would be very much
> > happier if we understood what had changed here.  If new functionality is
> > OK there's a probably a bunch of other changes we should be pulling
> > back.
> New functionality shouldn't be added, but sometimes things slip in due
> to the volume of patches and how people word-smith changelog entries :(

In this case, I don't believe anybody has tried to fiddle with changelog

I merely stated that the commit in question fixed an (observed)
regression.  The commit itself states that it changes behaviour of the
driver, although my interpretation of this change in behaviour still is
that it replaces a clearly broken behaviour (returning -EINVAL for all
multi message transfers) with a proper handling of these.

I suspect that the regression I have observed is caused by the
combination of the following two commits:

commit 059b8ffeee5b427949872bb6ed5db5ae0788054e
  spi: make sure all transfer has proper speed set

commit e6811d1d7a6a38ee637fe219c3b67dbfe17e8b3f
  spi: make sure all transfer has bits_per_word set

And the broken behaviour of the spi-fsl-spi driver prior to the (now
backported) commit 4302a59629f7a0bd70fd1605d2b558597517372a.

A side effect of the two above mentioned commits is that the spi all
transfers (in multi message transfers) have their transfer speed_hz and
bits_per_word set, which is not handled properly by spi-fsl-spi.

As such, I believe the backport is a valid bugfix backport for all
stable kernels including the two spi commits mentioned.


  reply	other threads:[~2015-02-04  9:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-05 15:42 Esben Haabendal
2015-01-05 15:48 ` Mark Brown
2015-01-06 21:15   ` Esben Haabendal
2015-01-23 12:45     ` Mark Brown
2015-01-25 17:38       ` Greg Kroah-Hartman
2015-01-25 20:12         ` Mark Brown
2015-01-25 22:07           ` Greg Kroah-Hartman
2015-02-04  9:03             ` Esben Haabendal [this message]
2015-02-05 14:33               ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \
    --subject='Re: Backport of spi-fsl-spi bugfix to 3.14.y' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).