Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754734AbbFQJeA (ORCPT ); Wed, 17 Jun 2015 05:34:00 -0400 Received: from mail-ig0-f171.google.com ([209.85.213.171]:38209 "EHLO mail-ig0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750859AbbFQJdv (ORCPT ); Wed, 17 Jun 2015 05:33:51 -0400 MIME-Version: 1.0 In-Reply-To: <5580AFD0.1030606@codeaurora.org> References: <1434491507-6208-1-git-send-email-stefan@agner.ch> <5580AFD0.1030606@codeaurora.org> Date: Wed, 17 Jun 2015 11:33:50 +0200 Message-ID: Subject: Re: [PATCH v4] ARM: early fixmap support for earlycon From: Ard Biesheuvel To: Stephen Boyd Cc: Stefan Agner , Russell King - ARM Linux , Rob Herring , Laura Abbott , Kees Cook , Arnd Bergmann , "linux-kernel@vger.kernel.org" , Mark Salter , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1669 Lines: 40 On 17 June 2015 at 01:22, Stephen Boyd wrote: > 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 > I gave this a spin as well, on Arndale, with /chosen/stdout-path set to &serial_2 and just 'earlycon' (without value) passed on the command line, and it works fine. Tested-by: Ard Biesheuvel -- 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/