diff options
| author | Marc Zyngier <maz@kernel.org> | 2026-07-07 17:29:35 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-07-07 17:43:39 +0100 |
| commit | 8d187d4b33c262c0f3e44842553521151d8629e8 (patch) | |
| tree | 268eaa03473f974b1dd838c72efa4a7512735c32 /drivers/gpu/nova-core/fsp/hal/git@git.tavy.me:linux.git | |
| parent | b4d961351aa84fdf0148783fb1f3a1391b8a0adb (diff) | |
KVM: arm64: Fix propagation of TLBI level in kvm_pgtable_stage2_relax_perms()
Assigning the invalidation level (an s8 value) with TLBI_TTL_UNKNOWN
(a 32bit signed value) is not ideal, to say the least. Instead of
this, only pass TLBI_TTL_UNKNOWN to __kvm_tlb_flush_vmid_ipa_nsh()
when we know for sure that we don't have a provided level.
Fixes: 100baf0184896 ("KVM: arm64: Ensure level is always initialized when relaxing perms")
Reported-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Oliver Upton <oupton@kernel.org>
Link: https://lore.kernel.org/r/akztC7H2IsEKaq4i@sirena.org.uk
Link: https://patch.msgid.link/20260707162935.1900874-1-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'drivers/gpu/nova-core/fsp/hal/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
