Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 87A5BC433F5 for ; Sun, 10 Apr 2022 15:28:30 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 672AA829FF; Sun, 10 Apr 2022 17:28:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="Xj9d53Sg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0450C829FF; Sun, 10 Apr 2022 17:28:27 +0200 (CEST) Received: from mail-qv1-xf2d.google.com (mail-qv1-xf2d.google.com [IPv6:2607:f8b0:4864:20::f2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 51D1981119 for ; Sun, 10 Apr 2022 17:28:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf2d.google.com with SMTP id b17so11411900qvf.12 for ; Sun, 10 Apr 2022 08:28:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=8Bosr8Cx0eHq4D8ZHv87HMJU7aCHWVNZrBm5zGlpd1A=; b=Xj9d53Sg6wViZgFhRkBG9ZuIuWIqoWCFnVgc8aPMu8DoDSWlFhNu5MYVcJYOpdArwk GwyNqT2YOdPHwTifRh4B5/ojlHupnuUDhXGB8vpebJMM4Cx+yfzDJ0iJY8S6yvRhL/yt v9Gt9B36RbOBOOpSmhX3RWT79Lo+rZqt0Iq7Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=8Bosr8Cx0eHq4D8ZHv87HMJU7aCHWVNZrBm5zGlpd1A=; b=NmEulOi3njVveqm9vEsTAAIZNk71mwafnYlv92heaGxsPoJgZetJBwYjClvhQhwDSp ZFemFC/9y5bwnqJgCKQ+vAdRYUwB83Bv0yc6Gl9itfoE1hz72k+1ehOq/cX6vZaXmkM4 r/h7imXn9S5N2uPamjZJWwBtEQK9aisjphUISgT+RtEuP23jBrpRnpIi9t14nMaA0h0C kvUKKTvw5tS8J8A+LAz2aEGsNafG7tDOWpf1NVWaZ9BQSa6Kbxld+sq9Jw3x2zAQKEa4 VLHJsOCfWdNEE1vhgNKCPGT2/qGpS/QjwqYzsj0b2VdC+BeVJWDiPe3MJC/42cpPSd91 9xJw== X-Gm-Message-State: AOAM5305fdM4jgNDIybF6rO2DDDKYvWzPbO8uTt2DrGsVnCtcPbaAFY0 IddNb6gKCghyXe3pULb3Q8AlWA== X-Google-Smtp-Source: ABdhPJyPlMZZoAwfqIpfnqWjz3tgI9PYl6+BD1W7mRUe6gTI+u9JGNkCv4mRjWhOxtYadb5uDte1JQ== X-Received: by 2002:ad4:5ba3:0:b0:441:32c:767b with SMTP id 3-20020ad45ba3000000b00441032c767bmr23179057qvq.9.1649604503008; Sun, 10 Apr 2022 08:28:23 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id e7-20020ac85987000000b002e1b7fa2201sm23106997qte.56.2022.04.10.08.28.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Apr 2022 08:28:22 -0700 (PDT) Date: Sun, 10 Apr 2022 11:28:19 -0400 From: Tom Rini To: "Peng Fan (OSS)" Cc: Bharat Gooty , Rayagonda Kokatanur , Michal Simek , u-boot@lists.denx.de, Peng Fan Subject: Re: [PATCH V2 2/6] arch: arm: move COUNTER_FREQUENCY from versal to arm Message-ID: <20220410152819.GT14282@bill-the-cat> References: <20220410083202.18979-1-peng.fan@oss.nxp.com> <20220410083202.18979-3-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="u08a77unfWDSo9q0" Content-Disposition: inline In-Reply-To: <20220410083202.18979-3-peng.fan@oss.nxp.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean --u08a77unfWDSo9q0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 10, 2022 at 04:31:57PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan >=20 > Make COUNTER_FREQUENCY usable to armv8 and armv7-a, not limited to > versal. >=20 > Signed-off-by: Peng Fan > --- > arch/arm/Kconfig | 7 +++++++ > arch/arm/mach-versal/Kconfig | 6 ------ > 2 files changed, 7 insertions(+), 6 deletions(-) >=20 > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index 6771f14b1059..d84c10d732e5 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -19,6 +19,13 @@ config ARM64_CRC32 > not be present on all ARMv8.0, but is always present on ARMv8.1 and > newer. > =20 > +config COUNTER_FREQUENCY > + int "Timer clock frequency" > + depends on ARM64 || CPU_V7A > + default 0 > + help > + Setup time clock frequency for certain platform We need to expand this help text more to note what it is for, and when zero is a valid value. Thanks. --=20 Tom --u08a77unfWDSo9q0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmJS95MACgkQFHw5/5Y0 tywA+wv+N8ccJUnl/lC0sd0SrYXH1LR22D3UxRnAFZV0eoCVPXi6d+ENTWui5ycK oqwb3bvqhiFjhpxCDANRzUlpjyy+mrx/Gr+fDvWB2QhrSkaLjV0tfLoxK01xEpDd xDHnvaETQ3AUjo0edXVHApSc7agTBXrNY/iqMn5hqprmk2/fgjojD07pheoZnVUl /mgL2rRqhWPpbQ0GOk+WB2StTxXNuKc9wUsLDJyt/3pMEM8U7ZifyQzExyp2avDq 7TCVD6D3F/N7hPzxDJTXs6iJq947SqdQMtRnCDvGmc+2BlSbhUzW1ji9EoGJPq4Q V0MlN71xYrJiXikEhj9zxnXhzEWnJWQxH6tfpIaTbAJyDT0T4sh9gc68AErhYH4a EK+ExfRK8Y28E8M6IyRQNkNOakCFpnSGqnuKDrnLr91+jDHX+W+wRiOCihrDusjn n07ZoheDjIzR+r2w+PFHhDPsW9WzUgpVINCGZ+RZZX7QdCRzLvEwfyK1t8h8lnPn TteH8YKA =p2rt -----END PGP SIGNATURE----- --u08a77unfWDSo9q0--