summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/Makefile
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2018-02-12 18:53:00 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2018-03-19 14:05:44 +0100
commit7e80f637fd8bcdd777d3841a43f76563ffd2985a (patch)
treea3160283b2568a4620680d28c5fef94c0be14f08 /arch/arm64/kernel/Makefile
parentarm64: KVM: Move vector offsetting from hyp-init.S to kvm_get_hyp_vector (diff)
downloadlinux-7e80f637fd8bcdd777d3841a43f76563ffd2985a.tar.xz
linux-7e80f637fd8bcdd777d3841a43f76563ffd2985a.zip
arm64: KVM: Move stashing of x0/x1 into the vector code itself
All our useful entry points into the hypervisor are starting by saving x0 and x1 on the stack. Let's move those into the vectors by introducing macros that annotate whether a vector is valid or not, thus indicating whether we want to stash registers or not. The only drawback is that we now also stash registers for el2_error, but this should never happen, and we pop them back right at the start of the handling sequence. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Reviewed-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm64/kernel/Makefile')
0 files changed, 0 insertions, 0 deletions