* [PATCH] arm64: Correct the stated event stream frequency
@ 2021-05-05 13:28 Catalin Marinas
2021-05-05 13:40 ` Mark Rutland
2021-05-05 17:42 ` Catalin Marinas
0 siblings, 2 replies; 3+ messages in thread
From: Catalin Marinas @ 2021-05-05 13:28 UTC (permalink / raw)
To: linux-arm-kernel; +Cc: Mark Rutland
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 <catalin.marinas@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: Correct the stated event stream frequency
2021-05-05 13:28 [PATCH] arm64: Correct the stated event stream frequency Catalin Marinas
@ 2021-05-05 13:40 ` Mark Rutland
2021-05-05 17:42 ` Catalin Marinas
1 sibling, 0 replies; 3+ messages in thread
From: Mark Rutland @ 2021-05-05 13:40 UTC (permalink / raw)
To: Catalin Marinas; +Cc: linux-arm-kernel
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 <catalin.marinas@arm.com>
> Cc: Mark Rutland <mark.rutland@arm.com>
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.rutland@arm.com>
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: Correct the stated event stream frequency
2021-05-05 13:28 [PATCH] arm64: Correct the stated event stream frequency Catalin Marinas
2021-05-05 13:40 ` Mark Rutland
@ 2021-05-05 17:42 ` Catalin Marinas
1 sibling, 0 replies; 3+ messages in thread
From: Catalin Marinas @ 2021-05-05 17:42 UTC (permalink / raw)
To: Catalin Marinas, linux-arm-kernel; +Cc: Will Deacon, Mark Rutland
On Wed, 5 May 2021 14:28:45 +0100, Catalin Marinas wrote:
> It should be 10KHz, matching the ARCH_TIMER_EVT_STREAM_PERIOD_US of
> 100us.
Applied to arm64 (for-next/core), thanks!
[1/1] arm64: Correct the stated event stream frequency
https://git.kernel.org/arm64/c/5d8505fd039c
--
Catalin
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-05-05 17:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-05 13:28 [PATCH] arm64: Correct the stated event stream frequency Catalin Marinas
2021-05-05 13:40 ` Mark Rutland
2021-05-05 17:42 ` Catalin Marinas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).