arm: Remove the ability to set HYP vectors outside of the decompressor
authorMarc Zyngier <maz@kernel.org>
Sun, 16 Feb 2020 12:01:26 +0000 (12:01 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 24 Mar 2020 10:56:05 +0000 (10:56 +0000)
commit15ff9a39cd5ebabdf704634ea58806f2d12bbc39
tree3a44e50d7c67cb80e79b87dc94d1328868d36cb5
parent59c1d9cc529562a2906ed113eddc032926cdb600
arm: Remove the ability to set HYP vectors outside of the decompressor

Although we have to bounce between HYP and SVC to decompress and
relocate the kernel, we don't need to be able to use it in the
kernel itself. So let's drop the functionnality.

Since the vectors are never changed, there is no need to reset them
either, and nobody calls that stub anyway. The last function
(SOFT_RESTART) is still present in order to support kexec.

Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm/include/asm/virt.h
arch/arm/kernel/hyp-stub.S