Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756637AbbFQMrI (ORCPT ); Wed, 17 Jun 2015 08:47:08 -0400 Received: from down.free-electrons.com ([37.187.137.238]:59012 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755231AbbFQMq7 (ORCPT ); Wed, 17 Jun 2015 08:46:59 -0400 Date: Wed, 17 Jun 2015 14:46:56 +0200 From: Thomas Petazzoni To: Boris Brezillon , Russell King Cc: Arnd Bergmann , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] ARM: fix DEBUG_UART_PHYS/VIRT issue when modifying DEBUG_LL output Message-ID: <20150617144656.61eb29ae@free-electrons.com> In-Reply-To: <1421145468-4144-1-git-send-email-boris.brezillon@free-electrons.com> References: <1421145468-4144-1-git-send-email-boris.brezillon@free-electrons.com> Organization: Free Electrons X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1319 Lines: 33 Hello, On Tue, 13 Jan 2015 11:37:48 +0100, Boris Brezillon wrote: > The DEBUG_UART_PHYS/VIRT value can only be automatically set once > (automatically means set from the DEBUG__ option), which > prevents re-configuring the earlyprintk output for another platform once > the DEBUG_LL output has been selected. > > Add a new boolean option (DEBUG_CUSTOM_UART_ADDR) enabling custom phys and > virt address setting (configured through DEBUG_CUSTOM_UART_PHYS/VIRT > options), and make DEBUG_UART_PHYS/VIRT hidden so that they will always be > set from one of the 'default' definitions, and thus will be overwritten > each time you change the DEBUG_LL output. > > Signed-off-by: Boris Brezillon What is the status of this patch? It would actually be quite useful when switching back and forth between different DEBUG_LL configurations. Russell, what do you think of the proposed approach? Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- 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/