Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp51264pxh; Thu, 7 Apr 2022 13:41:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw20GI9fDc3dFPG3/fZK3kIVNXYifIslzwa05dnJdJEUZaHYNGN8Cf8htzXneNipbCn/i2O X-Received: by 2002:a05:6a00:2442:b0:4fd:8b00:d2f with SMTP id d2-20020a056a00244200b004fd8b000d2fmr16034967pfj.39.1649364070576; Thu, 07 Apr 2022 13:41:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649364070; cv=none; d=google.com; s=arc-20160816; b=huUFJw++tgGxmaGvWtzGE2twMckimyxkPGL5OxGSaHRGFoEVSxdjpD8dwR/8XdTthf FA30MRU6VJZt0l+lphAjBLFFbsGaJHpS9FHL8faQqZ2W3mKnfF1hEhA0VfGZWtNkSEiK WxwZQIUKtZHxMva3wc4gDvKiBOOQxONVL8gx4GxrCmTjPfZf+P6Mm1ashNnoEUFs+l0w nW89AHz058zEuKo6eyGvWkHqi0LwB5zx6lIE6ypR1IZGpOzaMrNU/f3/LGl64g3xR3To R47mB934ViefjjogEnqR2ghkntQD+YphurN69esTqZxPpqqhXi/cXindcXcR8uZKB3t+ 4U+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=IbaM44rkmlTT1gjmeeX72ZcY1dxEtnD4IBMb0LHC26k=; b=C+xnBTQeZ+PuS59gJjJgNUHzpae1ZW+uuGdHawKothGB28ASDRrVVWuLZs7TGHZhOT cDUGyGngTo0gRhIu1nCULEhbC4qiG67qYl2QpkboETBqFTg7iDv05FqrV9gwUrzmQdMU LU2vudEZ8vNHctyWlBVimMyNa9kOR4BdR06UeqgCxYQ4YrNR5R17Lqk2WKd/DcWFWkE/ ZqjS0NeZoKWwS9Afs/Tg/thfie79kh7DFnQCaK/a6ED1Y2uaUvU6n5OXJ4ksOT65dowx MHD2Hjv6qcD2Ecv+mhZHTfZDtMm2+iB7hbAd+EFRcK1j9CpZO7D8lUs686cb1niq1nI2 uXRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="BotwSCb/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id p30-20020a635b1e000000b003816043f0a7si20004843pgb.668.2022.04.07.13.41.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 13:41:10 -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; dkim=pass header.i=@linaro.org header.s=google header.b="BotwSCb/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D56BC3C1F46; Thu, 7 Apr 2022 12:51:44 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242964AbiDGI2X (ORCPT + 99 others); Thu, 7 Apr 2022 04:28:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243118AbiDGI2J (ORCPT ); Thu, 7 Apr 2022 04:28:09 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB158689B5 for ; Thu, 7 Apr 2022 01:26:09 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id q20so3019752wmq.1 for ; Thu, 07 Apr 2022 01:26:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=IbaM44rkmlTT1gjmeeX72ZcY1dxEtnD4IBMb0LHC26k=; b=BotwSCb/esafXxXtBOsTKs84X3EnnDPMT/i15+fH2fbwDSiwhBXqJTP869eaLt9dQ1 xgi/yBkHdsqcJWuN/0DARt8nyzMmrfB1Qx5QhU/fY4ObapY6Ba2Q9hscSVkx8Crx5LA4 AhWuAW0fA1O6Cfk7aBMwAHcy6XD7bKXqoQlt/OCi+b0cJZwJsFamIn7Nu446CM2MeQSE Swg6ltwBkHySKF88rnQG66wiSLi0XIFhFN9gB8BOD1cl8KoUdqkl1YnXPeQIZITB9XgL aDR252/M3vWF7OnxBrDgh7+q/SIVTa1lR/xE/d8Nuhr7bqa1jQMuHia3AZIXzMXMGB5b vBTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=IbaM44rkmlTT1gjmeeX72ZcY1dxEtnD4IBMb0LHC26k=; b=WivZtv2ES2WoqDfG8M9CwR0Fh7DTElFf3D4DB6Hv9ghDoDl07YFUuwVz5o2Zpu7VRD +WvYoAnEuOWqag3BI/JTOuMV/iPJS1DDMJifAZOuq0ZGz8s6o4JSbNsjnl6Fk3p/ocwH 3OXPXUL4JqxC4TEDztVOpkEuRyFRHYlVmGBEpm/8OmSJBWc2pc5nrx3AVf3zRH0/QclT AtAsVpmEC3NjTY/sgsREp3N7XPxxFvu5flj9VSXet1LyIRMNWsYsiM1ofDbNduZcNWNU 0kazEeOz5cd6tv2A/kBfw/l/f7H7S4RVwus5a1V2VAHdl2YKlEgzuQ3ieRppcb7Sp2Ez uUaA== X-Gm-Message-State: AOAM531bJjCP+yh9N7Isyfuyz98wuavmYGGA3cUCLT14/KY7upW6pwtp R6JOwjZSbnDCrHmEoFy3NqBaSg== X-Received: by 2002:a05:600c:a03:b0:38c:f953:ae13 with SMTP id z3-20020a05600c0a0300b0038cf953ae13mr10929867wmp.99.1649319968301; Thu, 07 Apr 2022 01:26:08 -0700 (PDT) Received: from ?IPV6:2a01:e34:ed2f:f020:f2a2:7d81:4e67:6c1c? ([2a01:e34:ed2f:f020:f2a2:7d81:4e67:6c1c]) by smtp.googlemail.com with ESMTPSA id n37-20020a05600c3ba500b0038cc9d6ff5bsm7018898wms.4.2022.04.07.01.26.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Apr 2022 01:26:07 -0700 (PDT) Message-ID: <7f3cbdf3-401c-6c30-20fa-b5121bd3f63d@linaro.org> Date: Thu, 7 Apr 2022 10:26:06 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH 2/4] clocksource/drivers/timer-ti-dm: Update defines for am6 for inline functions Content-Language: en-US To: Tony Lindgren 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 References: <20220407071006.37031-1-tony@atomide.com> <20220407071006.37031-2-tony@atomide.com> <9671f0a5-6860-8a75-d65e-345ce890cd88@linaro.org> From: Daniel Lezcano In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 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? -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog