diff options
author | Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> | 2016-02-23 13:03:30 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2016-02-25 16:53:48 +0100 |
commit | 38e45d02ea9f194b89d6bf41e52ccafc8e2c2b47 (patch) | |
tree | f14979d267c39aa2bd13b96651c06bc05839ac1e /drivers/scsi/ch.c | |
parent | Linux 4.5-rc5 (diff) | |
download | linux-38e45d02ea9f194b89d6bf41e52ccafc8e2c2b47.tar.xz linux-38e45d02ea9f194b89d6bf41e52ccafc8e2c2b47.zip |
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 'drivers/scsi/ch.c')
0 files changed, 0 insertions, 0 deletions