Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4786560rwd; Sun, 4 Jun 2023 12:54:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4/V/OcMVT8IciVXqzDeRw0h0Bbmlq3mqe9YoBiOZo5nw78mUliwFlzNPoe1EM4pKpU6KBZ X-Received: by 2002:a05:6a20:258b:b0:110:f66c:a0e1 with SMTP id k11-20020a056a20258b00b00110f66ca0e1mr5022990pzd.14.1685908474830; Sun, 04 Jun 2023 12:54:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685908474; cv=none; d=google.com; s=arc-20160816; b=iUP2fajUbXPDcKZDA3Y+X8zGMqHpX0atHUKOqsVljX/Fco3L47N7/WMtpH3peDeIjb +8goNBrio79PQGcIIKkrSO2sVEiUYXZNrn7IdOhm6Wn7+pwXzOJYeWb8A1lbNam08g8G 2BSiqsJom9ePqtpfYLx/s12Hwqy/QGxzb/aRweSizoBtgsH59/mFc40RicyVbACZMQQK W/G0i1vRKWq1ExCm5PJfUUP008Hh5MGcnDsjGssz+BgUqkj1Nur2PsvWhpOG3WO0Tp/p Aj+9tQxIA1hJ+c4OJR+/TD+pXpDo72FrpcWjBoe7fTQUqGtjlOK713OhLhw78bCjk9Q3 66ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:cc:to:from :date:references:in-reply-to:message-id:mime-version:user-agent :feedback-id:dkim-signature:dkim-signature; bh=1f89o71I0/MozIPoCuTdNbjZdnj+C1fPZsZzWXqu5bc=; b=yI3c7m69lg2VJn2NouHmc84csNCj3YIIOViLi+YR0FoEd+it0yzbxr2i41CsvbLuzx 0Q5aQCdnkDPJjeRAQ+sMPG8LQY0Dn7Z+Zo/QBPEY93vyuvfKb0WYGe2ilS+Ji4JmEErt n+xTlX/5fBz3P5QQ4gJjReIUnpDTVIuxDNDmpWyR5c2iFnfHjDIv0mZW3ml7BjdSltYm kf5lj0Ks7heermD3rF1ceZgGBy0HBCP/5G+zeNdW1/mum6vq5VSgHOVFgvie2C4gA4S2 fZRfMSCJQLTlSuZ0f8DNFtuwrzQlBYmnXli+exJYvDXflSJzNuvYKIYO1v/5nao47Gm/ hfRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=23i4yDo0; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=PMbP6i8j; 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 y27-20020aa7943b000000b0065987c6ca1dsi943582pfo.29.2023.06.04.12.54.22; Sun, 04 Jun 2023 12:54:34 -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; dkim=pass header.i=@arndb.de header.s=fm1 header.b=23i4yDo0; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=PMbP6i8j; 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 S231723AbjFDTeY (ORCPT + 99 others); Sun, 4 Jun 2023 15:34:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229670AbjFDTeX (ORCPT ); Sun, 4 Jun 2023 15:34:23 -0400 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5054B0 for ; Sun, 4 Jun 2023 12:34:16 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 7BF8B5C0131; Sun, 4 Jun 2023 15:34:13 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Sun, 04 Jun 2023 15:34:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1685907253; x=1685993653; bh=1f89o71I0/MozIPoCuTdNbjZdnj+C1fPZsZ zWXqu5bc=; b=23i4yDo0GQJdS9p5vgMLl2wd3r45VBfdkTaS60vRhQE8aFceVSW UlpUZziPAKnUpOWGNcXq6RoDL8AAfOwBr1X5jcqIDyyC75xNFDkf5h7ZAT5TKlck W99k8lI+3LmgV0iY2gvqIlnLV8PYERg/lAtGAbe6vpkWd76tsmZV190UOeB/PPH7 UqMl5tWX4oqeJcGjwH9UXIV59bjuoUiimC2QR7SpgfefVvSDy6/X8NqWT37q/NhJ NPk3KuGyLEFpZ20yKDXdprxJrb/T33ukxq+yEYN1Z8krcRzoC1aHeQpK4hEafz05 qJeV3yn2orEEOWiWN0f1s4uHpK4pHGPxYYA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1685907253; x=1685993653; bh=1f89o71I0/MozIPoCuTdNbjZdnj+C1fPZsZ zWXqu5bc=; b=PMbP6i8jkIqd2Jm4pQk3Z7X+5tDfHa4kiRkXBOJM8mcNgqYM6QC ZLvrxErE2u3B3l4UfbHrRZfSMTXvRzWdYY3Pvo0KViuXCzOodN6Va1IxAfCvaaWx CqEmLkctob6yFFL5GqnXPaZx9u8pxxF97BHJR9jpfxsgmM0uXr7XdNhXtvRmj60U PiDmCZ55K3ZZrKXWX/T27RTeC33CrRuiSzSls5AzDn4IIkbRkrv+sVJpS+0l6JRA 7xwolww6AeyhWT4RLcUEnmj5EwjgUVrZYSlzwnnYEAv3IDxK8lGmkiXxVQPxDPhi XLVUGFz614Js6L4lI1AX+lkHtk7pAb0h8pQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeeljedgudefkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgfgsehtqhertderreejnecuhfhrohhmpedf tehrnhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrf grthhtvghrnhepgeefjeehvdelvdffieejieejiedvvdfhleeivdelveehjeelteegudek tdfgjeevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id B1C31B60086; Sun, 4 Jun 2023 15:34:12 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-447-ge2460e13b3-fm-20230525.001-ge2460e13 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <20230424123522.18302-1-nikita.shubin@maquefel.me> <20230601053546.9574-10-nikita.shubin@maquefel.me> <44c969a1-8dda-425b-acf3-9a80dfa60e79@app.fastmail.com> Date: Sun, 04 Jun 2023 21:33:52 +0200 From: "Arnd Bergmann" To: "Andy Shevchenko" Cc: "Nikita Shubin" , "Alexander Sverdlin" , "Linus Walleij" , "Daniel Lezcano" , "Thomas Gleixner" , "Michael Peters" , "Kris Bahnsen" , linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 09/43] clocksource: ep93xx: Add driver for Cirrus Logic EP93xx Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_SCC_BODY_TEXT_LINE,T_SPF_TEMPERROR 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 On Sun, Jun 4, 2023, at 21:24, Andy Shevchenko wrote: > On Sun, Jun 4, 2023 at 8:19=E2=80=AFPM Arnd Bergmann w= rote: >> On Sat, Jun 3, 2023, at 22:06, andy.shevchenko@gmail.com wrote: >> > Thu, Jun 01, 2023 at 08:34:00AM +0300, Nikita Shubin kirjoitti: > >> As long as the platform selects it, this is the normal >> way to add a clocksource driver. > > Shall we now require this format of COMPILE_TEST for all new code > (which is selectable)? It's somewhat subsystem specific. For irqchip and clocksource drivers, I think it's already done this way, but these are the ones that expect a platform Kconfig option to select the drivers, which is usually not done for other subsystems. If the driver is not selected by the platform, you usually have config FOO tristate "description" depends on ${PLATFORM} || COMPILE_TEST default ${PLATFORM} which makes it possible to still disable it, or (optionally) hide the option by adding "if COMPILE_TEST && !${PLATFORM}" which I personally find a little too complicated but is appropriate for some drivers that are required for booting. Arnd