Re: [PATCH] KVM: arm64: Pass level hint to TLBI during stage-2 permission fault

From: Marc Zyngier
Date: Fri Oct 02 2020 - 04:20:29 EST


On Wed, 30 Sep 2020 14:18:01 +0100, Will Deacon wrote:
> Alex pointed out that we don't pass a level hint to the TLBI instruction
> when handling a stage-2 permission fault, even though the walker does
> at some point have the level information in its hands.
>
> Rework stage2_update_leaf_attrs() so that it can optionally return the
> level of the updated pte to its caller, which can in turn be used to
> provide the correct TLBI level hint.

Applied to next, thanks!

[1/1] KVM: arm64: Pass level hint to TLBI during stage-2 permission fault
commit: b259d137e91d80bf92eac453ffab179eb7941ede

Cheers,

M.
--
Without deviation from the norm, progress is not possible.