Messages in this thread | | | Date | Tue, 7 Jan 2014 15:25:56 +0000 | From | Catalin Marinas <> | Subject | Re: [PATCH v2 1/5] mm: create generic early_ioremap() support |
| |
On Tue, Jan 07, 2014 at 02:35:16AM +0000, Mark Salter wrote: > This patch creates a generic implementation of early_ioremap() support > based on the existing x86 implementation. early_ioremp() is useful for > early boot code which needs to temporarily map I/O or memory regions > before normal mapping functions such as ioremap() are available. > > There is one difference from the existing x86 implementation which > should be noted. The generic early_memremap() function does not return > an __iomem pointer and a new early_memunmap() function has been added > to act as a wrapper for early_iounmap() but with a non __iomem pointer > passed in. This is in line with the first patch of this series: > > https://lkml.org/lkml/2013/12/22/69 > > Signed-off-by: Mark Salter <msalter@redhat.com> > CC: x86@kernel.org > CC: linux-arm-kernel@lists.infradead.org > CC: Andrew Morton <akpm@linux-foundation.org> > CC: Arnd Bergmann <arnd@arndb.de> > CC: Ingo Molnar <mingo@kernel.org> > CC: Thomas Gleixner <tglx@linutronix.de> > CC: "H. Peter Anvin" <hpa@zytor.com> > CC: Russell King <linux@arm.linux.org.uk> > CC: Catalin Marinas <catalin.marinas@arm.com> > CC: Will Deacon <will.deacon@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
| |