Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2896266ybd; Mon, 24 Jun 2019 14:56:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqxq0XOrv4TlsZBqXFNELPnyHNnxBRi31YyILqP6O1SwLHRTJx82ZBYOwHzVFDWilknviT+R X-Received: by 2002:a17:902:2884:: with SMTP id f4mr62891090plb.286.1561413381535; 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=ZI51cSEdO9ThTpv/5rcvbcDqqs+FDRattctxax+r8ffHo8GBFvMOyONHeZp0C2ATLP Q0HDSrnJxSA/PdXb8PswT+kKfhOyRTNXA4GPk+cn/lyMCSh8A0nCrNSH0J6a18fftBpi 1xgwdvClWGpHniyLj/8QGVxEEg/666CSlCxX+LyLxh/NS1/xkXNJzA3kb8pkmhSqEpN5 D2u2eGVWzf5xtA/qf4J4MEvbIjvnesrpaySvELoDZT2u+ma7bgsAnn923CbHkUvydr8n csVRkoWy9n5d9Jk1lypoP+Y9cZh/s202U1MarsLP7nr3mm70/LIQbQZT4N5DwPjL/0u5 y07g== 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=efx/xUiM/1hgUh19isBGC1UtJppMtEmIVDZqY1CYe8Q=; b=UV0/To0HZaouS5TDWErFAgfPPdoK61qDxx2xi5QW5fk9YDXqbm3U4PM0QYVeOz6DGM Q7cpgL0XwAN7BWyhg5mC9rpaly3qEv6iqFPq1KNYzngqu0WH/66JbnIDkGtBfEVj4f95 A4B8BdXbPPUpRs7FBznamcIODeLssA43JHA+5oP0wuTDwWqBdVhy51NjnUC3woA0cIYZ kO+9IHGJytd900O/YyQbp9KbU/bNDzUyBhl+Cm7dy01l9A21SJsO8gqfvLaESr49Fph5 CNXeRQP8LR+1kjIjH4AVUMffO3/hMav9VhUOd1NEWjbaQiIT/b6m//ob8QKgwvxRRDjt qE8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amdcloud-onmicrosoft-com header.b=y5QSAtJW; 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 r11si11677388pgr.18.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=y5QSAtJW; 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 S1729551AbfFXT3A (ORCPT + 99 others); Mon, 24 Jun 2019 15:29:00 -0400 Received: from mail-eopbgr820087.outbound.protection.outlook.com ([40.107.82.87]:47712 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725881AbfFXT3A (ORCPT ); Mon, 24 Jun 2019 15:29:00 -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=efx/xUiM/1hgUh19isBGC1UtJppMtEmIVDZqY1CYe8Q=; b=y5QSAtJWDafld7cYwkuIhcbH/Gikegaq5E4qjH6BzzTXLi8Lr0lYpQRx6zHWt2lmSZKv6qmuCH6C58w+P6nUOMLcFJs3YkLLC3xVRzqHRUqF0/xYmgrYZxLSvy/U4oz6fL6E8TkweD1SZFh/oVeGk+HRCpZgl5YIb9QJzF5/WH4= 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:58 +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:58 +0000 From: "Hook, Gary" To: "linux-crypto@vger.kernel.org" CC: "Lendacky, Thomas" , "herbert@gondor.apana.org.au" , "davem@davemloft.net" Subject: [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: AQHVKsMRXMi2BrYQekO9z9cQ78M/Tw== Date: Mon, 24 Jun 2019 19:28:57 +0000 Message-ID: <156140453629.116890.465562924738110016.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: SN1PR12CA0078.namprd12.prod.outlook.com (2603:10b6:802:20::49) 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: 25e97f08-fec5-4a05-27e7-08d6f8da33ea 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:5797; 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: 46Pw/PsxXOWXbk5QRE5tEyALZpS1vfZH69hRRRmfgSUMtVvXRnrJVrkMQ6TCMvixMLW5k7SHRDcP4GPDaRKjWf+4MR3KEEL3L/+xpMjlCuGn+6Ev5/yTN+Knrt1SQFGf6/s9d5lSfwxmF4NqvNNKICpEdFf3AML5W6v5Mn/41Zj/fIVcjuR2XfUJpHJUj2CJu2qbllxAmV4w4kRRXtlTPyik/INzXtAmLzlNXJ5XV7c1+j3urRlGCJkCOW6/ypA+MU02AeeaBKiYZO1CbUVBa273RJx+LQkWHCY97bGrGPgsH5jjIsCocHuZREeXOcbBaCcaozTQU/7vgf0q05+p2A9jKDCK1B5THLgXBPr+HYmYru+69+zEv1/0UcVNgKUZ7/Zf/bANEe39NC0qCD962xNi5morvgf2d0Aja4XjGlQ= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 25e97f08-fec5-4a05-27e7-08d6f8da33ea X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2019 19:28:57.9898 (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 UHJvdmlkZSB0aGUgYWJpbGl0eSB0byBjb25zdHJhaW4gdGhlIHRvdGFsIG51bWJlciBvZiBlbmFi bGVkIGRldmljZXMgaW4NCnRoZSBzeXN0ZW0uIE9uY2UgbWF4ZGV2IGRldmljZXMgaGF2ZSBiZWVu IGNvbmZpZ3VyZWQsIGFkZGl0aW9uYWwNCmRldmljZXMgYXJlIGlnbm9yZWQuDQoNClNpZ25lZC1v ZmYtYnk6IEdhcnkgUiBIb29rIDxnYXJ5Lmhvb2tAYW1kLmNvbT4NCi0tLQ0KIGRyaXZlcnMvY3J5 cHRvL2NjcC9zcC1wY2kuYyB8ICAgMTYgKysrKysrKysrKysrKysrKw0KIDEgZmlsZSBjaGFuZ2Vk LCAxNiBpbnNlcnRpb25zKCspDQoNCmRpZmYgLS1naXQgYS9kcml2ZXJzL2NyeXB0by9jY3Avc3At cGNpLmMgYi9kcml2ZXJzL2NyeXB0by9jY3Avc3AtcGNpLmMNCmluZGV4IGM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