From patchwork Mon Jan 5 12:40:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 42741 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F401126670 for ; Mon, 5 Jan 2015 12:42:24 +0000 (UTC) Received: by mail-la0-f69.google.com with SMTP id gd6sf12104130lab.8 for ; Mon, 05 Jan 2015 04:42:23 -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=CHtV3nD/s6KuWRppn9iGrI8CJXx/jBbM6VTZQ/gw7Ug=; b=jlJ1FEYRkc3Bqwsdo72rjbhe9ZyH3GxyVZXc8ESB1SKXU+HoYcdQgdEWl+BjlvTu6W HrMFRUpeAPWzAjzXq5XsO+lbJWDr6LhV7eK0QnAGTJ4i2R+HJKi6oOxp8yxmzsCRCwrh xtWH8Dx7c17Bt5wz1iQdAdmC1IBlW9IglPp9A8T84XDMpC5pCKSgjFGyb6D4B2u5DOf6 fvlc5O5yBIFPXsg4TwYXYRMtasJ6wCB7Y/7R3wtEdEZnP2KsT5tgZkqGO9YUxdzdycSI RP9kzwa1l/9HefE6Fnzy/vJ0m4DfqlsiVttmRC2+oYBdZYXxszACKy+IAX7ivlaQ//68 nupw== X-Gm-Message-State: ALoCoQkWMmBhat/+jmBdPUqGgBPI/rINN1nOQ6kslJUWDGcCAwGia2p+5sFH3ZDsZJoRPk+47DU6 X-Received: by 10.180.89.140 with SMTP id bo12mr1449474wib.6.1420461743773; Mon, 05 Jan 2015 04:42:23 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.234.132 with SMTP id ue4ls53309lac.58.gmail; Mon, 05 Jan 2015 04:42:23 -0800 (PST) X-Received: by 10.112.130.65 with SMTP id oc1mr92420741lbb.7.1420461743547; Mon, 05 Jan 2015 04:42:23 -0800 (PST) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com. [209.85.215.52]) by mx.google.com with ESMTPS id em9si52880629lbc.102.2015.01.05.04.42.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 Jan 2015 04:42:23 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by mail-la0-f52.google.com with SMTP id hs14so17919820lab.39 for ; Mon, 05 Jan 2015 04:42:23 -0800 (PST) X-Received: by 10.112.104.4 with SMTP id ga4mr22026399lbb.24.1420461743426; Mon, 05 Jan 2015 04:42:23 -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.9.200 with SMTP id c8csp870175lbb; Mon, 5 Jan 2015 04:42:22 -0800 (PST) X-Received: by 10.194.23.6 with SMTP id i6mr121292653wjf.26.1420461736983; Mon, 05 Jan 2015 04:42:16 -0800 (PST) Received: from mail-we0-f176.google.com (mail-we0-f176.google.com. [74.125.82.176]) by mx.google.com with ESMTPS id xv9si112806737wjb.177.2015.01.05.04.42.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 Jan 2015 04:42:16 -0800 (PST) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 74.125.82.176 as permitted sender) client-ip=74.125.82.176; Received: by mail-we0-f176.google.com with SMTP id w61so7769443wes.7 for ; Mon, 05 Jan 2015 04:42:16 -0800 (PST) X-Received: by 10.194.62.163 with SMTP id z3mr179684906wjr.74.1420461736619; Mon, 05 Jan 2015 04:42:16 -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 ep9sm9796927wid.3.2015.01.05.04.42.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Jan 2015 04:42:15 -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 3.19-rc2 v15 8/8] arm: Fix DEBUG_LL for multi-platform kernels (without PL01X) Date: Mon, 5 Jan 2015 12:40:24 +0000 Message-Id: <1420461624-4410-9-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1420461624-4410-1-git-send-email-daniel.thompson@linaro.org> References: <1420461624-4410-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.52 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 e250505b9ae1..a324ecdfeb21 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -1263,12 +1263,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