summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>2016-02-23 15:03:30 +0300
committerJoerg Roedel <jroedel@suse.de>2016-02-25 18:53:48 +0300
commit38e45d02ea9f194b89d6bf41e52ccafc8e2c2b47 (patch)
treef14979d267c39aa2bd13b96651c06bc05839ac1e /tools/perf/scripts/python/export-to-postgresql.py
parent81f70ba233d5f660e1ea5fe23260ee323af5d53a (diff)
downloadlinux-38e45d02ea9f194b89d6bf41e52ccafc8e2c2b47.tar.xz
iommu/amd: Fix boot warning when device 00:00.0 is not iommu covered
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. Cc: stable@vger.kernel.org Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions