Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp51483pxh; Thu, 7 Apr 2022 13:41:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysDdWXvlkTo43wpupVi4OL6rOWOKH1LjhEB/LWZkANQlMXCgsCGhT8OuywHGP8/qLgSx1m X-Received: by 2002:a17:90a:8d16:b0:1ca:8aa2:7f8e with SMTP id c22-20020a17090a8d1600b001ca8aa27f8emr17905273pjo.198.1649364092871; Thu, 07 Apr 2022 13:41:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649364092; cv=none; d=google.com; s=arc-20160816; b=k/fYW5YhFW3ffiCXkYmpfQwAsABHtnaVGPts37K+f3LIfEKSKZN5/d1KFzoyDtwh1S Fhzf8L7qkakMmtgcwa3PlwhgxJyLaCGkILyhP4TOivU2lEi11hUNqMl1f2XMPLKUYaQo 1qo4s4iMfabMC+CViKO5yHu38TtLc4Xz9mFu0megWFkKDdpAtvhpKMqPCMqOJXLnSNBL eq1jcIOwdxhkNzLQtMsdKZKLsjSLhsEs6yxNRoVmlSnlomwBZLbYHKftzpYuto3rs43g 3WWGMCZUQ6i+KgkieI2eorn6SE0Ipj/U4CidXLGNzwyhi3A4seW+AunzRSUsRXMAk7/e g/QA== 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=elME2CFNP+OI9Je+jhw60X8Q9qdzsgo+LWcm/erQprE=; b=Khgk6Of6/QAQMbNYJaua0GpB39vUM4QKQGUGgV9KUmmmx/2OgNUpz7Gl5nfXJ9FMHb aYxvfJvwmFmVDlce5ALkpGwIRBNLi5zpQQVJ460RwxLIreG9P35H2J0UUMD20x7Mv5Z5 7q3zfWXo1AiDrYYLnXINoVa7Rby8Ch0cQAQRuxssHKpctrYoEvpfMDBWLMPaN4Bw/rd0 aWyVhmzBOqhx9u7CObF0+EgMSU+aIFvjjRZSA8DxNRYqhygHyKOCRw0IHi0Nz8HUOYpr QUcb6Y4Tb0BnQHyH/PVxI+gNWPV3xEwBHWXTUnqmkOBFesZEYEH7q3hR2q93WzrDE7HZ rOmg== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id c7-20020a630d07000000b003816043ee19si19825494pgl.14.2022.04.07.13.41.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 13:41:32 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3194C3C8243; Thu, 7 Apr 2022 12:52:32 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233346AbiDGIzL (ORCPT + 99 others); Thu, 7 Apr 2022 04:55:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230032AbiDGIzH (ORCPT ); Thu, 7 Apr 2022 04:55:07 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8DC7B60D98; Thu, 7 Apr 2022 01:53:05 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 9DD6C8125; Thu, 7 Apr 2022 08:50:42 +0000 (UTC) Date: Thu, 7 Apr 2022 11:53:03 +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> <7f3cbdf3-401c-6c30-20fa-b5121bd3f63d@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7f3cbdf3-401c-6c30-20fa-b5121bd3f63d@linaro.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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:23]: > On 07/04/2022 10:15, Tony Lindgren wrote: > > * 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. > > But if ARCH_K3 or COMPILE_TEST is set, CONFIG_DM_TIMER is also set, no? Right but I suspect that COMPILE_TEST will produce a build error on other architectures. I need to check that though, maybe that is no longer the case. Regards, Tony