]> asedeno.scripts.mit.edu Git - linux.git/commit
arm64: KVM: Reserve 4 additional instructions in the BPI template
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 13 Mar 2018 12:24:02 +0000 (12:24 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Mar 2018 13:05:56 +0000 (13:05 +0000)
commitf0445dfadbb2ddce26f535b71578b36302805007
treea92117024e9c7e0da9bab042e1fe50febc4e20e3
parent4340ba80bd3a310d8eb9011df2e63c6371e28113
arm64: KVM: Reserve 4 additional instructions in the BPI template

So far, we only reserve a single instruction in the BPI template in
order to branch to the vectors. As we're going to stuff a few more
instructions there, let's reserve a total of 5 instructions, which
we're going to patch later on as required.

We also introduce a small refactor of the vectors themselves, so that
we stop carrying the target branch around.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kernel/bpi.S