linux-mips
[Top] [All Lists]

Re: [PATCH] JAZZ: disable PIT; cleanup R4030 clockevent

To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Subject: Re: [PATCH] JAZZ: disable PIT; cleanup R4030 clockevent
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 1 Nov 2007 15:07:41 +0000
Cc: linux-mips@linux-mips.org
In-reply-to: <20071101125236.GA16577@alpha.franken.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20071101125236.GA16577@alpha.franken.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.14 (2007-02-12)
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.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>