summaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorDavid Woodhouse2014-03-07 16:08:36 +0100
committerDavid Woodhouse2014-03-24 15:05:08 +0100
commit832bd858674023b2415c7585db3beba345ef807f (patch)
treef45c9360a2ff71957f2ac3f7a4d83c91e4d7841f /virt/kvm
parentiommu/vt-d: Allocate space for ACPI devices (diff)
downloadkernel-qcow2-linux-832bd858674023b2415c7585db3beba345ef807f.tar.gz
kernel-qcow2-linux-832bd858674023b2415c7585db3beba345ef807f.tar.xz
kernel-qcow2-linux-832bd858674023b2415c7585db3beba345ef807f.zip
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: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions