]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iommu/amd: Ensure GA log notifier callbacks finish running before module unload
authorSean Christopherson <seanjc@google.com>
Sat, 15 Mar 2025 03:10:48 +0000 (20:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:05:32 +0000 (11:05 +0100)
commitc9bfb30b75c35b072f52f35ec4af3221addab855
treee98f4e1b325b3c77dc0441158bd8397232e7f7e4
parent7cf3c7bd83ee280662c96728424255aeac92e691
iommu/amd: Ensure GA log notifier callbacks finish running before module unload

[ Upstream commit 94c721ea03c7078163f41dbaa101ac721ddac329 ]

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>
drivers/iommu/amd/iommu.c