Re: [PATCH 4/4] arm64: add early_ioremap support

2013-12-17 Thread Mark Salter
On Thu, 2013-12-05 at 16:28 +, 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(

Re: [PATCH 4/4] arm64: add early_ioremap support

2013-12-16 Thread Catalin Marinas
On Fri, Dec 06, 2013 at 05:20:49PM +, Mark Salter wrote: > On Thu, 2013-12-05 at 16:28 +, Catalin Marinas wrote: > > On Thu, Nov 28, 2013 at 02:44:39AM +, Mark Salter wrote: > > > + * These 'compile-time allocated' memory buffers are > > > + * page-sized. Use set_fixmap(idx,phys) to ass

Re: [PATCH 4/4] arm64: add early_ioremap support

2013-12-06 Thread Mark Salter
On Thu, 2013-12-05 at 16:28 +, Catalin Marinas wrote: > On Thu, Nov 28, 2013 at 02:44:39AM +, Mark Salter wrote: > > + * These 'compile-time allocated' memory buffers are > > + * page-sized. Use set_fixmap(idx,phys) to associate > > + * physical memory with fixmap indices. > > + * > > + */

Re: [PATCH 4/4] arm64: add early_ioremap support

2013-12-05 Thread Catalin Marinas
On Thu, Nov 28, 2013 at 02:44:39AM +, Mark Salter wrote: > --- /dev/null > +++ b/arch/arm64/include/asm/fixmap.h > @@ -0,0 +1,68 @@ > +/* > + * fixmap.h: compile-time virtual memory allocation > + * > + * This file is subject to the terms and conditions of the GNU General Public > + * License.