diff options
| author | 2020-07-21 10:33:15 +0200 | |
|---|---|---|
| committer | 2020-07-23 12:38:55 +0100 | |
| commit | 0ae3b13aab210e2a8c14371731abddfee228ae24 (patch) | |
| tree | 90d3bc707aaac7f04a85ee600144bb17e9ada371 /include/asm-generic/git:/ssh:/git@git.zx2c4.com | |
| parent | arm64: s/AMEVTYPE/AMEVTYPER (diff) | |
| download | linux-dev-0ae3b13aab210e2a8c14371731abddfee228ae24.tar.xz linux-dev-0ae3b13aab210e2a8c14371731abddfee228ae24.zip | |
arm64/entry: deduplicate SW PAN entry/exit routines
Factor the 12 copies of the SW PAN entry and exit code into callable
subroutines, and use alternatives patching to either emit a 'bl'
instruction to call them, or a NOP if h/w PAN is found to be available
at runtime.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20200721083315.4816-1-ardb@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'include/asm-generic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
