From: Ralf Baechle <ralf@linux-mips.org>
To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@linux-mips.org
Subject: Re: [PATCH] JAZZ: disable PIT; cleanup R4030 clockevent
Date: Thu, 1 Nov 2007 16:02:10 +0000 [thread overview]
Message-ID: <20071101160210.GA20366@linux-mips.org> (raw)
In-Reply-To: <20071101150741.GA8570@linux-mips.org>
On Thu, Nov 01, 2007 at 03:07:41PM +0000, Ralf Baechle wrote:
> On Thu, Nov 01, 2007 at 01:52:36PM +0100, Thomas Bogendoerfer wrote:
>
> > PIT doesn't work, disable it completly
>
> I think this is the explanation:
>
> include/asm-mips/mach-jazz/timex.h:#define CLOCK_TICK_RATE 100
>
> while the PIT code actually expects 1193182.
>
> Turns out that due to a recent Qemu bug which made the probe for the cp0
> compare interrupt fail the Malta code did fall back from the compare timer
> to the i8253 PIT for the clockevent device. Works perfectly well.
So I just fixed the MIPS part of the CLOCK_TICK_RATE mess which is really
all over the kernel. I hope this should bring the i2853 to life for you.
Could you test this? It's pretty much the only hope for Jazz to go tickless
so we should try to get it to work. Unfortunately there is a locking issue
lurking there as well so I need some feedback if you can get it to work.
Ralf
next prev parent reply other threads:[~2007-11-01 16:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-01 12:52 [PATCH] JAZZ: disable PIT; cleanup R4030 clockevent Thomas Bogendoerfer
2007-11-01 15:07 ` Ralf Baechle
2007-11-01 16:02 ` Ralf Baechle [this message]
2007-11-02 10:17 ` Thomas Bogendoerfer
2007-11-02 12:20 ` Ralf Baechle
2007-11-02 22:08 ` Thomas Bogendoerfer
2007-11-04 0:33 ` Ralf Baechle
2007-11-04 10:05 ` Thomas Bogendoerfer
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=20071101160210.GA20366@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=linux-mips@linux-mips.org \
--cc=tsbogend@alpha.franken.de \
/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.