Re: [PATCH][MIPS] Use CP0 Count register to implement more granular ndelay

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux