Re: [PATCH] MIPS: Tell R4k SC and MC variations apart

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

 



On Wed, Sep 25, 2013 at 12:37:42AM +0100, Maciej W. Rozycki wrote:

> > My reservations may have been about userland reading /proc/cpuinfo and
> > looking at the CPU type.  Some software may know how to handle the
> > PC/SC variants but not the MC versions.  But this seems to be a fairly
> > weak concern - and I trust you checked gcc's parsing of /proc/cpuinfo.
> 
>  Actually I wasn't actually aware GCC's got /proc/cpuinfo-based native 
> arch support for the MIPS target these days, thanks for the hint.
> 
>  I have now checked the relevant source file and support is pretty weak 
> there, only half a dozen processors are recognised and no R4k model is 
> among them.  In any case strstr is used to check for matches there so I'd 
> expect strings like "R4000" or "R4400" without a further suffix to be 
> chosen.

It'd be worth a change in particular for users how higher end CPUs and
enhanced ISAs such as Octeons.

Or should we just default to O32 w/ MIPS I + LL/SC as the MIPS Esperanto
forever ...

  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