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 allow fine-tuned control over which CCPs on a system are enabled by the driver, and how many queues on each device are activated. Lastly, a switch to enable/disable DMA engine registration is implemented. The new parameters are also exposed in DebugFS (when enabled). Details: nqueues: configure N queues per CCP (default: 0 - all queues enabled) maxdev: maximum number of devices to enable (default: 0 - all devices activated) pcidev: Only consider activating devices with the specified PCI ID (default: unset - all devices activated) buses: Only consider activating devices on the specified PCI buses (default: unset - all devices activated) dmareg: Register services with the DMA subsystem (default: true) The maxdev, pcidev and buses parameters aggregate. Only activated devices will have their DMA services registered. --- Gary R Hook (11): crypto: ccp - Make CCP debugfs support optional crypto: ccp - Add a module parameter to specify a queue count crypto: ccp - Expose the value of nqueues in DebugFS crypto: ccp - module parameter to limit the number of enabled CCPs crypto: ccp - Expose maxdev through DebugFS crypto: ccp - Specify a single CCP via PCI device ID crypto: ccp - expose the pcidev module parameter in debugfs crypto: ccp - module parameter to allow CCP selection by PCI bus crypto: ccp - expose pcibus module parameter in debugfs crypto: ccp - Add a module parameter to control registration for DMA crypto: ccp - Expose the registerdma module parameter in DFS drivers/crypto/ccp/Kconfig | 9 ++ drivers/crypto/ccp/Makefile | 4 - drivers/crypto/ccp/ccp-debugfs.c | 3 + drivers/crypto/ccp/ccp-dev-v5.c | 24 ++++- drivers/crypto/ccp/ccp-dev.h | 17 ++++ drivers/crypto/ccp/sp-pci.c | 172 ++++++++++++++++++++++++++++++++++++++ 6 files changed, 221 insertions(+), 8 deletions(-) --