Re: [RFC PATCH] sparc32,leon: always include leon code in build

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

 



On Wed, May 16, 2012 at 04:58:26PM +0200, Sam Ravnborg wrote:
> Hi Jiri.
> 
> > 
> > > Konrad / Daniel - any inputs on why LEON uses a different ASI?
> > > As we uses this in head_32.S this is really annoying...
> > 
> > It is not difficult to change the MMU reg ASI from 0x19 to 0x4
> > (as defined in the SRMMU spec). However, all available LEON2/3/4
> > chips in production uses 0x19 due to a decision take about 10
> > years ago.
> Then I consider that cast in stone :-(
> We have leon boards out that uses ASI == 0x19.
> 
> What we really need is an implementation of head_32.S that transparently
> handle the existing sun4m + sun4d boxes + the leon based boards.
> 
> If there is a way we reliably early on can decide if we run
> one of the leon chips then we can always use a separate track in
> head_32.S for the leon stuff.

I have looked at what they do in BSD - and if I combinethat
with what we have in Linux I think I can come up with something.
It requre that we read PSR early to determine the CPU type,
but we already read PSR so this should not be an issue.

Let me try to cook up something.
It will take some days - so do not hold your breath...

	Sam
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux