diff options
author | Vaibhav Jain <vaibhav@linux.vnet.ibm.com> | 2016-02-29 11:10:53 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-03-09 23:40:03 +1100 |
commit | 17eb3eef19f2c0541a7f04ad37c4a7fec89f0822 (patch) | |
tree | 46bd579b3d7fd63d3d8b7e19814952b04ae82ac9 /arch/powerpc/perf/power7-pmu.c | |
parent | 0d3a13fbf1d1f3323d04499a727c17c80d156168 (diff) | |
download | blackbird-op-linux-17eb3eef19f2c0541a7f04ad37c4a7fec89f0822.tar.gz blackbird-op-linux-17eb3eef19f2c0541a7f04ad37c4a7fec89f0822.zip |
cxl: Ignore probes for virtual afu pci devices
Add a check at the beginning of cxl_probe function to ignore virtual pci
devices created for each afu registered. This fixes the the errors
messages logged about missing CXL vsec, when cxl probe is unable to
find necessary vsec entries in device pci config space. The error
message logged are of the form :
cxl-pci 0004:00:00.0: ABORTING: CXL VSEC not found!
cxl-pci 0004:00:00.0: cxl_init_adapter failed: -19
Cc: Ian Munsie <imunsie@au1.ibm.com>
Cc: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com>
Reviewed-by: fbarrat@linux.vnet.ibm.com
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/perf/power7-pmu.c')
0 files changed, 0 insertions, 0 deletions