Thread (9 messages) 9 messages, 3 authors, 2017-09-01

Re: [RESEND PATCH] arm64: arch_timer: Workaround for Cortex-A73 erratum 858921

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2017-08-30 06:03:49

On Wed, Aug 30, 2017 at 01:06:09PM +0800, Leo Yan wrote:
commit fa8d815fac96e7c9247783d5a1f8fa4685b3c543 upstream.

Cortex-A73 (all versions) counter read can return a wrong value
when the counter crosses a 32bit boundary.

The workaround involves performing the read twice, and to return
one or the other depending on whether a transition has taken place.

Signed-off-by: Marc Zyngier <redacted>
Signed-off-by: Leo Yan <redacted>
---
 arch/arm64/Kconfig                  | 12 ++++++++++++
 arch/arm64/include/asm/arch_timer.h | 11 +++++++++++
 2 files changed, 23 insertions(+)
Why [RESEND] ?

And what stable kernel tree(s) do you want this to be applied to?

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help