]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: entry: Hook up entry trampoline to exception vectors
authorWill Deacon <will.deacon@arm.com>
Tue, 14 Nov 2017 14:24:29 +0000 (14:24 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 11 Dec 2017 13:40:57 +0000 (13:40 +0000)
commit6c23cbc29e202033d149a01c7934ada6933ef1ec
treed257b39c515dd4d30be1dbf492aa22a8130d1c6c
parent7f67b9f51a3394a9f4b989c17015942e58815c15
arm64: entry: Hook up entry trampoline to exception vectors

Hook up the entry trampoline to our exception vectors so that all
exceptions from and returns to EL0 go via the trampoline, which swizzles
the vector base register accordingly. Transitioning to and from the
kernel clobbers x30, so we use tpidrro_el0 and far_el1 as scratch
registers for native tasks.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Laura Abbott <labbott@redhat.com>
Tested-by: Shanker Donthineni <shankerd@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/entry.S