]> 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)
commitc2b5958636f55c2f5908a6c6955d44345deb8ed4
treeb6affe5c87b114c797f21c04faa97daa56428dbb
parentcc24086f3101e2b13e6e2400795254d5d8ef0188
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