From patchwork Mon Nov 17 14:49:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 40924 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D273721F5F for ; Mon, 17 Nov 2014 14:49:47 +0000 (UTC) Received: by mail-wg0-f72.google.com with SMTP id y19sf1217707wgg.7 for ; Mon, 17 Nov 2014 06:49:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=uEBr1j3syInetJ4g+NxHTEOMsBfFnV9ji7sL/j89sGw=; b=gn0XQyJqreQ61a/P4p0/dHUoM0ABu06JkQXK0JFVE8MGlkoE4beM0kf7RIX1u/Y83c 6OJhiqsQdyZqg/uo8l1SeMMveMB+0doVLLuT20Q5EB5GrsvBxsMZuLAT9BuwKW9EF+D4 PdNiGY9Z4kA/NZdsw9nVkpMb/SgkOa4Z/Gg2e4j7KdH2xnpNToZFtJ1VrwtpLLQAQ1dJ nHY7DfZy0e0EL1/3Yg3mitHTV83ri8XptqeC2LW0C4BiOP3MU9oQNdLn+jlqyTFXax/Z lXtTZxSbgdoylc5tqg14Azb7Yois9MvkK5aKq1Wc4a8CRdtyhr191hkwESObxnLdqZVb uH+A== X-Gm-Message-State: ALoCoQksNBdfYlgvEiwl7l/+Ton82mqWPY85b4/fgxEPxYh3dhC1ssKURcMNYJaxNJwJpMDSTYx6 X-Received: by 10.112.48.6 with SMTP id h6mr211834lbn.19.1416235787169; Mon, 17 Nov 2014 06:49:47 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.42.226 with SMTP id r2ls1364158lal.49.gmail; Mon, 17 Nov 2014 06:49:47 -0800 (PST) X-Received: by 10.112.199.40 with SMTP id jh8mr28196156lbc.5.1416235787014; Mon, 17 Nov 2014 06:49:47 -0800 (PST) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id y9si34886663lbw.115.2014.11.17.06.49.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Nov 2014 06:49:46 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by mail-la0-f45.google.com with SMTP id gm9so1725225lab.4 for ; Mon, 17 Nov 2014 06:49:46 -0800 (PST) X-Received: by 10.152.42.226 with SMTP id r2mr28018116lal.29.1416235786623; Mon, 17 Nov 2014 06:49:46 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp1164887lbc; Mon, 17 Nov 2014 06:49:45 -0800 (PST) X-Received: by 10.180.108.144 with SMTP id hk16mr31285446wib.68.1416235779953; Mon, 17 Nov 2014 06:49:39 -0800 (PST) Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com. [74.125.82.53]) by mx.google.com with ESMTPS id e3si16475381wix.69.2014.11.17.06.49.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Nov 2014 06:49:39 -0800 (PST) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 74.125.82.53 as permitted sender) client-ip=74.125.82.53; Received: by mail-wg0-f53.google.com with SMTP id l18so1363175wgh.12 for ; Mon, 17 Nov 2014 06:49:39 -0800 (PST) X-Received: by 10.180.85.198 with SMTP id j6mr31092643wiz.23.1416235779431; Mon, 17 Nov 2014 06:49:39 -0800 (PST) Received: from sundance.lan (cpc4-aztw19-0-0-cust157.18-1.cable.virginm.net. [82.33.25.158]) by mx.google.com with ESMTPSA id mw7sm15545580wib.14.2014.11.17.06.49.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Nov 2014 06:49:38 -0800 (PST) From: Daniel Thompson To: Russell King , Arnd Bergmann Cc: Daniel Thompson , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, spear-devel@list.st.com, Paul Bolle , Srinivas Kandagatla , John Stultz , Sumit Semwal , patches@linaro.org, linaro-kernel@lists.linaro.org Subject: [PATCH v13 9/9] arm: Fix DEBUG_LL for multi-platform kernels (without PL01X) Date: Mon, 17 Nov 2014 14:49:10 +0000 Message-Id: <1416235750-4766-10-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1416235750-4766-1-git-send-email-daniel.thompson@linaro.org> References: <1416235750-4766-1-git-send-email-daniel.thompson@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.thompson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , When building a multi_v7_defconfig kernel it is not possible to configure DEBUG_LL to use any serial device except a ARM Primecell PL01X, or more accurately and worse, it is possible to configure a different serial device but KConfig does not honour this request. In fact this also overrides the user selection for some of the single platform kernels, for example I don't think DEBUG_LL can be targeted at ICE or semihosted supervisor for ARCH_VERSATILE. This happens because DEBUG_UART_PL01X is automatically enabled by some architectures and this means user decisions made regarding the DEBUG_LL backend will be overridden. Problem is fixed by removing the automatic enabling of this option. Signed-off-by: Daniel Thompson Acked-by: Arnd Bergmann --- arch/arm/Kconfig.debug | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 612bdab25f70..43a5942ed60a 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -1160,12 +1160,7 @@ config DEBUG_LL_INCLUDE # Compatibility options for PL01x config DEBUG_UART_PL01X - def_bool ARCH_EP93XX || \ - ARCH_INTEGRATOR || \ - ARCH_SPEAR3XX || \ - ARCH_SPEAR6XX || \ - ARCH_SPEAR13XX || \ - ARCH_VERSATILE + bool # Compatibility options for 8250 config DEBUG_UART_8250