Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8043167ybi; Tue, 9 Jul 2019 08:14:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqzfl5WMDCX6fP4w33V27q1ZdjQbBp6YqgNEBkCgf3xvW8GYdsRktXCi5FB3ZaRjcDcv8W1W X-Received: by 2002:a17:902:24b:: with SMTP id 69mr31458585plc.250.1562685272490; Tue, 09 Jul 2019 08:14:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562685272; cv=none; d=google.com; s=arc-20160816; b=PCyEBOUawc8ncWHDVfY2245anPZVBSkQdu1Ip3bqh/bPJpDYygwcaSScTJw7YtB/c7 EaRoopmnXdJw09N2izFGvimcbXvwu51MT2ozzLXEGPMKW7gnDms8VVGZ5KKsa5C807c8 ZJnKKXK8YoE/YAFHKy8tiwYsiPwQAARQXJ7fWArz3Fjc1y+A4bnn7jnHOiL0TOnD+zHa qg5+5VRbhdUyCnys8Ndwhm96A4fhh/r6cVt+eHSMv958PLlXqk5g6LG28pwSEJzWX6YD FFfVwO8YvsyLs/ki5mLPErdlAxZXoU3AeIdKjbM5J5JqpCXy0hh44fTPRFfjewyz8Gin 4Jpg== 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=hfnC2/m/MFg9EHjDjHxud/UiI6lOjjezdB8NnZ1IpJw=; b=WmHblwnf5iJenjZgb+cyy723gHMuw95KzEZDyxaIEuQWfRa0YdBK6r1qBRaoAIp3U7 HLZgClXRf73xQUX72gIdi5Jw4yh0sfQ/PxFHQT5CfugPnNT/mafjhqdz6cPa4VXu5wcT ROcTeHa+60+Z4ZhUTYfmBGtfBFxK44qCNMVrZolBmyzzxnIBwFnIryHhDL/VsrM1ycNt VEu/IcJUekGUZS+NdW4dRRdFAzYB4qhkE345B43g2CFUWzCSH1Mfk+SBqnS4BKqZxo3Q PnsH8RdaSf2i/mSNv3R7uwZC0D6Lpiksg1WnFPaygK0oR/dh9VtQYxlULOZzejw705f6 +2Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amdcloud-onmicrosoft-com header.b=XgbjWvcb; 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 a24si3122847pju.32.2019.07.09.08.14.10; Tue, 09 Jul 2019 08:14:32 -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=XgbjWvcb; 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 S1726436AbfGIPHc (ORCPT + 99 others); Tue, 9 Jul 2019 11:07:32 -0400 Received: from mail-eopbgr780071.outbound.protection.outlook.com ([40.107.78.71]:26571 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726115AbfGIPHb (ORCPT ); Tue, 9 Jul 2019 11:07:31 -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=hfnC2/m/MFg9EHjDjHxud/UiI6lOjjezdB8NnZ1IpJw=; b=XgbjWvcb+2tDUbJmYen7rwzmogMW9dHwvTeN0gjNd+hWPPyKzOApsjtKyc0GefL1mraKC2VJx3CQS8vVaDFx/GOdb/IHVoqrdkaEU3jXLok/6hYCf7PRu+4/KC8AfWp6F2owrmADqcdTcExCAFRU5KzHW2PjHvZY42ANjP6cyGM= Received: from DM5PR12MB1449.namprd12.prod.outlook.com (10.172.40.14) by DM5PR12MB1420.namprd12.prod.outlook.com (10.168.239.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2052.19; Tue, 9 Jul 2019 15:07:22 +0000 Received: from DM5PR12MB1449.namprd12.prod.outlook.com ([fe80::a894:b1d5:a126:adce]) by DM5PR12MB1449.namprd12.prod.outlook.com ([fe80::a894:b1d5:a126:adce%6]) with mapi id 15.20.2052.019; Tue, 9 Jul 2019 15:07:22 +0000 From: "Hook, Gary" To: "linux-crypto@vger.kernel.org" CC: "Lendacky, Thomas" , "herbert@gondor.apana.org.au" , "davem@davemloft.net" Subject: [PATCH v2 2/4] crypto: ccp - Add a module parameter to specify a queue count Thread-Topic: [PATCH v2 2/4] crypto: ccp - Add a module parameter to specify a queue count Thread-Index: AQHVNmgClYXDRarhE0GjTEUyKf6VXw== Date: Tue, 9 Jul 2019 15:07:22 +0000 Message-ID: <156268484090.18577.16731799957627038546.stgit@sosrh3.amd.com> References: <156268468861.18577.13211913750250195885.stgit@sosrh3.amd.com> In-Reply-To: <156268468861.18577.13211913750250195885.stgit@sosrh3.amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN2PR01CA0015.prod.exchangelabs.com (2603:10b6:804:2::25) 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: b28cbed0-417b-4448-5f3f-08d7047f24da 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:DM5PR12MB1420; x-ms-traffictypediagnostic: DM5PR12MB1420: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-forefront-prvs: 0093C80C01 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(366004)(39860400002)(136003)(376002)(396003)(346002)(199004)(189003)(71200400001)(66066001)(76176011)(8936002)(102836004)(81156014)(26005)(8676002)(7736002)(71190400001)(256004)(81166006)(6512007)(186003)(72206003)(99286004)(305945005)(86362001)(386003)(52116002)(53936002)(6506007)(2351001)(6436002)(66476007)(66556008)(64756008)(66446008)(446003)(316002)(11346002)(6916009)(25786009)(68736007)(478600001)(6486002)(6116002)(3846002)(5660300002)(4326008)(66946007)(5640700003)(2906002)(2501003)(103116003)(476003)(486006)(14444005)(14454004)(73956011)(54906003);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1420;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: rV3Bs7h9JHKrjStbdqLr1AZ2EVu0kefaOn329kWi+PsghEKT/2A1vfhGXlKY71HrSN/V1j7Buz1QZW6AZIAzpeVg6u+A46tW7Ur50mNn27ttXKd/jnO3gJin4GjGOtqMlTUTVaf/ufiDP+dAO/gfqTDFv23asIf/n+PDyo1xrTfqNNurHj1ZGqUg6h1XlPouZW0dlD2ZISyImcdoTT+3+ZQrGdeSLyU+8Z/3n1OCLZMMurPWcz0LOJHQgxpOlJ5pdk5HtoZsm1keMlUiCARInLiNMOdAZtNuVMsgLDvBRtA4wpAd8IrcJbVIyY3vdxv8jPrNLFKn1BiffmKZ9gPGM5WGMysaMI1dZojGTbEpsT9KmJ7ydxdVMwSbdCWIGaIoN6qTjgRd3Akbzdv4eqp5H0l5uvkl65X3n7jpfqupIGk= Content-Type: text/plain; charset="utf-8" Content-ID: <5D6DFEE2CAB25544924B9A775B126CC7@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: b28cbed0-417b-4448-5f3f-08d7047f24da X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jul 2019 15:07:22.3794 (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: DM5PR12MB1420 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org QWRkIGEgbW9kdWxlIHBhcmFtZXRlciB0byBsaW1pdCB0aGUgbnVtYmVyIG9mIHF1ZXVlcyBwZXIg Q0NQLiBUaGUgZGVmYXVsdA0KdmFsdWUgKG5xdWV1ZXM9MCkgaXMgdG8gc2V0IHVwIGV2ZXJ5IGF2 YWlsYWJsZSBxdWV1ZSBvbiBlYWNoIGRldmljZS4NCg0KVGhlIGNvdW50IG9mIHF1ZXVlcyBzdGFy dHMgZnJvbSB0aGUgZmlyc3Qgb25lIGZvdW5kIG9uIHRoZSBkZXZpY2UgKHdoaWNoDQp2YXJpZXMg YmFzZWQgb24gdGhlIGRldmljZSBJRCkuDQoNClNpZ25lZC1vZmYtYnk6IEdhcnkgUiBIb29rIDxn YXJ5Lmhvb2tAYW1kLmNvbT4NCi0tLQ0KIGRyaXZlcnMvY3J5cHRvL2NjcC9jY3AtZGV2LX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