mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
iommu/vt-d: Make device_to_iommu() cope with non-PCI devices
Pass the struct device to it, and also make it return the bus/devfn to use, since that is also stored in the DMAR table. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
9b226624bb
commit
156baca8d3
1 changed files with 46 additions and 32 deletions
Loading…
Add table
Add a link
Reference in a new issue