diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2014-04-14 22:01:30 -0700 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2014-04-14 22:01:30 -0700 |
commit | 9f05d3fb644bf178c169d9c70dcfe360e3a006ae (patch) | |
tree | 13792fd61a15ccc27411d059195bd8ab5a78bda0 /drivers/connector | |
parent | adeb25905c644350baf1f446bcd856517e58060e (diff) | |
download | blackbird-op-linux-9f05d3fb644bf178c169d9c70dcfe360e3a006ae.tar.gz blackbird-op-linux-9f05d3fb644bf178c169d9c70dcfe360e3a006ae.zip |
iommu/vt-d: Fix get_domain_for_dev() handling of upstream PCIe bridges
Commit 146922ec79 ("iommu/vt-d: Make get_domain_for_dev() take struct
device") introduced new variables bridge_bus and bridge_devfn to
identify the upstream PCIe to PCI bridge responsible for the given
target device. Leaving the original bus/devfn variables to identify
the target device itself, now that it is no longer assumed to be PCI
and we can no longer trivially find that information.
However, the patch failed to correctly use the new variables in all
cases; instead using the as-yet-uninitialised 'bus' and 'devfn'
variables.
Reported-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions