From: Ralf Baechle <ralf@linux-mips.org>
To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: VomLehn <dvomlehn@cisco.com>,
Linux MIPS Mailing List <linux-mips@linux-mips.org>
Subject: Re: [PATCH][MIPS] Use CP0 Count register to implement more granular ndelay
Date: Fri, 13 Mar 2009 12:32:38 +0100 [thread overview]
Message-ID: <20090313113238.GA30049@linux-mips.org> (raw)
In-Reply-To: <20090313092906.GA6526@alpha.franken.de>
On Fri, Mar 13, 2009 at 10:29:07AM +0100, Thomas Bogendoerfer wrote:
> > +config MIPS4
> > + bool
> > + default y if CPU_R8000 || CPU_R10000
> > +
>
> what about all the R5k CPUs ?
There is cpu_has_counter which return if a processor actually has a cp0
counter. Also cpu_has_mfc0_count_bug() which indicates usability of
the counter. The cp0 counter should rather not be used on early R4000
processors, for example.
Ralf
next prev parent reply other threads:[~2009-03-13 11:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-12 3:28 [PATCH][MIPS] Use CP0 Count register to implement more granular ndelay VomLehn
2009-03-13 9:29 ` Thomas Bogendoerfer
2009-03-13 11:32 ` Ralf Baechle [this message]
2009-03-13 17:35 ` VomLehn
[not found] <web-5716826@test.infohit.si>
2009-03-25 17:37 ` David VomLehn
-- strict thread matches above, loose matches on Subject: below --
2009-02-27 23:09 VomLehn
2009-02-28 21:10 ` Paul Gortmaker
2009-02-28 21:10 ` Paul Gortmaker
2009-03-10 19:18 ` VomLehn
2009-03-10 20:12 ` Ralf Baechle
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=20090313113238.GA30049@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=dvomlehn@cisco.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox