Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754995AbbFPXXI (ORCPT ); Tue, 16 Jun 2015 19:23:08 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:36881 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751555AbbFPXW6 (ORCPT ); Tue, 16 Jun 2015 19:22:58 -0400 Message-ID: <5580AFD0.1030606@codeaurora.org> Date: Tue, 16 Jun 2015 16:22:56 -0700 From: Stephen Boyd User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Stefan Agner , linux@arm.linux.org.uk CC: Rob Herring , Laura Abbott , Kees Cook , Arnd Bergmann , Ard Biesheuvel , linux-kernel@vger.kernel.org, Mark Salter , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4] ARM: early fixmap support for earlycon References: <1434491507-6208-1-git-send-email-stefan@agner.ch> In-Reply-To: <1434491507-6208-1-git-send-email-stefan@agner.ch> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1460 Lines: 37 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/