io_block_mapping in PPC64?

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon May 16 08:54:45 EST 2005


On Mon, 2005-05-16 at 08:49 +1000, Benjamin Herrenschmidt wrote:
> On Sun, 2005-05-15 at 16:08 +0300, Tzachi Perelstein wrote:
> > Hi all,
> > 
> > I develop Linux (PPC64, 2.6.9) for the new Marvell 64470 evaluation
> > board with the IBM-970FX. Inside the Marvell system controller there is
> > a 2Mbit internal SRAM for applications that required fast memory access
> > (traditionally for network driver descriptors).
> > In the (32bit) PPC arch there is an io_block_mapping function that can
> > be used to map the internal SRAM with configurable (e.g. cache
> > coherence) attributes. Is there any way to it in PPC64 arch? I didn't
> > find any reference for it. Any help will be appriciated.
> 
> io_block_mapping() isn't really an interface I would recomment for
> anybody to use... What about __ioremap() instead ?
> 
> I also notice that Marvell didn't both submitting any patch for
> supporting their board, I suppose they are happy with just providing
> customers with their hacks and no attempt to have them validated &
> merged upstream ...

Hrm... just noticed your @marvell.com address, so forget my previous
comment. I would still recommend that any patch your come up with for
supporting this board be submited on this list before it hits customers.

I'm trying hard to avoid ppc64 becoming the mess ppc32 has get...

Ben.
 




More information about the Linuxppc64-dev mailing list