cxl: Add support for CAPP DMA mode
authorIan Munsie <imunsie@au1.ibm.com>
Wed, 8 Jun 2016 05:09:54 +0000 (15:09 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 16 Jun 2016 13:10:26 +0000 (23:10 +1000)
commitb385c9e971468eb8816b26742449d6d1e49f55f1
treec78d0b179f8fb8e0956a6659df185f3d9e754cf8
parent6d382616ac2283ed65c7a6a52d05b064488aa8f8
cxl: Add support for CAPP DMA mode

This adds support for using CAPP DMA mode, which is required for XSL
based cards such as the Mellanox CX4 to function.

This is currently an RFC as it depends on the corresponding support to
be merged into skiboot first, which was submitted here:
http://patchwork.ozlabs.org/patch/625582/

In the event that the skiboot on the system does not have the above
support, it will indicate as such in the kernel log and abort the init
process.

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