From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752741AbdKHW2A (ORCPT ); Wed, 8 Nov 2017 17:28:00 -0500 Received: from muru.com ([72.249.23.125]:47414 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751245AbdKHW17 (ORCPT ); Wed, 8 Nov 2017 17:27:59 -0500 Date: Wed, 8 Nov 2017 14:27:55 -0800 From: Tony Lindgren To: "H. Nikolaus Schaller" Cc: Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org, kernel@pyra-handheld.com, linux-omap@vger.kernel.org Subject: Re: [PATCH] Kernel debugging: omap: print warning if CONFIG_DEBUG_LL is enabled Message-ID: <20171108222755.GW28152@atomide.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * H. Nikolaus Schaller [171108 21:32]: > 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. Hmm the issue is the existing values in .config as Kconfig.debug does default XXX if DEBUG_XXX, right? I think we have this issue in general if you enable DEBUG_LL for a SoC, then enable it for another SoC using the same .config? Regards, Tony