Re: [PATCH v2] arm64: spectre: Prevent lockdep splat on v4 mitigation enable path

From
Will Deacon <will@kernel.org>
Date
2021-02-19 19:19:38
Reply to
Will Deacon, 2021-02-18
On Thu, 18 Feb 2021 14:03:46 +0000, Will Deacon wrote:
The Spectre-v4 workaround is re-configured when resuming from suspend,
as the firmware may have re-enabled the mitigation despite the user
previously asking for it to be disabled.

Enabling or disabling the workaround can result in an undefined
instruction exception on CPUs which implement PSTATE.SSBS but only allow
it to be configured by adjusting the SPSR on exception return. We handle
this by installing an 'undef hook' which effectively emulates the access.

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

[1/1] arm64: spectre: Prevent lockdep splat on v4 mitigation enable path
      https://git.kernel.org/arm64/c/a2c42bbabbe2

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
Thread (5 messages) 5 messages, 4 authors, last reply 2021-02-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help