linux/drivers/misc/cxl
Ian Munsie bee30c7045 cxl: Re-order card init to check the VSEC earlier
When we expose AFUs as virtual PCI devices, they may look like the physical
CAPI PCI card.  ie they may have the same vendor/device IDs.

We want to avoid these AFUs binding to this driver and any init this driver may
do.

Re-order card init to check the VSEC earlier before assigning BARs or
activating CXL.  Also change the dev used in early prints as the adapter struct
may not be inited at this earlier stage.

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-06-03 13:27:17 +10:00
..
base.c
context.c cxl: Use call_rcu to reduce latency when releasing the afu fd 2015-06-03 13:27:15 +10:00
cxl.h cxl: Use call_rcu to reduce latency when releasing the afu fd 2015-06-03 13:27:15 +10:00
debugfs.c
fault.c cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
file.c cxl: Implement an ioctl to fetch afu card-id, offset-id and mode 2015-06-03 13:27:15 +10:00
irq.c cxl: Add missing return statement after handling AFU errror 2015-02-06 11:17:27 +11:00
Kconfig cxl: Add driver to Kbuild and Makefiles 2014-10-08 20:15:58 +11:00
main.c cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
Makefile cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
native.c cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
pci.c cxl: Re-order card init to check the VSEC earlier 2015-06-03 13:27:17 +10:00
sysfs.c cxl: Export AFU error buffer via sysfs 2015-06-03 13:27:15 +10:00
trace.c cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
trace.h cxl: Add tracepoints 2015-01-22 17:31:51 +11:00