Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2914147ybd; Mon, 24 Jun 2019 15:17:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzComeTjPNV6Ea2ADWyqA/kx/Pu17tjH10DedqnoeEiJP6fVnodNE4LG/xsrQaU1rHjaq49 X-Received: by 2002:a17:90a:9289:: with SMTP id n9mr27758234pjo.35.1561414622570; Mon, 24 Jun 2019 15:17:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561414622; cv=none; d=google.com; s=arc-20160816; b=g1qrngSLzKW03pXaYFHC0aEvKVGjoW9C4UHP3vCd43JG31uaCrECub2oI/5wtuQI0E edYTa+XtjbQd9GbwsdXyNC9WPErSYydwzeM9lVCP4vMXzOAnIgifCvDVlLFLF84vdV4Y MkkZiF5XRoJACMAg0mhmTQZHKMxobmnCQ4dOX6uer0BGGX34Zkn8mlpXlYSunn1ipnxv FFmSg/ydLVdIbddp35nsz6VenmrGq/nvzF6kAWxfThXH9oK4q8Z3r76b6Ji/fc29vBgM fg6PxkLXnQYkXXCq6U2TTcDISsTPdW08RKn/bCdntOGbN0G7L8RTuvZPMS1C8cu91shN dY+Q== 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=xctVnCy8zb10p2BaRqh3+mzywDMnU1k7+FAZ/b2rKQk=; b=FwFUsPWliSuukxpjIzRt/k1Oub0ZqP/wF384N9QXhNknI9VC9jziB+7cU+Eg8wQpas oVntxKsjG8ByR6SToh6pqvN31Bo3F7iPtFEqysyFrzgSh4rRnS0Rx3VpwcZMCMTlXEX9 HozxdO9MoaeAMIu+h07yq3nRC5/nXRPvOpmMs3hS2SKoMp6C0xDuXvCqFyxgSwMaHRwo aeIXDibtn25ahziKBgABelNIRm/pjvk/TI3difZGGQTCU7dOkgE/rzn9879gYirgIB8p u9lzW4XLak+VqgMA7D4ttsfBgEmVobX0MYUib7e1SeW6oxZWl5nl9uzmrG5OvpiHlAds +F4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amdcloud-onmicrosoft-com header.b=0hDHdi6n; 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 m3si1971527pgq.148.2019.06.24.15.16.48; Mon, 24 Jun 2019 15:17:02 -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=0hDHdi6n; 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 S1726415AbfFXWLv (ORCPT + 99 others); Mon, 24 Jun 2019 18:11:51 -0400 Received: from mail-eopbgr770053.outbound.protection.outlook.com ([40.107.77.53]:30709 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725881AbfFXWLv (ORCPT ); Mon, 24 Jun 2019 18:11:51 -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=xctVnCy8zb10p2BaRqh3+mzywDMnU1k7+FAZ/b2rKQk=; b=0hDHdi6n5hqtnwfTpdpv57YvDz5qYHn5QnQq70dvOjPzA3/W7ypVb6VU8zrKYui8NIFe1JG9LsaS9zYAb8fbMutWbgdPccL8rF1Eg8eU1mpF1CbkToJsoTkCipUdqj5yYN7GZSNzk7pGbx0X1Jcze0QH1Gi4ofW4tSNxe/9c5VM= Received: from DM6PR12MB3163.namprd12.prod.outlook.com (20.179.104.150) by DM6PR12MB3132.namprd12.prod.outlook.com (20.178.31.78) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.16; Mon, 24 Jun 2019 22:11:48 +0000 Received: from DM6PR12MB3163.namprd12.prod.outlook.com ([fe80::1ddd:450:1798:1782]) by DM6PR12MB3163.namprd12.prod.outlook.com ([fe80::1ddd:450:1798:1782%6]) with mapi id 15.20.2008.014; Mon, 24 Jun 2019 22:11:48 +0000 From: "Lendacky, Thomas" To: "Hook, Gary" , "linux-crypto@vger.kernel.org" CC: "herbert@gondor.apana.org.au" , "davem@davemloft.net" Subject: Re: [PATCH 04/11] crypto: ccp - module parameter to limit the number of enabled CCPs Thread-Topic: [PATCH 04/11] crypto: ccp - module parameter to limit the number of enabled CCPs Thread-Index: AQHVKsMSrsQozUDjtU6Imzpo6GFCDqarXhkA Date: Mon, 24 Jun 2019 22:11:48 +0000 Message-ID: <68ecc0ff-2746-fc7d-5ed1-856b49f09d22@amd.com> References: <156140365456.116890.15736288493305066708.stgit@sosrh3.amd.com> <156140453629.116890.465562924738110016.stgit@sosrh3.amd.com> In-Reply-To: <156140453629.116890.465562924738110016.stgit@sosrh3.amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN6PR02CA0033.namprd02.prod.outlook.com (2603:10b6:805:a2::46) To DM6PR12MB3163.namprd12.prod.outlook.com (2603:10b6:5:182::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Thomas.Lendacky@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.77.1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9bb1d6e2-cd8e-4779-112c-08d6f8f0f3a2 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:DM6PR12MB3132; x-ms-traffictypediagnostic: DM6PR12MB3132: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 007814487B x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(346002)(366004)(396003)(136003)(39860400002)(189003)(199004)(81166006)(36756003)(6246003)(53546011)(11346002)(8936002)(6506007)(81156014)(66946007)(2616005)(386003)(14454004)(68736007)(76176011)(99286004)(73956011)(31686004)(72206003)(4326008)(25786009)(476003)(486006)(52116002)(14444005)(256004)(5660300002)(478600001)(305945005)(3846002)(6116002)(7736002)(26005)(66476007)(64756008)(66446008)(53936002)(110136005)(2501003)(2906002)(66556008)(8676002)(316002)(31696002)(186003)(54906003)(6436002)(71190400001)(71200400001)(229853002)(86362001)(66066001)(446003)(6512007)(102836004)(6486002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR12MB3132;H:DM6PR12MB3163.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A: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: nTBXljpzeVLCaWzf08frLdYTKR/0N3bl4PN9XsBJHHD0WySjYVb84rPw4iR926Q70Z2BtAG9npNk1eRPwa0aR0IN7xMkyTwhZhwgsK02b+mRd655B9lSAG49cnFZFZaWj/SYVc1zVZT6sP3wYqPs6E2MJYl7OewGz2N9Pngmt/tsSqMTQXWKUR4JdOisuSBBl4gG015z1U5pyS8SC9tsTZM8+3JSolEZ/PJS7chBLfBbW8eJyLicW0pHoTRYbR2Ta4tFUCBYsjCiSNjCCj6Byaua5dH8jAYguUGP2hJnzv8+U4B3g/yIWrjk2wcm3sI62FaACSLzu5qW5tWmpdt38glh5KqusmgPMd/bD+fruwnLYcCKK/BBxQwlm54EY01owtoec/SAFB9RIMULaA2JknLqDNWPunNppClwS79KmAs= Content-Type: text/plain; charset="utf-8" Content-ID: <6DA0FE5FFD08E747A4849E81932B5FA8@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9bb1d6e2-cd8e-4779-112c-08d6f8f0f3a2 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2019 22:11:48.4846 (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: tlendack@amd.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3132 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org T24gNi8yNC8xOSAyOjI4IFBNLCBIb29rLCBHYXJ5IHdyb3RlOg0KPiBQcm92aWRlIHRoZSBhYmls aXR5IHRvIGNvbnN0cmFpbiB0aGUgdG90YWwgbnVtYmVyIG9mIGVuYWJsZWQgZGV2aWNlcyBpbg0K PiB0aGUgc3lzdGVtLiBPbmNlIG1heGRldiBkZXZpY2VzIGhhdmUgYmVlbiBjb25maWd1cmVkLCBh ZGRpdGlvbmFsDQo+IGRldmljZXMgYXJlIGlnbm9yZWQuDQo+IA0KPiBTaWduZWQtb2ZmLWJ5OiBH YXJ5IFIgSG9vayA8Z2FyeS5ob29rQGFtZC5jb20+DQo+IC0tLQ0KPiAgZHJpdmVycy9jcnlwdG8v Y2NwL3NwLXBjaS5jIHwgICAxNiArKysrKysrKysr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