public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: simon.guinot@sequanux.org (Simon Guinot)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] clk: armada-370: fix tclk frequencies
Date: Wed, 2 Oct 2013 18:57:54 +0200	[thread overview]
Message-ID: <20131002165754.GE1356@kw.sim.vm.gnt> (raw)
In-Reply-To: <20131002162221.GN31178@titan.lakedaemon.net>

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.

Simon

> 
> thx,
> 
> Jason.
> 
> > ---
> >  drivers/clk/mvebu/armada-370.c |    4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/drivers/clk/mvebu/armada-370.c b/drivers/clk/mvebu/armada-370.c
> > index fc777bd..81a202d 100644
> > --- a/drivers/clk/mvebu/armada-370.c
> > +++ b/drivers/clk/mvebu/armada-370.c
> > @@ -39,8 +39,8 @@ static const struct coreclk_ratio a370_coreclk_ratios[] __initconst = {
> >  };
> >  
> >  static const u32 a370_tclk_freqs[] __initconst = {
> > -	16600000,
> > -	20000000,
> > +	166000000,
> > +	200000000,
> >  };
> >  
> >  static u32 __init a370_get_tclk_freq(void __iomem *sar)
> > -- 
> > 1.7.10.4
> > 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131002/b0c4d977/attachment.sig>

  reply	other threads:[~2013-10-02 16:57 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 [this message]
2013-10-02 17:04     ` Jason Cooper
2013-10-03  9:00       ` Simon Guinot
2013-10-03 12:17         ` Jason Cooper

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=20131002165754.GE1356@kw.sim.vm.gnt \
    --to=simon.guinot@sequanux.org \
    --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