diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2020-04-27 18:00:15 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-05-15 17:35:50 +0200 |
commit | 9654736891c3ac6a60b52ce70d33cf57cf95bff7 (patch) | |
tree | 19d185903f3721fc76a47f31ad6a1379184a111f /arch/arm64/kernel/entry.S | |
parent | arm64: vdso: Disable Shadow Call Stack (diff) | |
download | linux-9654736891c3ac6a60b52ce70d33cf57cf95bff7.tar.xz linux-9654736891c3ac6a60b52ce70d33cf57cf95bff7.zip |
arm64: Disable SCS for hypervisor code
Disable SCS for code that runs at a different exception level by
adding __noscs to __hyp_text.
Suggested-by: James Morse <james.morse@arm.com>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/kernel/entry.S')
0 files changed, 0 insertions, 0 deletions