• Gary R Hook's avatar
    crypto: ccp - Make some CCP DMA channels private · efc989fc
    Gary R Hook authored
    The CCP registers its queues as channels capable of handling
    general DMA operations. The NTB driver will use DMA if
    directed, but as public channels can be reserved for use in
    asynchronous operations some channels should be held back
    as private. Since the public/private determination is
    handled at a device level, reserve the "other" (secondary)
    CCP channels as private.
    Add a module parameter that allows for override, to be
    applied to all channels on all devices.
    CC: <stable@vger.kernel.org> # 4.10.x-
    Signed-off-by: default avatarGary R Hook <gary.hook@amd.com>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
ccp-dmaengine.c 18.6 KB