Hook, Gary <Gary.Hook@xxxxxxx> wrote: > Firstly, add a switch to allow/disallow debugfs code to be built into > the CCP driver. > > This rest of the patch series implements a set of module parameters > that allows control over which CCPs on a system are enabled by the > driver, and how many queues on each device are activated.^M > > A switch to enable/disable DMA engine registration is implemented. > > Details: > nqueues - configure N queues per CCP (default: 0 - all queues enabled) > max_devs - maximum number of devices to enable (default: 0 - all > devices activated) > dmaengine - Register services with the DMA subsystem (default: true) > > Only activated devices will have their DMA services registered, > comprehensively controlled by the dmaengine parameter. > > Changes since v1: > - Remove debugfs patches that duplicates sysfs function > - Remove patches for filtering by pcibus and pci device ID > - Utilize underscores for consistency in variable names > - Correct commit message for nqueues regarding default value > - Alter verbage of parameter description (dmaengine) > - Help text in Kconfig: remove reference to parameters in debugfs > > --- > > Gary R Hook (4):^M > crypto: ccp - Make CCP debugfs support optional > crypto: ccp - Add a module parameter to specify a queue count > crypto: ccp - module parameter to limit the number of enabled CCPs > crypto: ccp - Add a module parameter to control registration for DMA > > > drivers/crypto/ccp/Kconfig | 8 ++++++++ > drivers/crypto/ccp/Makefile | 4 ++-- > drivers/crypto/ccp/ccp-dev-v3.c | 2 +- > drivers/crypto/ccp/ccp-dev-v5.c | 11 ++++++----- > drivers/crypto/ccp/ccp-dev.c | 29 ++++++++++++++++++++++++++++- > drivers/crypto/ccp/ccp-dev.h | 1 + > drivers/crypto/ccp/ccp-dmaengine.c | 12 +++++++++++- > 7 files changed, 57 insertions(+), 10 deletions(-) All applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt