]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2718a95a35ac1096293271d9771f488c3ed501c1
treeb6affe5c87b114c797f21c04faa97daa56428dbb
parent0a8b377c67becf90eafc3be491b8071fd822c3f7
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