From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 01 Nov 2007 15:08:05 +0000 (GMT) Received: from localhost.localdomain ([127.0.0.1]:59777 "EHLO dl5rb.ham-radio-op.net") by ftp.linux-mips.org with ESMTP id S20026968AbXKAPID (ORCPT ); Thu, 1 Nov 2007 15:08:03 +0000 Received: from denk.linux-mips.net (denk.linux-mips.net [127.0.0.1]) by dl5rb.ham-radio-op.net (8.14.1/8.13.8) with ESMTP id lA1F7fgx019326; Thu, 1 Nov 2007 15:07:41 GMT Received: (from ralf@localhost) by denk.linux-mips.net (8.14.1/8.14.1/Submit) id lA1F7fR6019325; Thu, 1 Nov 2007 15:07:41 GMT Date: Thu, 1 Nov 2007 15:07:41 +0000 From: Ralf Baechle To: Thomas Bogendoerfer Cc: linux-mips@linux-mips.org Subject: Re: [PATCH] JAZZ: disable PIT; cleanup R4030 clockevent Message-ID: <20071101150741.GA8570@linux-mips.org> References: <20071101125236.GA16577@alpha.franken.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071101125236.GA16577@alpha.franken.de> User-Agent: Mutt/1.5.14 (2007-02-12) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 17359 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ralf@linux-mips.org Precedence: bulk X-list: linux-mips 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