]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit648dda0662ce4bb55eee3fd74bc063897248373f
tree3a44e50d7c67cb80e79b87dc94d1328868d36cb5
parentbcb1ffc038eb545787edeb92604b8f3672b29485
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