diff options
| author | Oliver Upton <[email protected]> | 2025-05-23 19:47:19 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2025-05-30 08:11:29 +0000 |
| commit | fc4dafe87b93ec94204896c4bc8cad7e71bdd151 (patch) | |
| tree | 60fb41f033b3bcf65684a9b9b974294486cbd3f5 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | KVM: arm64: Use lock guard in vgic_v4_set_forwarding() (diff) | |
| download | kernel-fc4dafe87b93ec94204896c4bc8cad7e71bdd151.tar.gz kernel-fc4dafe87b93ec94204896c4bc8cad7e71bdd151.zip | |
KVM: arm64: Protect vLPI translation with vgic_irq::irq_lock
Though undocumented, KVM generally protects the translation of a vLPI
with the its_lock. While this makes perfectly good sense, as the ITS
itself contains the guest translation, an upcoming change will require
twiddling the vLPI mapping in an atomic context.
Switch to using the vIRQ's irq_lock to protect the translation. Use of
the its_lock in vgic_v4_unset_forwarding() is preserved for now as it
still needs to walk the ITS.
Tested-by: Sweet Tea Dorminy <[email protected]>
Signed-off-by: Oliver Upton <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions
