From patchwork Wed Nov 8 21:29:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H. Nikolaus Schaller" X-Patchwork-Id: 10049517 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A96DA603FA for ; Wed, 8 Nov 2017 21:30:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9B02A2978D for ; Wed, 8 Nov 2017 21:30:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8FBA9297C3; Wed, 8 Nov 2017 21:30:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2A5C62978D for ; Wed, 8 Nov 2017 21:30:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=dPeKR4KhRaHS6RnYYZ3at6D/cKdJjXgjyvL7Si0AQXo=; b=jRi Zhz+QRgqA0UsC9P53LO6YjGPd4OF3yRxDWsFRjDkcaA6oE8RBGqaTyRZ7wE+qJRVsZxaXzFdgcPFX VVdoafL3cg4W0oVEAmm9lm8l581uZ2hMOWS3L7aq3Ep1HDxpyb0Ki8JmSnqlWpHN1nqM820pN0g6K tYcTOT9eakqxNGCUOEADVR3cP+cQutszGuSWawQRFa/SDI3rMHVQ068Tu6LY5vySG8mp/6PL9ilIB 0nCNZfbyJ+sF2W77sHY+1HLj4/Df43lG0DwyjplGxn3FXBdXepmHCRs6ENxtE3ohcrt1m+9/6KorX Dq0SA+bQr8of5B1S5UxK6fhT1rljgKA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eCXvV-0006AQ-Lf; Wed, 08 Nov 2017 21:30:25 +0000 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::12]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eCXvS-0004Nm-2L for linux-arm-kernel@lists.infradead.org; Wed, 08 Nov 2017 21:30:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1510176599; s=domk; d=goldelico.com; h=Date:Subject:Cc:To:From; bh=8juKdaO0yUI6rkPoaNuNopMJP8lkIyCMLELiF+wltbU=; b=TIl7BVokog66KFY34li+sauMC1xduyvrd8702LGYZFajcxiuRZ73YzNwFCzyExx9i1 ElKPKS7J30mmY58CetyAacm63cIEHtrlq1/HQ64VRknW7SFJverO+mvo1pIF857kSQPI pa2QaJG7WClJmhANDxtnw7G6jgga7mpvea/5c= X-RZG-AUTH: :JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj4Qpw87WiuNN2Ez+Y X-RZG-CLASS-ID: mo00 Received: from localhost.localdomain (p57AE00E7.dip0.t-ipconnect.de [87.174.0.231]) by smtp.strato.de (RZmta 42.9 DYNA|AUTH) with ESMTPSA id f05bb6tA8LTtQpF (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Wed, 8 Nov 2017 22:29:55 +0100 (CET) From: "H. Nikolaus Schaller" To: Russell King , Tony Lindgren , "H. Nikolaus Schaller" Subject: [PATCH] Kernel debugging: omap: print warning if CONFIG_DEBUG_LL is enabled Date: Wed, 8 Nov 2017 22:29:54 +0100 Message-Id: X-Mailer: git-send-email 2.12.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171108_133022_299382_7ED36917 X-CRM114-Status: UNSURE ( 8.22 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: letux-kernel@openphoenux.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@pyra-handheld.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP commit d2b310b0234c ("ARM: debug: Use generic 8250 debug_ll for omap2 and omap3/4/5 common uarts") commit fc23beb8a577 ("ARM: debug: Use generic 8250 debug_ll for omap3/4/5") switched to generic 8250 debug_ll code which seems to be incompatible with at least OMAP5 boards (OMAP5EVM, Pyra) if CONFIG_DEBUG_LL is still enabled in some legacy defconfig. Since this is very hard to relate to these patches and difficult to identify, let's have the compiler emit a warning. Signed-off-by: H. Nikolaus Schaller --- arch/arm/include/debug/omap2plus.S | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/debug/omap2plus.S b/arch/arm/include/debug/omap2plus.S index 192a7583999c..3e7ea21cde2a 100644 --- a/arch/arm/include/debug/omap2plus.S +++ b/arch/arm/include/debug/omap2plus.S @@ -12,6 +12,10 @@ #include +#if defined(CONFIG_DEBUG_LL) +#warning Please disable CONFIG_DEBUG_LL and enable CONFIG_SERIAL_EARLYCON or OMAP5 devices will not boot +#endif + /* External port on Zoom2/3 */ #define ZOOM_UART_BASE 0x10000000 #define ZOOM_UART_VIRT 0xfa400000