io_block_mapping in PPC64?
Benjamin Herrenschmidt
benh at kernel.crashing.org
Mon May 16 08:49:53 EST 2005
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 ...
Ben.
More information about the Linuxppc64-dev
mailing list