diff options
| author | Mark Rutland <[email protected]> | 2021-07-14 17:28:01 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2021-07-15 16:36:51 +0000 |
| commit | 31a7f0f6c8f392f002c937f34f372943cf8be5a9 (patch) | |
| tree | e529373132c7c1a78cd6c60b00591b96fd855b4a /lib/debugobjects.c | |
| parent | arm64: mte: fix restoration of GCR_EL1 from suspend (diff) | |
| download | kernel-31a7f0f6c8f392f002c937f34f372943cf8be5a9.tar.gz kernel-31a7f0f6c8f392f002c937f34f372943cf8be5a9.zip | |
arm64: entry: add missing noinstr
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.
The few other functions in entry-common.c which do not have `noinstr` are
called once we've completed entry, and are safe to instrument.
Fixes: bb8e93a287a5 ("arm64: entry: convert SError handlers to C")
Signed-off-by: Mark Rutland <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Joey Gouly <[email protected]>
Cc: James Morse <[email protected]>
Cc: Will Deacon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
