Skip to content
Commit 832bd858 authored by David Woodhouse's avatar David Woodhouse
Browse files

iommu/vt-d: Change scope lists to struct device, bus, devfn



It's not only for PCI devices any more, and the scope information for an
ACPI device provides the bus and devfn so that has to be stored here too.

It is the device pointer itself which needs to be protected with RCU,
so the __rcu annotation follows it into the definition of struct
dmar_dev_scope, since we're no longer just passing arrays of device
pointers around.

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 07cb52ff
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