]> git.baikalelectronics.ru Git - kernel.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)
commitbd9a653c3b0585aef49d823c5e07850f4d9b63af
treea92117024e9c7e0da9bab042e1fe50febc4e20e3
parent15d4f7687f0c0dc9374245c8ddf261581cece8c6
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