Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4710356rwd; Sun, 4 Jun 2023 10:58:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ73SJSTiAG1fLSkHskGnzfCBYY1qRp+V49S6zuNAslyL9IIb0V7Qrz/JMLLg3Dre7p0itXw X-Received: by 2002:a05:6a20:8e04:b0:102:5e06:1544 with SMTP id y4-20020a056a208e0400b001025e061544mr4210694pzj.30.1685901480119; Sun, 04 Jun 2023 10:58:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685901480; cv=none; d=google.com; s=arc-20160816; b=FMEja/v+IEYwtq/RgYcmwj4z05uU16Bk9T3Fhx5hFgPXXZHXU3w5NMmONc64Fpbulz m6BvRcsO8zHXbaqCymIPBj+mB37J1wF6wDKDfcVYhlBk3vyUKMoHENUQTZm1oliUn1hn xUW5lPCTtByylBCPYSHFIrD25Kli9h8REmCioyUTEzde3MREohr4cu9nae8Iw+DIYkOb MBjIyVoI3W41v0NU+8IouN842egttOk3jRWiDl6nYSOmq1Q2ZmVLjKzaOpg7KmvDIB2I nl7NS4Flfui5a5op+0OWDy7i4+WBked+xKK+Zod1qjY03ppwZA/gUDLWV6/PqWjXZwXO QDdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=wSOEKEurWAF+VcZsiiHB+3LhvZ5bUw8O1z/roOZuKHE=; b=VETrR0gB6agiyhYl8aXYSZsNaXDm31v++EmVykHaLXR0ld5BSoBz+C9BnN2gJdpk34 CnDyqdrN33XZKV15dPHy++/b5RwzkKftHKk2JnR7kk8w7/9XQxXY5Kjpx5fr44niMASr INH7UmR22JZ8p5XINzI7d8E9lMK0fCcMa/wgez5OD6yN2UdtK6YzOWf4qB0U7jxrdSIh DWlMdYNIYmWq1GrBB1Ek9TMkJFWcT5tSP2IGqzbvmczYKoZm43dkFF2B6X/kBMNbQprn wawHZuvb7MYFWLVgpfjRYkCj3pAygoxYawYynHAx97SG71KGkKFid74Euz/87fGL1BQT V6RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=dqtTpx6+; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=ddeGSA5R; 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 m1-20020a625801000000b0063286f81d35si4036640pfb.262.2023.06.04.10.57.44; Sun, 04 Jun 2023 10:58:00 -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=dqtTpx6+; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=ddeGSA5R; 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 S232193AbjFDRT4 (ORCPT + 99 others); Sun, 4 Jun 2023 13:19:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229635AbjFDRTz (ORCPT ); Sun, 4 Jun 2023 13:19:55 -0400 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 402A7D3 for ; Sun, 4 Jun 2023 10:19:48 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 5E3FD320090B; Sun, 4 Jun 2023 13:19:44 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Sun, 04 Jun 2023 13:19:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc: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=1685899183; x=1685985583; bh=wS OEKEurWAF+VcZsiiHB+3LhvZ5bUw8O1z/roOZuKHE=; b=dqtTpx6+WgkKZ8Jima 8A5b48rRsD/cTDKekar08ZRznEP6n1GwtVDfWPG0Ycv+6rx3XI10v4+U0VyY9Uu9 DZ/UJqtqh/uvsFjnUk11H4Y3IQDNp1ClbwekHHgSHmjG9f6uXH119Jz6BMMPUV3S 3AwrAWT/slmwsd2PRU0E0hJEyIcd101DcNmK2lP81cDFQ73dflSVlFWrO1VOjeFk 2Qlgo9o52GZBTU4K2ul6PAUxVBLbuQQqjWhXhbqTcx3VCyzNH3Qf+loaarJbgPix zMbJq7gjEZJCSj9FH6nAzULtxeEX8RTdLhB5WrTLduTdX6bQCEDNPjTQT0Gr/NkX HPcA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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=1685899183; x=1685985583; bh=wSOEKEurWAF+V cZsiiHB+3LhvZ5bUw8O1z/roOZuKHE=; b=ddeGSA5R5RmWO8z19FXXzrDZ10iXG PI6IdRcU6nCMWLa0kLaUF/Ol2Ty+qNpSY14+mqphu0pah87TXt+nYp9G6VWn7tuP JRt6eLyIvoFmkhD5tarjcEM0T0/SMxD+/maVX0dyBIodxAlKs3mvay0ZbY65G+YY vuMWnOMfTL7ayey349+/gVUvhkaMiCReV654avuztH2n7vGb4p5lsENV14Sq5ogl FulL0QtV7LU3h0zk+C0vRjTzkSOB05zF1htwxIFZIk4TTTxjLF0WJhOOEoydcAJH 53CxCVb/QTZ1CYdEalSOY4DGQfEUf4FMkXSjHF7q0ilpriE7YVL6Y0Ibg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeeljedgudduudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrg htthgvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedt keetffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grrhhnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 3189BB60086; Sun, 4 Jun 2023 13:19:43 -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: <44c969a1-8dda-425b-acf3-9a80dfa60e79@app.fastmail.com> In-Reply-To: References: <20230424123522.18302-1-nikita.shubin@maquefel.me> <20230601053546.9574-10-nikita.shubin@maquefel.me> Date: Sun, 04 Jun 2023 19:19:22 +0200 From: "Arnd Bergmann" To: "Andy Shevchenko" , "Nikita Shubin" Cc: "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 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,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 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. As long as the platform selects it, this is the normal way to add a clocksource driver. Arnd