Messages in this thread | | | Subject | Re: [PATCH 4/4] arm64: add early_ioremap support | From | Mark Salter <> | Date | Tue, 17 Dec 2013 14:15:15 -0500 |
| |
On Thu, 2013-12-05 at 16:28 +0000, Catalin Marinas wrote: > > +#define FIXMAP_PAGE_NORMAL __pgprot(PROT_NORMAL | PTE_PXN | PTE_UXN) > > I'll push a fix to change PROT_DEFAULT to (pgprot_default | PTE_DIRTY). >
This doesn't help early_ioremap because pgprot_default gets set up in init_mem_pgprot() which is called from paging_init(). The early_ioremaps happen before paging_init(). Would it be okay to make init_mem_pgprot() non-static and call it from setup_arch() before early_ioremap_init()?
--Mark
| |