Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2896277ybd; Mon, 24 Jun 2019 14:56:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqyfRrJeOCV2Ns047tNrFsl8IRese9pdwrBTBNYlRk4voCOsGVTUPRwLKh8kpQ1jJYNC6qQm X-Received: by 2002:a63:6149:: with SMTP id v70mr26875180pgb.191.1561413381995; Mon, 24 Jun 2019 14:56:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561413381; cv=none; d=google.com; s=arc-20160816; b=Rf/RiA1tnuaPfDManwpqoxWA0/lBccwowoiwIt5+3Gvwx/fYAJA4D36KU4hJIrvhAe CcYMFrKHDC3EvB7GAWJBQoHsIl6c2e8M5IwKMXH+t73sXDVoJc39li0mNws4vlTo1iek pXUhLJfqxbFdlGXPjPP5ymPKC/Ye/RhfInhdmfQjxTpFKxC+JHDKLJICe7uxgdLj7enM KUvIuonK6gBGnYHHne6itTmHObtWjzh3qqZ5MAo2mgwI2uhhwE9BDnF9WoTrNxs2FyCm ucRihrRgfOj+OOtehzOS/9FS8X5Z/iLI8tmBofy5ZsFTs6X/YqkW5dS/x25oBSjdmsUn cEOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=t8VVe02L1lLOvaRcjTMtjn02aIMTccv9B0YrszkRioo=; b=KYFvMMJhlInPrnZvS/5ihLz2nBjAO6bZIEN6L5vCPYOZJBMisBHBRM2KQ4bJCAKg61 fqS9/K2j+jBabCymigCJHwfir+E9mM5RSnfHHWiRxnnUL1VLUuFINkHiqngWjnoQFK9w VugtvpZ4WCuQ7hbiTGxBk+MGGepjrYnCIeN1I3ygnESrbIA9cD6PPMLJnZsD6zdG4CEc PsQy9eqJHXD0Eg610jf+H/incvwwlK+P1hY2GFaO4wiZMSAf9igZcf3b7ohLnHf3wuKZ hM3+SXxL3AyBQPuWb56/0vol30Crs3mQp1ZOm6GnCZKYI1XVSYp5SjaVnXQedkkXUYaK eDxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amdcloud-onmicrosoft-com header.b=LDI6EDPl; 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 g11si2141494plo.433.2019.06.24.14.56.08; Mon, 24 Jun 2019 14:56:21 -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; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amdcloud-onmicrosoft-com header.b=LDI6EDPl; 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 S1728646AbfFXT2s (ORCPT + 99 others); Mon, 24 Jun 2019 15:28:48 -0400 Received: from mail-eopbgr810041.outbound.protection.outlook.com ([40.107.81.41]:59808 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725881AbfFXT2s (ORCPT ); Mon, 24 Jun 2019 15:28:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=t8VVe02L1lLOvaRcjTMtjn02aIMTccv9B0YrszkRioo=; b=LDI6EDPlCukHqnH0xe1luykCnjTUx9wB1tb/FCne8SvUJbfQORMDZ48Zw1zOEO4inD+MRA66FuodTmlTKvn2sLnZwyYZd2AYHrcoqMd6a7IwjLnm/n5O0r8LZU7mak1f0o+fX5y/N1GrBtUdQ0OfiZKRowmD+z+JrcfkivXTydc= Received: from DM5PR12MB1449.namprd12.prod.outlook.com (10.172.40.14) by DM5PR12MB2358.namprd12.prod.outlook.com (52.132.141.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.13; Mon, 24 Jun 2019 19:28:44 +0000 Received: from DM5PR12MB1449.namprd12.prod.outlook.com ([fe80::180c:ff0c:37e6:a482]) by DM5PR12MB1449.namprd12.prod.outlook.com ([fe80::180c:ff0c:37e6:a482%10]) with mapi id 15.20.2008.014; Mon, 24 Jun 2019 19:28:44 +0000 From: "Hook, Gary" To: "linux-crypto@vger.kernel.org" CC: "Lendacky, Thomas" , "herbert@gondor.apana.org.au" , "davem@davemloft.net" Subject: [PATCH 02/11] crypto: ccp - Add a module parameter to specify a queue count Thread-Topic: [PATCH 02/11] crypto: ccp - Add a module parameter to specify a queue count Thread-Index: AQHVKsMJOIGfGw03z0Wl0jZnI/jaNw== Date: Mon, 24 Jun 2019 19:28:44 +0000 Message-ID: <156140452269.116890.16300533767199946313.stgit@sosrh3.amd.com> References: <156140365456.116890.15736288493305066708.stgit@sosrh3.amd.com> In-Reply-To: <156140365456.116890.15736288493305066708.stgit@sosrh3.amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN1PR12CA0056.namprd12.prod.outlook.com (2603:10b6:802:20::27) To DM5PR12MB1449.namprd12.prod.outlook.com (2603:10b6:4:10::14) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Gary.Hook@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.78.2] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ded4e5ed-6e98-4a88-68fc-08d6f8da2bbc x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:DM5PR12MB2358; x-ms-traffictypediagnostic: DM5PR12MB2358: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:483; x-forefront-prvs: 007814487B x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(346002)(396003)(136003)(39860400002)(366004)(199004)(189003)(7736002)(5660300002)(26005)(2906002)(68736007)(8936002)(305945005)(186003)(386003)(66476007)(76176011)(8676002)(6506007)(64756008)(102836004)(81156014)(53936002)(52116002)(4326008)(66556008)(6486002)(66446008)(66946007)(73956011)(316002)(5640700003)(6916009)(25786009)(6436002)(81166006)(2501003)(6512007)(3846002)(2351001)(71200400001)(71190400001)(99286004)(103116003)(54906003)(14444005)(6116002)(256004)(476003)(72206003)(66066001)(14454004)(446003)(478600001)(486006)(11346002)(86362001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB2358;H:DM5PR12MB1449.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: WleDRCNVDMmYYrGth5gAB/mFYMSPI/UVe+exODSVNLPtWCFbg3xKojUGKN3qdHHtbOuJ8wBaPZmSDzFFmVMdz2gIRGVlMU0uGJxDWDz69+p35XJ+x9AUq6tzH6C0e6GKwp1fCLDB/ewpgkYKqKF9jaKZnhV0vQkWewrnBydmOf6sXb2IjGty1bfZWO1aXdZ9LNDniYks41VLFqekMVeRRDUOe0xZDf6DwyPnzReIul2IjGKH8sAaWw9z1096ogOTS7c9dHK1/49LVutkkfiUnXEu3XN286mBddymAyDkKzwIELZE/6d7NitlofnOb48xKwtl31tDihnHf1Npz+sm8vf2tgYnvhAt4joKNC0LP+7orQ0hTRH85FL4lhpKkthnNaFub7sSUj+qSEYIfP1KVzWGIFYbSAPN4mqf9R41tXQ= Content-Type: text/plain; charset="utf-8" Content-ID: <0B4D21BEE45A9645804252015528D499@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: ded4e5ed-6e98-4a88-68fc-08d6f8da2bbc X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2019 19:28:44.2953 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ghook@amd.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB2358 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org QWRkIGEgbW9kdWxlIHBhcmFtZXRlciB0byBsaW1pdCB0aGUgbnVtYmVyIG9mIHF1ZXVlcyBwZXIg Q0NQLiBUaGUgZGVmYXVsdA0KKG5xdWV1ZXM9MCkgaXMgdG8gc2V0IHVwIGV2ZXJ5IGF2YWlsYWJs ZSBxdWV1ZSBvbiBlYWNoIGRldmljZS4NCg0KVGhlIGNvdW50IG9mIHF1ZXVlcyBzdGFydHMgZnJv bSB0aGUgZmlyc3Qgb25lIGZvdW5kIG9uIHRoZSBkZXZpY2UgKHdoaWNoDQppcyBiYXNlZCBvbiB0 aGUgZGV2aWNlIElEKS4NCg0KU2lnbmVkLW9mZi1ieTogR2FyeSBSIEhvb2sgPGdhcnkuaG9va0Bh bWQuY29tPg0KLS0tDQogZHJpdmVycy9jcnlwdG8vY2NwL2NjcC1kZXYtdjUuYyB8ICAgIDkgKysr KysrKystDQogZHJpdmVycy9jcnlwdG8vY2N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