From mboxrd@z Thu Jan 1 00:00:00 1970 From: sboyd@codeaurora.org (Stephen Boyd) Date: Tue, 16 Jun 2015 16:22:56 -0700 Subject: [PATCH v4] ARM: early fixmap support for earlycon In-Reply-To: <1434491507-6208-1-git-send-email-stefan@agner.ch> References: <1434491507-6208-1-git-send-email-stefan@agner.ch> Message-ID: <5580AFD0.1030606@codeaurora.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 06/16/2015 02:51 PM, Stefan Agner wrote: > Add early fixmap support, initially to support permanent, fixed > mapping support for early console. A temporary, early pte is > created which is migrated to a permanent mapping in paging_init. > This is also needed since the attributes may change as the memory > types are initialized. The 3MiB range of fixmap spans two pte > tables, but currently only one pte is created for early fixmap > support. > > Re-add FIX_KMAP_BEGIN to the index calculation in highmem.c since > the index for kmap does not start at zero anymore. This reverts > 4221e2e6b316 ("ARM: 8031/1: fixmap: remove FIX_KMAP_BEGIN and > FIX_KMAP_END") to some extent. > > Cc: Mark Salter > Cc: Russell King > Cc: Kees Cook > Cc: Laura Abbott > Cc: Arnd Bergmann > Cc: Ard Biesheuvel > Signed-off-by: Rob Herring > Signed-off-by: Stefan Agner > Works on msm_serial. Tested-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project