iommu/amd: Ensure GA log notifier callbacks finish running before module unload

[ Upstream commit 94c721ea03 ]

Synchronize RCU when unregistering KVM's GA log notifier to ensure all
in-flight interrupt handlers complete before KVM-the module is unloaded.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20250315031048.2374109-1-seanjc@google.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Sean Christopherson 2025-03-14 20:10:48 -07:00 • committed by Greg Kroah-Hartman
commit c9bfb30b75