[PATCH v6 21/26] arm64: KVM: Reserve 4 additional instructions in the BPI template
Andrew Jones
drjones at redhat.com
Thu Mar 15 07:46:51 PDT 2018
On Wed, Mar 14, 2018 at 04:50:44PM +0000, Marc Zyngier wrote:
> 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.
>
> Signed-off-by: Marc Zyngier <marc.zyngier at arm.com>
> ---
> arch/arm64/kernel/bpi.S | 39 +++++++++++++++------------------------
> 1 file changed, 15 insertions(+), 24 deletions(-)
>
Reviewed-by: Andrew Jones <drjones at redhat.com>
More information about the linux-arm-kernel
mailing list