io_block_mapping in PPC64?

Tzachi Perelstein tzachi at marvell.com
Wed May 25 21:00:34 EST 2005


> > > 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? 
> >
> > io_block_mapping() isn't really an interface I would recomment for
> > anybody to use... What about __ioremap() instead ?
> >

I've noticed that CPU access to this SRAM as cache inhibited, although I
called __ioremp with _PAGE_COHERENT flag. Are there any other _PAGE
flags required?




More information about the Linuxppc64-dev mailing list