aboutsummaryrefslogtreecommitdiff
path: root/drivers/iommu/dmar.c
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>2016-02-23 13:03:30 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-09 15:34:51 -0800
commit44792d5c907c9afa03ac1f6a8ace7df4db500d85 (patch)
tree27dee2c0e11b5725f5479c2a2b6c4018b9f5253c /drivers/iommu/dmar.c
parentad0f9dade9912224326fcac1e09ed4846b41f7c9 (diff)
iommu/amd: Fix boot warning when device 00:00.0 is not iommu covered
commit 38e45d02ea9f194b89d6bf41e52ccafc8e2c2b47 upstream. The setup code for the performance counters in the AMD IOMMU driver tests whether the counters can be written. It tests to setup a counter for device 00:00.0, which fails on systems where this particular device is not covered by the IOMMU. Fix this by not relying on device 00:00.0 but only on the IOMMU being present. Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iommu/dmar.c')
0 files changed, 0 insertions, 0 deletions