arm64: Correct the stated event stream frequency
PATCH 1/1 arm64: Correct the stated event stream frequency
It should be 10KHz, matching the ARCH_TIMER_EVT_STREAM_PERIOD_US of 100us.
--- Documentation/arm64/elf_hwcaps.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/arm64/elf_hwcaps.rst +1 -1
@@ -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
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 6 lines · Catalin Marinas
It should be 10KHz, matching the
ARCH_TIMER_EVT_STREAM_PERIOD_USof 100us.Fixes 611a7bc74ed2 ("arm64: docs: describe ELF hwcaps")Signed-off-by Catalin Marinas <[email protected]>Cc Mark Rutland <[email protected]>
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:
Mark.
Quoted 9 lines
--- Documentation/arm64/elf_hwcaps.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/arm64/elf_hwcaps.rst +0
-0
Documentation/arm64/elf_hwcaps.rst HWCAP_ASIMD · line 80
Quoted 8 lines
Documentation/arm64/elf_hwcaps.rst +1
-1@@ -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
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Catalin Marinas
AppliedQuoted 2 lines · Catalin Marinas
It should be 10KHz, matching the
ARCH_TIMER_EVT_STREAM_PERIOD_USof 100us.
Applied to arm64 (for-next/core), thanks!
[1/1] arm64: Correct the stated event stream frequency
https://git.kernel.org/arm64/c/5d8505fd039c
Signature · 7 lines
Catalin _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel