[PATCH] arm64: fix early_io_map for 64K pages

Mark Salter msalter at redhat.com
Wed Feb 5 10:04:15 EST 2014


On Wed, 2014-02-05 at 08:50 -0600, Rob Herring wrote:
> From: Rob Herring <robh at kernel.org>
> 
> earlyprintk is broken with 64KB pages. The problem is pgprot_default
> is not yet initialized when early_io_map is called, so the pte does not
> get marked as valid. Set the necessary page and access permission bits.
> 
> Cc: Mark Salter <msalter at redhat.com>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Will Deacon <will.deacon at arm.com>
> Signed-off-by: Rob Herring <robh at kernel.org>
> ---
> 

FWIW, I had a patch in my early_ioremap series which initialized
pgprot_default earlier in boot:

http://www.spinics.net/lists/arm-kernel/msg299656.html

(which reminds me to get v4 of that series out this week)





More information about the linux-arm-kernel mailing list