]> git.ipfire.org Git - people/arne_f/kernel.git/commit
arm64: entry: Explicitly pass exception level to kernel_ventry macro
authorWill Deacon <will.deacon@arm.com>
Tue, 14 Nov 2017 14:20:21 +0000 (14:20 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Feb 2018 19:22:48 +0000 (20:22 +0100)
commit86200f218f98704fa4b78734d574a38519d5ef3c
tree8b4f449d6fee58d635b5b32b4d3598e4811d6eb0
parent63d13760abd7a819b6e95793c795cdc155bfff44
arm64: entry: Explicitly pass exception level to kernel_ventry macro

Commit 5b1f7fe41909 upstream.

We will need to treat exceptions from EL0 differently in kernel_ventry,
so rework the macro to take the exception level as an argument and
construct the branch target using that.

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>
arch/arm64/kernel/entry.S