[PATCH] arm64: entry: add missing noinstr

Will Deacon will at kernel.org
Thu Jul 15 10:39:01 PDT 2021


On Wed, 14 Jul 2021 18:28:01 +0100, Mark Rutland wrote:
> We intend that all the early exception handling code is marked as
> `noinstr`, but we forgot this for __el0_error_handler_common(), which is
> called before we have completed entry from user mode. If it were
> instrumented, we could run into problems with RCU, lockdep, etc.
> 
> Mark it as `noinstr` to prevent this.
> 
> [...]

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

[1/1] arm64: entry: add missing noinstr
      https://git.kernel.org/arm64/c/31a7f0f6c8f3

Cheers,
-- 
Will

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



More information about the linux-arm-kernel mailing list