From patchwork Mon Dec 22 16:57:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 42535 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1A27A25BA1 for ; Mon, 22 Dec 2014 16:58:45 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id f15sf3172240lbj.3 for ; Mon, 22 Dec 2014 08:58:44 -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=AwmmwnLnNWfsBRTtdlwoamOvqYvsx54dNgWSFNb04NFwJHUSfEQwmke3NsCDd2vB58 ievGvh2+is6p489oNbp5skuBK8rKZZeu8bL+Xqk7wybB2NOIqDE5/eBmwPKqfwTB+YrZ uAoJsLmypAiSqq7qjP3VXpMdydGpL278wmuHsWznoTgAwOAuhe3vHITmeKi6ALBgPoR2 EQTyiNWXETIGCz0xE3j17TBEO733k/Do97jgJiWtl+2rsZ7qik4arPOn5+GHf+zXDUZ+ T+6fSD9sH9et/VVCZ6WDy7UsPaoKnAcUptU2MCqwmxeTK4rTlZkS1dmR0vMu09T9UDXp rr8w== X-Gm-Message-State: ALoCoQnkSa3Y0sVFicMGKZjxiw0Pnvfx8NCv4DZlqDHZEALE/74djDlTvIirTQU+0NVJKI/AQ6iR X-Received: by 10.194.92.34 with SMTP id cj2mr437934wjb.5.1419267524051; Mon, 22 Dec 2014 08:58:44 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.87.134 with SMTP id ay6ls1601926lab.107.gmail; Mon, 22 Dec 2014 08:58:43 -0800 (PST) X-Received: by 10.152.164.133 with SMTP id yq5mr18992879lab.38.1419267523896; Mon, 22 Dec 2014 08:58:43 -0800 (PST) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id j15si19068876lbg.30.2014.12.22.08.58.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 22 Dec 2014 08:58:43 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by mail-la0-f54.google.com with SMTP id pv20so4172651lab.41 for ; Mon, 22 Dec 2014 08:58:43 -0800 (PST) X-Received: by 10.112.98.99 with SMTP id eh3mr22631948lbb.32.1419267523814; Mon, 22 Dec 2014 08:58:43 -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.142.69 with SMTP id ru5csp1085207lbb; Mon, 22 Dec 2014 08:58:43 -0800 (PST) X-Received: by 10.194.143.12 with SMTP id sa12mr12958853wjb.101.1419267520146; Mon, 22 Dec 2014 08:58:40 -0800 (PST) Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com. [209.85.212.176]) by mx.google.com with ESMTPS id ew2si19856823wib.32.2014.12.22.08.58.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 22 Dec 2014 08:58:40 -0800 (PST) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 209.85.212.176 as permitted sender) client-ip=209.85.212.176; Received: by mail-wi0-f176.google.com with SMTP id ex7so8629850wid.3 for ; Mon, 22 Dec 2014 08:58:39 -0800 (PST) X-Received: by 10.194.84.179 with SMTP id a19mr9239897wjz.96.1419267519900; Mon, 22 Dec 2014 08:58: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 j2sm24372608wjs.28.2014.12.22.08.58.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Dec 2014 08:58: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 3.19-rc1 v14 8/8] arm: Fix DEBUG_LL for multi-platform kernels (without PL01X) Date: Mon, 22 Dec 2014 16:57:25 +0000 Message-Id: <1419267445-8330-9-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1419267445-8330-1-git-send-email-daniel.thompson@linaro.org> References: <1419267445-8330-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.54 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