Suravee Suthikulpanit 38e45d02ea 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>
2016-02-25 16:53:48 +01:00
..
2015-06-23 18:27:19 -07:00
2016-02-16 08:04:06 -08:00
2015-02-03 18:47:18 +01:00
2016-02-16 08:04:06 -08:00
2015-12-15 12:54:06 -08:00
2015-07-28 15:48:01 +01:00
2015-11-26 14:41:01 +01:00