linux-stable/arch/arm64
Will Deacon 6472f1a3a5 arm64: entry: Hook up entry trampoline to exception vectors
Commit 4bf3286d29 upstream.

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>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-16 20:22:48 +01:00
..
boot .gitignore: move *.dtb and *.dtb.S patterns to the top-level .gitignore 2018-02-13 10:19:46 +01:00
configs ARM/arm64: SoC platform updates for v4.14 2017-09-10 20:35:46 -07:00
crypto License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
include arm64: mm: Map entry trampoline into trampoline and kernel page tables 2018-02-16 20:22:47 +01:00
kernel arm64: entry: Hook up entry trampoline to exception vectors 2018-02-16 20:22:48 +01:00
kvm arm64: Add software workaround for Falkor erratum 1041 2018-02-16 20:22:44 +01:00
lib arm64: mm: Fix and re-enable ARM64_SW_TTBR0_PAN 2018-02-16 20:22:47 +01:00
mm arm64: mm: Map entry trampoline into trampoline and kernel page tables 2018-02-16 20:22:47 +01:00
net bpf, arm64: fix stack_depth tracking in combination with tail calls 2018-01-31 14:03:50 +01:00
xen arm64: mm: Fix and re-enable ARM64_SW_TTBR0_PAN 2018-02-16 20:22:47 +01:00
Kconfig arm64: mm: Fix and re-enable ARM64_SW_TTBR0_PAN 2018-02-16 20:22:47 +01:00
Kconfig.debug arm64: relocation testing module 2017-04-04 17:03:32 +01:00
Kconfig.platforms ARM: arm64: Devicetree updates for v4.14 2017-09-10 20:54:48 -07:00
Makefile arm64: prevent regressions in compressed kernel image size when upgrading to binutils 2.27 2017-12-20 10:10:29 +01:00