From: jason@lakedaemon.net (Jason Cooper)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] clk: armada-370: fix tclk frequencies
Date: Thu, 3 Oct 2013 08:17:32 -0400 [thread overview]
Message-ID: <20131003121732.GU31178@titan.lakedaemon.net> (raw)
In-Reply-To: <20131003090057.GF1356@kw.sim.vm.gnt>
On Thu, Oct 03, 2013 at 11:00:58AM +0200, Simon Guinot wrote:
> On Wed, Oct 02, 2013 at 01:04:49PM -0400, Jason Cooper wrote:
> > On Wed, Oct 02, 2013 at 06:57:54PM +0200, Simon Guinot wrote:
> > > On Wed, Oct 02, 2013 at 12:22:21PM -0400, Jason Cooper wrote:
> > > > Simon,
> > > >
> > > > On Wed, Oct 02, 2013 at 05:56:58PM +0200, Simon Guinot wrote:
> > > > > Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
> > > >
> > > > Could you elaborate on this? What symptom did you notice? How did this
> > > > fix it? When was the regression introduced?
> > >
> > > Hi Jason,
> > >
> > > While benchmarking Linux 3.12-rc3 on an Armada-370-RD, I noticed bad
> > > networking performances... After some investigations, I found out that
> > > the coalescence configuration (derived from the tclk) was suspect.
> > >
> > > While checking for the tclk value, I found this typo. There is not much
> > > to say about this patch except that the correct tclk frequencies for
> > > Armada-370 are 166 and 200MHz, not 16.6 and 20MHz.
> >
> > Yes, I know it's simple, but it's a huge help to us when trying to
> > decide whether or not to flag it for stable. fwiw, the regression was
> > introduced by:
> >
> > 6b72333d clk: mvebu: add Armada 370 SoC-centric clock init
> >
> > and this should be applied from v3.11 onwards.
>
> Ok, I will reword this commit. Note that this bug can't be called a
> regression. The tclk frequencies array was wrong from the beginning:
>
> 97fa4cf4: clk: mvebu: add mvebu core clocks
>
> The commit you pointed out simply moves the typo.
Ahh, good catch! Yes, please reword the commit.
> I am not familiar with the stable process but if needed I can provide
> a patch against some stable branches.
Usually, there should only need to be one patch against mainline. But
since the bad values were moved during the lifetime of the error, there
may need to be two patches. Depends on how magical git is. I've seen
it do some pretty amazing stuff.
Please find the original commit introducing the error, reference that in
the commit, and use 'tag --contains ...' to see which versions need the
fix. You can mention that below the cutoff. That's generally all we
need to flag it for stable and help the stable guys figure out which
trees to apply it to.
hth,
Jason.
prev parent reply other threads:[~2013-10-03 12:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-02 15:56 [PATCH] clk: armada-370: fix tclk frequencies Simon Guinot
2013-10-02 16:22 ` Jason Cooper
2013-10-02 16:57 ` Simon Guinot
2013-10-02 17:04 ` Jason Cooper
2013-10-03 9:00 ` Simon Guinot
2013-10-03 12:17 ` Jason Cooper [this message]
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=20131003121732.GU31178@titan.lakedaemon.net \
--to=jason@lakedaemon.net \
--cc=linux-arm-kernel@lists.infradead.org \
/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