On Wed, 2013-10-02 at 08:13 -0600, Al Stone wrote:
- /* we're already in memory so we cannot io_remap the entry */
- return phys_to_virt(phys);
- return early_memremap(phys, size);
This will break ARM64 kernel building. Early mapping is supported for ARM so far.
Aha. Correct. I'll take a look at this today. It may have to be #ifdef'd :(.
I have an early_ioremap patch for arm64.
https://github.com/mosalter/linux.git
commit 3e1831284bc71e2f05ad9f598acf2903d8e1d552 Author: Mark Salter msalter@redhat.com Date: Tue Sep 24 23:16:24 2013 -0400
arm64: add early_ioremap support
I'm working on rebasing those patches now so they can be pulled into the leg kernel tree.
--Mark