summaryrefslogtreecommitdiff
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>2016-02-23 13:03:30 +0100
committerLuis Henriques <luis.henriques@canonical.com>2016-03-24 10:00:53 +0000
commit6786eb65126cf8d62f75012d793acc3e03830655 (patch)
treea7043c4a98a914f6a3f4954f90e5abcea26810b4 /include/linux/libata.h
parent122a7b3aa1544ca54489c75bc451884a7d7d43b7 (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: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux/libata.h')
0 files changed, 0 insertions, 0 deletions