Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp163250pxb; Thu, 7 Apr 2022 02:03:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyo+cBtmLniwBU+ReeQN2P6OdnY7zFB0mCoA32Q97aXYm/iwEdwPYwcgrDlannsOygI5oAw X-Received: by 2002:a05:6402:1a33:b0:41c:bfc1:957c with SMTP id be19-20020a0564021a3300b0041cbfc1957cmr13039841edb.354.1649322190919; Thu, 07 Apr 2022 02:03:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649322190; cv=none; d=google.com; s=arc-20160816; b=qvCxxVqg9vToP6d5aZEIAOkiS9fMmVfo4tDpziwoA8i2MFLH6Eo6ZjtT0paEdm4+Fd jGGkVcrxUglvC/OhNjGkrqRbqdzuNGHJyref4pAWAnWIqhhKYoUI8cvgPS2ruyHPk7ii 8v+CSYclNPrPhQXJ1QOBSh+oZZ4Sc1Xabu+JRmawge12n+mziSIqHeEs+ibga6d5mn0g iXMgCgHH1zFn/wfceGyV+RZMSEtvledMD9B7HgNtoDxs8y75a8m0XvQnHrS8PuJ2YAOV /85tU9q5u3TLE/G1qa737kPujzFDMsSSHHyhqHyR7XbCXPPReMk321TL2aX8p862Dcag 80AA== 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=kmp8kInv/wZ/H6mFmIzCYm/741OzkWLml1KlFV0v9cM=; b=sBo6bpE81y3M+gcAwcRXiP3Mge7bVIqNEEpfsHXPQvYYEJ+c8Z3bW04Wr9m/c5q8wi quQdHWJ9mIRr35KaOa3HxD1qZQbnwTEHiupaV/+FJCxrQ+h4TkUyyA27mJbghRqAAYlz MRS9x4reFJAzFs3ZPZ4X1NgBWSmJi8KHcI7MosCf4pPyj6C1ClXfNsrQduw8k8f+dimc IRoprhXT+ZqkTBGRCqhQVLfoRfmq8zsygpeMiIkqInVMlvU7p34sdt3jrIerV/UpemCF 0G9R24KN4VxLIT6NQ/Rxc10ZRRdI9dt2tEqNFN8aoQ4EQuUipJ3mUM6GGThO8siQuLBY oRPw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b9-20020a170906728900b006df76385e40si16016994ejl.736.2022.04.07.02.02.44; Thu, 07 Apr 2022 02:03:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242815AbiDGISV (ORCPT + 99 others); Thu, 7 Apr 2022 04:18:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242882AbiDGIRp (ORCPT ); Thu, 7 Apr 2022 04:17:45 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 22DBD1F6BE0; Thu, 7 Apr 2022 01:15:42 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 9A61F8125; Thu, 7 Apr 2022 08:13:19 +0000 (UTC) Date: Thu, 7 Apr 2022 11:15:40 +0300 From: Tony Lindgren To: Daniel Lezcano Cc: Thomas Gleixner , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Keerthy , Nishanth Menon , Vignesh Raghavendra , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org Subject: Re: [PATCH 2/4] clocksource/drivers/timer-ti-dm: Update defines for am6 for inline functions Message-ID: References: <20220407071006.37031-1-tony@atomide.com> <20220407071006.37031-2-tony@atomide.com> <9671f0a5-6860-8a75-d65e-345ce890cd88@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9671f0a5-6860-8a75-d65e-345ce890cd88@linaro.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Daniel Lezcano [220407 08:01]: > On 07/04/2022 09:10, Tony Lindgren wrote: > > @@ -251,7 +251,8 @@ int omap_dm_timers_active(void); > > * The below are inlined to optimize code size for system timers. Other code > > * should not need these at all. > > */ > > -#if defined(CONFIG_ARCH_OMAP1) || defined(CONFIG_ARCH_OMAP2PLUS) > > +#if defined(CONFIG_ARCH_OMAP1) || defined(CONFIG_ARCH_OMAP2PLUS) || \ > > + defined(CONFIG_ARCH_K3) > > Why not replace the above by CONFIG_OMAP_DM_TIMER ? Hmm that's a good question for why it was not that way earlier. This series changes things for tristate "OMAP dual-mode timer driver" if ARCH_K3 || COMPILE_TEST though. So the inline stubs are still needed for COMPILE_TEST it seems. Regards, Tony