Re: [PATCH 4/4] KVM: arm64: Honor trap routing for TCR2_EL1

Marc Zyngier
2024-06-25T13:09:42Z

On 2024-06-25 14:00, Marc Zyngier wrote:
> TCR2_EL1 handling is missing the handling of its trap configuration:
>
> - HCRX_EL2.TCR2En must be handled in conjunction with
> HCR_EL2.{TVM,TRVM}
>
> - HFG{R,W}TR_EL2.TCR_EL1 does apply to TCR2_EL1 as well
>
> Without these two controls being implemented, it is impossible to
> correctly route TCR2_EL1 traps.
>
> Signed-off-by: Marc Zyngier <maz@kernel.org>
> ---
> arch/arm64/kvm/emulate-nested.c | 13 +++++++++++++
> 1 file changed, 13 insertions(+)

Gahh, stale staging directory, please ignore this patch (5/5 is the
same).

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