From: Jarkko Nikula <jarkko.nikula@linux.intel.com>
To: Ben Gardner <gardner.ben@gmail.com>
Cc: Linux I2C <linux-i2c@vger.kernel.org>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Mika Westerberg <mika.westerberg@linux.intel.com>
Subject: Re: [PATCH] i2c: designware: Fix failure on baytrail
Date: Tue, 13 Feb 2018 16:35:50 +0200 [thread overview]
Message-ID: <c5d4a7fc-2d52-9ab5-2a6f-5a5d4e20055c@linux.intel.com> (raw)
In-Reply-To: <CAE7DoPbMMMbTV5i-fmfhrzKTVoj8Up8aXRYZU9jMh7hKNkkejQ@mail.gmail.com>
Hi
On 02/09/2018 05:07 PM, Ben Gardner wrote:
> I bisected the kernel to try to find where this broke, but the answer
> I kept on getting didn't make any sense.
> I think t was this commit:
>
> 4d6d5f1d08d2138dc43b28966eb6200e3db2e623 i2c: designware: fix rx fifo
> depth tracking
> > Of course, reverting that one commit didn't fix anything.
> So I added a log to the dw_readl() and dw_writel() functions in both a
> working and broken kernel and compared.
>
Yeah, it's not unusual that bisect diverts into wrong commit especially
with issues that don't reproduce easily or if some unrelated thing is
causing also failure at certain step leading to a wrong good/bad guess.
Can you test does reverting my guessed commit 2702ea7dbec5 ("i2c:
designware: wait for disable/enable only if necessary") fix it?
For linux-stable it is good info to know exactly the commit causing
regression and mark that in your changelog. It allows linux-stable folks
to apply fix to earlier kernels and know versions this fix will still
apply if cannot apply where regression was introduced. Fox example:
Fixes: commit 2702ea7dbec5 ("i2c: designware: wait for disable/enable
only if necessary")
Cc: linux-stable <stable@vger.kernel.org> # 4.13+
--
Jarkko
next prev parent reply other threads:[~2018-02-13 14:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-08 18:12 [PATCH] i2c: designware: Fix failure on baytrail Ben Gardner
2018-02-09 9:25 ` Jarkko Nikula
2018-02-09 15:07 ` Ben Gardner
2018-02-13 14:35 ` Jarkko Nikula [this message]
2018-02-13 16:31 ` Ben Gardner
2018-02-14 15:06 ` Jarkko Nikula
-- strict thread matches above, loose matches on Subject: below --
2018-02-12 15:52 Ben Gardner
2018-02-12 15:56 ` Ben Gardner
2018-02-13 14:36 ` Jarkko Nikula
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c5d4a7fc-2d52-9ab5-2a6f-5a5d4e20055c@linux.intel.com \
--to=jarkko.nikula@linux.intel.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=gardner.ben@gmail.com \
--cc=linux-i2c@vger.kernel.org \
--cc=mika.westerberg@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).