All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Ashlesha Shintre <ashlesha@kenati.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Portmap on the Encore M3
Date: Tue, 14 Nov 2006 13:05:03 +0000	[thread overview]
Message-ID: <20061114130503.GB28579@linux-mips.org> (raw)
In-Reply-To: <1163469787.6532.26.camel@sandbar.kenati.com>

On Mon, Nov 13, 2006 at 06:03:07PM -0800, Ashlesha Shintre wrote:

> > > > 16.35 BogoMIPS (lpj=8176)
> > 
> > Sounds about right if your CPU clock hapens to be 8MHz so probably not.
> > Chances the counter was missprogrammed.  Or are you running uncached?
> > Uncached will completly devastate performance.
> > 
> 
> For the AU1500 processor, the CPU Clock is derived from the PLL whose
> input is 12MHz.. Upon reading the value of the SYS_CPUPLL register in
> the calibrate_delay function, I found out that the multiplying factor is
> 40, thus, the CPU Clock frequency is 480MHz.. Thus the lpj should be
> approximately 480000 -- right?

From a CPU core like the Alchemy core I would more expect half of that
number, 240000.  That is if HZ is 1000 which I believe it was still
hardwired for kernels of the vintage you're running.

> Also I dont know what you mean by "running uncached"?

CONFIG_MIPS_UNCACHED which disables all processor caches.  Bad idea.

> Thanks a lot, I will check the problem with the serial driver -- i m
> using the 8250.c serial driver..

Use CONFIG_SERIAL_AU1X00.

  Ralf

WARNING: multiple messages have this Message-ID (diff)
From: Ralf Baechle <ralf@linux-mips.org>
To: Ashlesha Shintre <ashlesha@kenati.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Portmap on the Encore M3
Date: Tue, 14 Nov 2006 13:05:03 +0000	[thread overview]
Message-ID: <20061114130503.GB28579@linux-mips.org> (raw)
Message-ID: <20061114130503.QEIMyf8RobJKNeakvr5ODbtdk2ibB8sqoG1F8rGN2Qc@z> (raw)
In-Reply-To: <1163469787.6532.26.camel@sandbar.kenati.com>

On Mon, Nov 13, 2006 at 06:03:07PM -0800, Ashlesha Shintre wrote:

> > > > 16.35 BogoMIPS (lpj=8176)
> > 
> > Sounds about right if your CPU clock hapens to be 8MHz so probably not.
> > Chances the counter was missprogrammed.  Or are you running uncached?
> > Uncached will completly devastate performance.
> > 
> 
> For the AU1500 processor, the CPU Clock is derived from the PLL whose
> input is 12MHz.. Upon reading the value of the SYS_CPUPLL register in
> the calibrate_delay function, I found out that the multiplying factor is
> 40, thus, the CPU Clock frequency is 480MHz.. Thus the lpj should be
> approximately 480000 -- right?

  reply	other threads:[~2006-11-14 13:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-13 18:46 Portmap on the Encore M3 Ashlesha Shintre
2006-11-13 23:38 ` Ralf Baechle
2006-11-14  2:03   ` Ashlesha Shintre
2006-11-14 13:05     ` Ralf Baechle [this message]
2006-11-14 13:05       ` Ralf Baechle
2006-11-14 18:28       ` Ashlesha Shintre
2006-11-14 19:11         ` Ralf Baechle
2006-11-15 22:24           ` Ashlesha Shintre
2006-11-20 23:41     ` LPJ value on the AU1500 Ashlesha Shintre

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=20061114130503.GB28579@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=ashlesha@kenati.com \
    --cc=linux-mips@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.