]> git.baikalelectronics.ru Git - kernel.git/commit
cxl: Enable CAPP recovery
authorRyan Grimm <grimm@linux.vnet.ibm.com>
Mon, 19 Jan 2015 17:52:50 +0000 (11:52 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 22 Jan 2015 06:31:52 +0000 (17:31 +1100)
commit31ad0a80cd17e98b26971d5af874329af5f60a4f
treebd2838b54d66c203e4e55db01299880aeb7e26a5
parentf8492cfcc233921043482d4cd7988c16e2cf0990
cxl: Enable CAPP recovery

Turning snoops on is the last step in CAPP recovery. Sapphire is expected to
have reinitialized the PHB and done the previous recovery steps.

Add mode argument to opal call to do this. Driver can turn snoops off although
it does not currently.

Signed-off-by: Ryan Grimm <grimm@linux.vnet.ibm.com>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/opal.h
arch/powerpc/include/asm/pnv-pci.h
arch/powerpc/platforms/powernv/pci-ioda.c
drivers/misc/cxl/pci.c