Thread (4 messages) flat view 4 messages, 4 authors, 2021-08-19

Re: [PATCH] arm64: initialize all of CNTHCTL_EL2

From: Will Deacon <will@kernel.org>
Date: 2021-08-19 09:06:41

On Wed, 18 Aug 2021 17:15:35 +0100, Mark Rutland wrote:
In __init_el2_timers we initialize CNTHCTL_EL2.{EL1PCEN,EL1PCTEN} with a
RMW sequence, leaving all other bits UNKNOWN.

In general, we should initialize all bits in a register rather than
using an RMW sequence, since most bits are UNKNOWN out of reset, and as
new bits are added to the reigster their reset value might not result in
expected behaviour.

[...]
Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64: initialize all of CNTHCTL_EL2
      https://git.kernel.org/arm64/c/bde8fff82e4a

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help