cxl: Ignore CAPI adapters misplaced in switched slots
authorPhilippe Bergheaud <felix@linux.vnet.ibm.com>
Fri, 1 Jul 2016 11:32:52 +0000 (13:32 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 8 Jul 2016 12:23:57 +0000 (22:23 +1000)
commit3b3dcd61fa4e3604d8f1bdfd8471fca7b7c012e4
treeb6affe5c87b114c797f21c04faa97daa56428dbb
parente00878be3f414a99234b3c9613e2fcab7497cd4b
cxl: Ignore CAPI adapters misplaced in switched slots

One should not attempt to switch a PHB into CAPI mode if there is
a switch between the PHB and the adapter. This patch modifies the
cxl driver to ignore CAPI adapters misplaced in switched slots.

Signed-off-by: Philippe Bergheaud <felix@linux.vnet.ibm.com>
Reviewed-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/pci.c