Thread (18 messages) 18 messages, 4 authors, 2020-02-26

Re: [PATCH v6 10/11] KVM: arm64: BTI: Reset BTYPE when skipping emulated instructions

From: Marc Zyngier <maz@kernel.org>
Date: 2020-02-15 11:57:02
Also in: linux-arch, linux-fsdevel, lkml

On Wed, 12 Feb 2020 19:29:05 +0000
Mark Brown [off-list ref] wrote:
From: Dave Martin <Dave.Martin@arm.com>

Since normal execution of any non-branch instruction resets the
PSTATE BTYPE field to 0, so do the same thing when emulating a
trapped instruction.

Branches don't trap directly, so we should never need to assign a
non-zero value to BTYPE here.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Marc Zyngier <maz@kernel.org>

	M.
-- 
Jazz is not dead. It just smells funny...

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help