Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp600217pxb; Thu, 21 Oct 2021 06:02:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8AVto7vhpNH7ytSW8kYeKGaHkDOZ1LaU6QEdO2+6TiDuUEOM7+pyuz3MMlFRccv8IkV6c X-Received: by 2002:a63:5b09:: with SMTP id p9mr4299898pgb.321.1634821327834; Thu, 21 Oct 2021 06:02:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634821327; cv=none; d=google.com; s=arc-20160816; b=TndEp1ViMlyy69sLdQSlBIsX4ZSukL9FKPXKubUxGMSfyTXo6ThPInlZTZG2JUKtfJ P9FZ425t8ku1tzVDsJNnRionxnu54Pj9hjUga+kWKWoiFvAB63ZZZeooth55xmcLnaMp 48MlTaTWCaX+7cPD86szo61QAGSnrMwBzznRwYJK2w0SQ2cTmtH3ymEI+yH+7Vwqq94B 0pqKBqV034GTsOy/tg5yIR8m8b5sqTLdtF2IiCSHrpE1kkPVOMYBFAHid10OjNjERU0Q t4o6JtU9czHyP8tDYutxcVTKojLSQ3JgrG9gZZRo/To9HF96nOsua2/Xu/AtL516eM/S R2RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=qna/ZPW7ARlqiSCsCTvZqmHqiWBK6nnQT+a94GOace8=; b=q39rUsJUO/KSfBBVMhmR01gHxh/HzbxBgu0jf+i7BurIPHkzaOsO+y3wZLOh6/Oev7 mPDoHsWxU6lHce5CENIaYV7kRAyPFBWoHS9ogueOyzEJECr8IyLtm0GlaykvEkMA0lWc B1d2viU3jCagW5v1w/kUcqw4kSK2T77NwnelMnljtwH6jiP6IPUd9JBK1lhZMr4q6TqN IIPD+K9AQ0ZlzMs01dNUFCBnRuxDHP5xdMrjhWtffzmPhWWXAraB+ZdUO/S60OCLONYo Ecw96NtldSQkM0EkmdTq0R16T6BBM1xpDiog6TkBmwzrJpNcL7ni+opRCbccyf9k50pp 5f9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r144si4601473pgr.546.2021.10.21.06.01.49; Thu, 21 Oct 2021 06:02:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231309AbhJUNBQ (ORCPT + 99 others); Thu, 21 Oct 2021 09:01:16 -0400 Received: from muru.com ([72.249.23.125]:47024 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230463AbhJUNBO (ORCPT ); Thu, 21 Oct 2021 09:01:14 -0400 Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 5524380EB; Thu, 21 Oct 2021 12:59:31 +0000 (UTC) Date: Thu, 21 Oct 2021 15:58:56 +0300 From: Tony Lindgren To: Lukas Bulwahn Cc: linux-arm-kernel@lists.infradead.org, Russell King , Linux Kernel Mailing List , linux-omap@vger.kernel.org Subject: Re: Non-existing config symbols DEBUG_OMAP{3,4,5}UART{1,2} Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, * Lukas Bulwahn [211011 05:39]: > Dear Tony, > > With commit d2b310b0234c ("ARM: debug: Use generic 8250 debug_ll for > omap2 and omap3/4/5 common uarts"), you added address definitions of > DEBUG_UART_PHYS for OMAP2, OMAP3, OMAP4 and OMAP5 in > ./arch/arm/Kconfig.debug. > > These definitions depend on: > - DEBUG_OMAP2UART1 || DEBUG_OMAP3UART1 || DEBUG_OMAP4UART1 || > DEBUG_OMAP5UART1, and > - DEBUG_OMAP2UART2 || DEBUG_OMAP3UART2 || DEBUG_OMAP4UART2 || > DEBUG_OMAP5UART2. > > As of now, only DEBUG_OMAP2UART{1,2} are defined in > ./arch/arm/Kconfig.debug, but DEBUG_OMAP{3,4,5}UART{1,2} are not > defined. Hence, ./scripts/checkkconfigsymbols.py warns here on > non-existing symbols. > > I am unsure about the best way to resolve this issue. > > - Would you like to simply reuse the config DEBUG_OMAP2UART{1,2} also > for OMAP3, OMAP4 and OMAP5? Then, we probably just need to delete the > dead references > to DEBUG_OMAP{3,4,5}UART{1,2}. If you consider this further change > helpful, we could even rename the configs to DEBUG_OMAP2PLUSUART{1,2} > to make the architecture more specific. > > - Do you see the need for separate config definitions for UART{1,2} on > OMAP3, OMAP4 and OMAP5? Then, we would need to add further definitions > DEBUG_OMAP{3,4,5}UART{1,2} > in this file and link those to the specific architecture. > > Once the direction is clear, I am happy to provide a patch to address > this issue or you can quickly take care of this yourself. The missing ones should be the same as the DEBUG_OMAP2 I think. We still have these defined in arch/arm/mach-omap2/include/mach/serial.h, so that can be used to confirm it. Seems like we can just reuse the DEBUG_OMAP2UART variants, not sure if we need to rename these to DEBUG_OMAP2PLUSUART variants. Regards, Tony