]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Explicitly treat routing entry type changes as changes
authorSean Christopherson <seanjc@google.com>
Wed, 11 Jun 2025 22:45:04 +0000 (15:45 -0700)
committerMarc Zyngier <maz@kernel.org>
Thu, 19 Jun 2025 08:58:21 +0000 (09:58 +0100)
commit1fbe6861a6d9a942fb8ab8677ddf1ecb86b1af60
tree1fd62e8ceddbf3abb1c420b815ac5ce74ba50323
parent8a8ff069c7ad9a359c54683329883e2432cff191
KVM: arm64: Explicitly treat routing entry type changes as changes

Explicitly treat type differences as GSI routing changes, as comparing MSI
data between two entries could get a false negative, e.g. if userspace
changed the type but left the type-specific data as-

Note, the same bug was fixed in x86 by commit bcda70c56f3e ("KVM: x86:
Explicitly treat routing entry type changes as changes").

Fixes: 4bf3693d36af ("KVM: arm64: Unmap vLPIs affected by changes to GSI routing information")
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20250611224604.313496-3-seanjc@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/arm.c