Received: by 2002:a17:90a:37a3:0:0:0:0 with SMTP id v32csp13116576pjb; Fri, 26 Jul 2019 05:34:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwsmEOKmscwdnZ65awY8B2FFDLVc2XtTifthYnqP708k2tqRtytVyHZik2J73tenGkMcHb5 X-Received: by 2002:a63:f857:: with SMTP id v23mr66275139pgj.228.1564144458473; Fri, 26 Jul 2019 05:34:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564144458; cv=none; d=google.com; s=arc-20160816; b=MtUPl1ar4JDcRdknRnssAfnDk4giibyyfxPCfgDgJq5sNRArkhxNvDGA+xpiBWn5YK 3Y35AqoPhydghL/o0DphJZ+Nv/UaEH1kCSW8v/AeCAde+cXi9RCzBBLtFfkrgpzkWx0k KaINoifU5lybRrwLkUp6vdNzc3geFmxwq41rlZGL3Ihb9siwQDrmOy9hbRN7nWMzytQg WLZfGd39XopPlXN/Hih0sM1UkXqOLGGufuppBFmmRllt9r8p8D5bSaUq9sSa+wARUn2V qED0mk+XUh2lunVdRKxwoKgoUFKUpZBLeuykd9w6c7IYnRUMr/S5CTwpKinBtcsXNJsv KkDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:message-id:subject:cc:to:from:date; bh=5h/K7sNhUwlfP5RWPYYBHJclS6uFX++bUtcpX6w34ng=; b=HUh1baAC4tZEvsf/bn84sUdO7+IL11jXjuT8eAS9dpl4HJv83OTwJ95M1r+T0OZxDJ XlZV/XWRb5exMFJrkOw9KiNZ1oEnr6iMPGzZzsx5uEmVdw21E370YFNfdZDAsI5dCmPj V6OmQHQ72zB99XtIErFOjc0PKifiz/BaKqVOIwRFYHtTW0XNuHBrYFN7dKZw/sFk5kWe HnBi+xxAS2GsisGO3NbUXU6O4hbEq0De6+rqt+jkFINsx4NQLz1A8GoX68Wsw/WaLdzE P78Pj76i6TbXhbRhlPGI+wjgCIKdtaDA5ZpD+EZSspvgzMgYVUKP2Qrx+6TrfFlQGyKf otOA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z191si19481499pgd.572.2019.07.26.05.34.04; Fri, 26 Jul 2019 05:34:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727193AbfGZMdW (ORCPT + 99 others); Fri, 26 Jul 2019 08:33:22 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:46446 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726366AbfGZMdV (ORCPT ); Fri, 26 Jul 2019 08:33:21 -0400 Received: from gondolin.me.apana.org.au ([192.168.0.6] helo=gondolin.hengli.com.au) by fornost.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1hqzPT-0003rw-Qf; Fri, 26 Jul 2019 22:33:19 +1000 Received: from herbert by gondolin.hengli.com.au with local (Exim 4.80) (envelope-from ) id 1hqzPS-00029x-3X; Fri, 26 Jul 2019 22:33:18 +1000 Date: Fri, 26 Jul 2019 22:33:18 +1000 From: Herbert Xu To: "Hook, Gary" Cc: linux-crypto@vger.kernel.org, Thomas.Lendacky@amd.com, davem@davemloft.net Subject: Re: [PATCH v2 0/4] Add module parameters to control CCP activation Message-ID: <20190726123317.GA8294@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <156268468861.18577.13211913750250195885.stgit@sosrh3.amd.com> Organization: Core X-Newsgroups: apana.lists.os.linux.cryptoapi User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hook, Gary 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 Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt