]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
tegra/iommu: smmu: Use PCI root device
authorAlex Waterman <alexw@nvidia.com>
Thu, 12 Nov 2015 01:16:38 +0000 (17:16 -0800)
committermobile promotions <svcmobile_promotions@nvidia.com>
Wed, 20 Jan 2016 14:25:20 +0000 (06:25 -0800)
commit45df2c734ef21a4ed0756f80039398633c7b885a
treeb79f53f34445fb4dadefb65abdc80a02c629991d
parentb754fc76d511a8ed1751a642be5420950df00bbb
tegra/iommu: smmu: Use PCI root device

Use the PCI root device for finding the SMMU mapping when the
device to be added is a PCI device.

Bug 200076269

Change-Id: Ief853dbc67dcf689e142038a84807e01f86fdcda
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/831981
(cherry picked from commit 12d2dca04e20387d5e4e0216bb1fff8d09df523c)
Reviewed-on: http://git-master/r/934485
Tested-by: Vidya Sagar <vidyas@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hayden Du <haydend@nvidia.com>
drivers/iommu/tegra-smmu.c