Re: [PATCH v2 28/76] ARC: I/O and DMA Mappings

From: Paul Mundt
Date: Fri Jan 18 2013 - 11:01:02 EST


On Fri, Jan 18, 2013 at 03:55:43PM +0000, Arnd Bergmann wrote:
> On Friday 18 January 2013, Vineet Gupta wrote:
> > TBD: Do we need early ioremap support like openrisc
> >
> > Signed-off-by: Vineet Gupta <vgupta@xxxxxxxxxxxx>
>
> Can you explain why early ioremap is necessary for you?
>
> I wasn't aware that openrisc has it. In a lot of cases,
> you can use fixmap as a replacement.
>
The two don't need to be mutually exclusive, either. sh implements early
ioremap transparently via fixmaps for example:

arch/sh/mm/ioremap.c
arch/sh/mm/ioremap_fixed.c
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/