]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
arm64: entry: Add exception trampoline page for exceptions from EL0
authorWill Deacon <will.deacon@arm.com>
Tue, 14 Nov 2017 14:07:40 +0000 (14:07 +0000)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 22 Feb 2018 14:15:45 +0000 (08:15 -0600)
commitd57a98a9a8c22c1b4009a8c226e659fdd87611aa
treedf8ad8b653db751c21d7cc3f753d071de689c9d3
parent73b96d40e5dc6038cc221ea91a53866779e17297
arm64: entry: Add exception trampoline page for exceptions from EL0

BugLink: http://bugs.launchpad.net/bugs/1751064
Commit c7b9adaf85f8 upstream.

To allow unmapping of the kernel whilst running at EL0, we need to
point the exception vectors at an entry trampoline that can map/unmap
the kernel on entry/exit respectively.

This patch adds the trampoline page, although it is not yet plugged
into the vector table and is therefore unused.

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
arch/arm64/kernel/entry.S
arch/arm64/kernel/vmlinux.lds.S