From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A0BDBC433B4 for ; Wed, 5 May 2021 13:44:04 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4D1CE613BA for ; Wed, 5 May 2021 13:44:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4D1CE613BA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=HSC+NUFlrrCL/wFXVVzklczhMZM+escwqHOgrcBWe4o=; b=HtwKM++YNvAzmp1vTkZzL2c1x sv7wK85w1CGVzdj1uYf2/ObT3C4luDO3KjRBOHB+N3a0GT73GrVM1iwPoNzxg5wD5SsBmOyp3OIiY 9bTqDoebH1N3VWuLYg49w7agfVghyj8JC3c/bLy7JjXLxxtteW9HCEftCbQqsAWMwNdEYl73skO/z zfybUm9PQ/JM2BT81isaP6s6/+NNzUqwBQVOrthoZec8hwHmCL194F75tWKSHKWBZCZcI9V7e/MVd aMtQh3nGhUIr/1HWicfNqgvEQA4FVf5sveYT7vvEBoLtEJLAu/5reylQAnnzx3Yflt3cJEXf7Sl8c sIqo/vJpQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1leHmv-001KGD-47; Wed, 05 May 2021 13:42:05 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1leHlz-001K15-6m for linux-arm-kernel@desiato.infradead.org; Wed, 05 May 2021 13:41:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=snpQYA0x4D6VU+mJDjtsyN4IAJ1TuRpBVcfN2B2nUg4=; b=HPpIEGbkfXEO+1VOmaZsOS0Rom iRZzpOXPJUqjC6WqWmr97+QYhcwH2CdHUAclnrCDHgSRTtLimgIQb3j2kcS9pofFdOsppFkTh3u// kIDUaYqlEVUZC7AZysiGZa1H5sB44R00qmNS0bRXzbc35T0FrWcDzP9B/bjrouHrmPR29nl3fuHbl fyDRRXGgMAMiF2qndala0DRs2kkgdIhSxx/l8SIpWQulzOatYY4N8WtTRzcGrnHOuNh8eknfvDWOn S5cWOqLXZGYwf9XcFsUz8aRR5a6D/iG++znOfr5BSo4E/7AKQ4gGeZqM+Znn89zTa4T0fQcvA4voK E3v1erpg==; Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1leHlw-004mn9-Di for linux-arm-kernel@lists.infradead.org; Wed, 05 May 2021 13:41:06 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A0F73ED1; Wed, 5 May 2021 06:40:58 -0700 (PDT) Received: from C02TD0UTHF1T.local (unknown [10.57.28.242]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DDC1A3F718; Wed, 5 May 2021 06:40:57 -0700 (PDT) Date: Wed, 5 May 2021 14:40:52 +0100 From: Mark Rutland To: Catalin Marinas Cc: linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] arm64: Correct the stated event stream frequency Message-ID: <20210505134052.GA5605@C02TD0UTHF1T.local> References: <20210505132845.23698-1-catalin.marinas@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210505132845.23698-1-catalin.marinas@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210505_064104_547983_AC63AE71 X-CRM114-Status: GOOD ( 19.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, May 05, 2021 at 02:28:45PM +0100, Catalin Marinas wrote: > It should be 10KHz, matching the ARCH_TIMER_EVT_STREAM_PERIOD_US of > 100us. > > Fixes: 611a7bc74ed2 ("arm64: docs: describe ELF hwcaps") > Signed-off-by: Catalin Marinas > Cc: Mark Rutland It might be worth being more explicit in the commit message, to make it clear that this is just a documentation bug. e.g. | In 2013 we introduced a (roughly) 10KHz event stream in commit: | | 037f637767a82907 ("drivers: clocksource: add support for ARM architected timer event stream") | | ... but in 2017 when we documented this in commit: | | 611a7bc74ed2dcba ("arm64: docs: describe ELF hwcaps") | | ... we erroneously stated that the frequency was roughly 100KHz. | | This patch corrects the documentation. Either way: Acked-by: Mark Rutland Mark. > --- > Documentation/arm64/elf_hwcaps.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/arm64/elf_hwcaps.rst b/Documentation/arm64/elf_hwcaps.rst > index 87821662eeb2..ec1a5a63c1d0 100644 > --- a/Documentation/arm64/elf_hwcaps.rst > +++ b/Documentation/arm64/elf_hwcaps.rst > @@ -74,7 +74,7 @@ HWCAP_ASIMD > > HWCAP_EVTSTRM > The generic timer is configured to generate events at a frequency of > - approximately 100KHz. > + approximately 10KHz. > > HWCAP_AES > Functionality implied by ID_AA64ISAR0_EL1.AES == 0b0001. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel