linux-mips
[Top] [All Lists]

Re: [PATCH] Make c0_compare_int_usable more bullet proof

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: [PATCH] Make c0_compare_int_usable more bullet proof
From: Ralf Baechle <ralf@linux-mips.org>
Date: Mon, 22 Oct 2007 10:31:39 +0100
Cc: linux-mips@linux-mips.org, Thiemo Seufer <ths@networkno.de>
In-reply-to: <20071020.005445.75183929.anemo@mba.ocn.ne.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20071020.005445.75183929.anemo@mba.ocn.ne.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.14 (2007-02-12)
On Sat, Oct 20, 2007 at 12:54:45AM +0900, Atsushi Nemoto wrote:

> Use write_c0_compare(read_c0_count()) to clear interrupt.
> And use delta value based on its speed for faster probing.

Hmm...  This one makes c0_compare_int_usable() fails when I run a malta
kernel on last week's qemu.

  Ralf

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