diff options
author | Suravee Suthikulpanit <[email protected]> | 2016-02-23 13:03:30 +0100 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2016-02-25 16:53:48 +0100 |
commit | 38e45d02ea9f194b89d6bf41e52ccafc8e2c2b47 (patch) | |
tree | f14979d267c39aa2bd13b96651c06bc05839ac1e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 81f70ba233d5f660e1ea5fe23260ee323af5d53a (diff) |
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: [email protected]
Signed-off-by: Suravee Suthikulpanit <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions