]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
cxl: Ignore CAPI adapters misplaced in switched slots
authorPhilippe Bergheaud <felix@linux.vnet.ibm.com>
Mon, 18 Jul 2016 13:56:40 +0000 (07:56 -0600)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 9 Aug 2016 13:07:32 +0000 (15:07 +0200)
commitd4d5ec1acd711e9aa743cb76e497234af1ec8c7c
treec4c2b06060b75652eb983242f73aa206fa64bc60
parent7913b43902841ea41118d3ecd3cd2914321e9068
cxl: Ignore CAPI adapters misplaced in switched slots

BugLink: http://bugs.launchpad.net/bugs/1602785
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>
(cherry picked from linux-next commit 3b3dcd61fa4e3604d8f1bdfd8471fca7b7c012e4)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
drivers/misc/cxl/pci.c