Skip to content
Commit 8638c491 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

x86/amd-iommu: Fix PCI hotplug with passthrough mode



The device change notifier is initialized in the dma_ops
initialization path. But this path is never executed for
iommu=pt. Move the notifier initialization to IOMMU hardware
init code to fix this.

Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent b7cc9554
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment