[Top] [All Lists]

Re: plat_timer_setup, mips_timer_ack, etc.

To: Ralf Baechle <>
Subject: Re: plat_timer_setup, mips_timer_ack, etc.
From: Sergei Shtylyov <>
Date: Wed, 17 Oct 2007 20:34:52 +0400
Cc: Atsushi Nemoto <>,
In-reply-to: <>
Organization: MontaVista Software Inc.
Original-recipient: rfc822;
References: <> <> <> <>
User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803

Ralf Baechle wrote:

$ git-grep mips_timer_ack arch/mips
arch/mips/dec/time.c:   mips_timer_ack = dec_timer_ack;
arch/mips/jmr3927/rbhma3100/setup.c:    mips_timer_ack = jmr3927_timer_ack;

TX3927 has three channel timer of which only channel 0 is used to implement a clocksource -- however, clocksource code whould also need to be changed since it's now jiffy-based and HRT doesn't tolerate this -- of course, if anybody still cared about this boards

arch/mips/philips/pnx8550/common/time.c:        mips_timer_ack = timer_ack;

Here we have a case of a vendor abusing the count/compare register and also adding 3 more of them. One pair can be used for clockevents, the other for clocksource (its compare reg. being programmed to all ones).

WBR, Sergei

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