]> git.ipfire.org Git - thirdparty/kernel/linux.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)
committerJoerg Roedel <jroedel@suse.de>
Mon, 28 Apr 2025 11:40:20 +0000 (13:40 +0200)
commit94c721ea03c7078163f41dbaa101ac721ddac329
tree600ce6c7fee3fb23b90de9a6797688d7f7370d0c
parent8ffd015db85fea3e15a77027fda6c02ced4d2444
iommu/amd: Ensure GA log notifier callbacks finish running before module unload

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