[PATCH 1/3] ARM: CSR: Adding CSR SiRFprimaII board support

Nicolas Pitre nico at fluxnic.net
Wed Jul 6 14:11:29 EDT 2011


On Wed, 6 Jul 2011, Arnd Bergmann wrote:

> On Wednesday 06 July 2011 19:42:48 Russell King - ARM Linux wrote:
> > On Wed, Jul 06, 2011 at 12:35:54PM -0400, Nicolas Pitre wrote:
> > > In the spirit of removing as much machine specific and globally used 
> > > defines (see my patch series removing a bunch of mach/memory.h 
> > > instances), I'd like to see a solution that would make IO_SPACE_LIMIT 
> > > into a variable, or having the same definition with a fixed mapping, for 
> > > as many SOCs as possible.
> > 
> > In theory it should be possible to have it defined as 64K across
> > everything.  ISTR that you were against that with SA1100 platforms
> > because of the PCMCIA problem though...
> 
> If the problem is only with a few platforms, my preference would be
> to hardcode this to 64k or 0, and leave the platforms that require
> something else out of the common zImage for now.
> 
> For all platforms that only need the 64k window and don't have any
> of other special needs, I would also like to hardcode the virtual
> address window eventually, so that inb/outb can still be a single
> instruction.

I would say that hardcoding the virtual mapping is probably the first 
thing to do.  That would certainly simplify the rest of the kernel.


Nicolas



More information about the linux-arm-kernel mailing list