Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4786557rwd; Sun, 4 Jun 2023 12:54:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Ol9/wdjVSmuZcmNixN+DpMtRiTHWdBsVkB8gELwO/SYON5V6j/tWRnMFoSatVkBV4KMhK X-Received: by 2002:a25:d051:0:b0:ba8:4b48:1de0 with SMTP id h78-20020a25d051000000b00ba84b481de0mr13257879ybg.47.1685908474789; 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=HLErgMjDFIVe2JU2N/W6n/NPBkQYAWNY/tFoPJ9DTtvX+rSV541oSp0vkXMzhmiMQe ZvmYxz0cZ5/Yv4+EfhZlaPGyUgZNdknD5FigFyLi3GF0nq9r54Kja45oM8GSjJtP/fJ5 Q31ZIVhk+100oAubBzpfpPPy2m6EKd3y/bnWCOs8uM797nqBd0aqNRcwPu5YLoiZ+6SA q63Pl0isA5HVdpaJ1Wg0lqbJ25K7Aglm9uT8F0VUF/wCoLiBQZ/Ym4agvtMbkv2mIdqn vyiUlDHeN9X+jmsxQ0vQePd52XlJKiNuon1ZwzoCGtwq+5QlUI/jljpZp+T05YuyTXMR fLfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=MwNKZVctXPizN8iBxMBmg4YxNthyD5P5FXyKM458G2M=; b=b1ht7Ut0bIHdNiMGD8zOkOU0j930ZP/P8WgzXiEL6PKYz/Olu5zur/ly0dHY8qPtCR 6j5Kyud+apppZ4VQzS2KXL1tCeXikJo8APIeKg9JyuawEZiWnF4AH7xX2FYshHtCIIOW 2leuutXMmGkNXcMDSYOAkZwrkLEpRCFwwaXJay5iSoerAyAaLCnhLObm3liO/NdoQlpT 9TlVZrPxYlKjEPniYq2TqinvHvMPBqt0WjBokiHJuUbUdjEl8h1YROc4uIqYuGUg+TB+ F711+NKOZMCq5ZSLuTJp1vPm2l+Se3TRqJNZ0+SbvluwSZVnWIQ78K+ATqSi/vkuDmrg TExA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=qWk6mdnK; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q4-20020a170902dac400b001b02722139asi4484103plx.494.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=@gmail.com header.s=20221208 header.b=qWk6mdnK; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232345AbjFDTZg (ORCPT + 99 others); Sun, 4 Jun 2023 15:25:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231478AbjFDTZe (ORCPT ); Sun, 4 Jun 2023 15:25:34 -0400 Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D14FB0 for ; Sun, 4 Jun 2023 12:25:32 -0700 (PDT) Received: by mail-qk1-x734.google.com with SMTP id af79cd13be357-75d4dd6f012so151424885a.2 for ; Sun, 04 Jun 2023 12:25:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685906731; x=1688498731; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=MwNKZVctXPizN8iBxMBmg4YxNthyD5P5FXyKM458G2M=; b=qWk6mdnKWwcCEerxqvccSDqYhVpgED8SjJnC5g/4acFJjSp2DCDmVG+D6ly3XIJkur 9vNv8kfK3iPIdR/LZycOdJO4zy+Tqef0uKhSrYc2lpS8EDTTE5RsrVld3ulshYwsrzq3 E2bFAKjIavhNiH6TC0GHv3Sx3XPAz32ZgxKyxa3e7lKbD1Zb4oavbFz5Txo4LtX5Gcbh tTXGx0giuent+blha2mb9bj9RJ4dnYg7vfnus49i6X8LY+h67txiiI9c8jBvYqTw8j7v VaPUQqFdjl6jA7ZHfuQfbVpLmV7Wv5hihn4/PjymaQ8pOdZTvRgnDECHiBUT8bt5VKnk i82g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685906731; x=1688498731; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MwNKZVctXPizN8iBxMBmg4YxNthyD5P5FXyKM458G2M=; b=aq/Hha5p/vkSkloo91K9dT51oB/qB0Eg7nPT3dSzIaL+W8IUUlTpgCj3y6ju8fAbLJ 0KfUdlXdg6Ilkp2JwCGLClCmDWCdNXaxJrkbpOrYA3xiHHqMLxa07D6oK4ye3eQimsvz JwQA7+k1MEsKr4/rUvfI2dD2qvMRE7HZk+US/3+wAUYcy24J+o1Vav8uNkqWvq71W0d7 XqohsHVb4DCxCl2qBpJDkJXuaoK8U5nndbLUOypfBGx1u2N3V9Xy2mRa94HhFIB000yo wijeyzGvwwV7WKVF/lVYUY9txppzAMT2YaWN3kRvVdEVfmTjSfFwzIw0JO1J9ep/Ox3E Pbqw== X-Gm-Message-State: AC+VfDwd1snU7IUObfBOYY7AA/og8slNaL1iKoS82zmJLJg+eMC4geBt r2HpmZFAwy4kf/GwOpnzaEVwviPxrgzY5g0BuVs= X-Received: by 2002:a37:a813:0:b0:75c:b919:b4e5 with SMTP id r19-20020a37a813000000b0075cb919b4e5mr18649567qke.32.1685906731527; Sun, 04 Jun 2023 12:25:31 -0700 (PDT) MIME-Version: 1.0 References: <20230424123522.18302-1-nikita.shubin@maquefel.me> <20230601053546.9574-10-nikita.shubin@maquefel.me> <44c969a1-8dda-425b-acf3-9a80dfa60e79@app.fastmail.com> In-Reply-To: <44c969a1-8dda-425b-acf3-9a80dfa60e79@app.fastmail.com> From: Andy Shevchenko Date: Sun, 4 Jun 2023 22:24:55 +0300 Message-ID: Subject: Re: [PATCH v1 09/43] clocksource: ep93xx: Add driver for Cirrus Logic EP93xx To: Arnd Bergmann Cc: Nikita Shubin , Alexander Sverdlin , Linus Walleij , Daniel Lezcano , Thomas Gleixner , Michael Peters , Kris Bahnsen , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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 On Sun, Jun 4, 2023 at 8:19=E2=80=AFPM Arnd Bergmann wrote: > 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: > >> This us a rewrite of EP93xx timer driver in > >> arch/arm/mach-ep93xx/timer-ep93xx.c trying to do everything > >> the device tree way: > >> > >> - Make every IO-access relative to a base address and dynamic > >> so we can do a dynamic ioremap and get going. > >> - Find register range and interrupt from the device tree. > > > > ... > > > >> +config EP93XX_TIMER > >> + bool "Cirrus Logic ep93xx timer driver" if COMPILE_TEST > > > > This is strange. What do you gain with this "if COMPILE_TEST"? > > This ensures the driver is compiled in an x86 allmodconfig, > like most other clocksource drivers, but it's hidden on > all other configs without EP93xx support. This is cool! > 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)? --=20 With Best Regards, Andy Shevchenko