Skip to contentSkip to conversation

arm64: Correct the stated event stream frequency

PATCH Applied Catalin Marinas 2 participants 3 messages May 5, 2021 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: Correct the stated event stream frequency

It should be 10KHz, matching the ARCH_TIMER_EVT_STREAM_PERIOD_US of 100us.

Fixes 611a7bc74ed2 ("arm64: docs: describe ELF hwcaps")
Cc Mark Rutland <[email protected]>
---
 Documentation/arm64/elf_hwcaps.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/arm64/elf_hwcaps.rst +1 -1
index 87821662eeb2..ec1a5a63c1d0 100644
@@ -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

Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Catalin Marinas

It should be 10KHz, matching the ARCH_TIMER_EVT_STREAM_PERIOD_US of 100us.

Fixes 611a7bc74ed2 ("arm64: docs: describe ELF hwcaps")
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
index 87821662eeb2..ec1a5a63c1d0 100644

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

author Applied
#2 lore raw
In reply to Catalin Marinas
Quoted 2 lines · Catalin Marinas

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
Signature · 7 lines
Catalin


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel