Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3151849ybd; Mon, 24 Jun 2019 20:25:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqyhP7tZWuHp8QSNpLAltpVcujZd38EoYvr60lLE6dBY4zvTjCFbYIHr7NjuCM0z0/0RSaM5 X-Received: by 2002:a17:90a:dd45:: with SMTP id u5mr28137681pjv.109.1561433125561; Mon, 24 Jun 2019 20:25:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561433125; cv=none; d=google.com; s=arc-20160816; b=OP+B4e11ueKkV0kZ2RlLRHD6bgJyTatPqXtscZHoVdrKSHPB3v/nEhslYq5DM0nspe rjoIxVM3FdFyruLFlGekGXjv+eQ/Thz/cnxjvrP5QtIWx7VJj3IOriETER0WIiPoqwGv lqSDyFy2nQ+vXADJMcOjKuEurM0YkY4FA0C9bTqvmV3Y0LkRGyZTh48SFkMiuU3GsSTt Nl3id/o81sw+EQC4C0y2EqQcTJ6UjCK9EAE7I/3ZTPK/724ENvWhyhFvK5y2PiUg8ZfZ FHtYk8Oec/Z1KOe6rTCGtmhhm8CpNFwiE0/JcW9Qp0ouQUSky76iKZJFwfdcKnZwi3ri +yhA== 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=PkEucYze5SGI1SBHhPxC8wSgX+qxCysJBwBka2Enzh8=; b=b7FrmOqz0Z5wnJNwuHqunOX6DqKbZq7HRWYqA54JAgHiXJ/WL1npvP0FSNiiFEmYwA CH+qUhKxcPbSdy1cgY/msmv12mvmyVBW2hg8dMsok/ABMDNmF3mDPJQDV2+jI0bFdRqU TDjhR6wWPCmq57QiRP4W0x4ai/eSf22TnTcp7E91tMjHP8JiR1ZScAbkGhCYORWZQU7N //DdOswkFyCf4z8Z4G6fXWTwFZFDSYB+MKoLBaDuTtioLjVNX+RMju1+2CDJi+Dn20AK IQQPUWNfP75pz+oK3u2/34m2deKsHxzmuZlvKwpQpn/zPCEdhtB9gUcGtCZIadyya2PR QaMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amdcloud-onmicrosoft-com header.b=ghGcQxzs; 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 36si12803950pla.80.2019.06.24.20.24.59; Mon, 24 Jun 2019 20:25:25 -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=ghGcQxzs; 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 S1726413AbfFXWnS (ORCPT + 99 others); Mon, 24 Jun 2019 18:43:18 -0400 Received: from mail-eopbgr740071.outbound.protection.outlook.com ([40.107.74.71]:18784 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726397AbfFXWnS (ORCPT ); Mon, 24 Jun 2019 18:43:18 -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=PkEucYze5SGI1SBHhPxC8wSgX+qxCysJBwBka2Enzh8=; b=ghGcQxzs+WqcoWmsyZWBeSa7N5UsLCvXALatc0die0grNDTEHsAdk5ddGNSfXc1IG8+b3RvJqMmONmR4QPweap31n6vNE+GP95SPTVjIJRxr3VDfRagZhwjg2LYflKLHxAp9Y06cqBB3R0eZMt/Glg9NSp/oH2kp05qLgG6iXwM= Received: from DM6PR12MB3163.namprd12.prod.outlook.com (20.179.104.150) by DM6PR12MB3547.namprd12.prod.outlook.com (20.179.106.214) 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:42:35 +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:42:35 +0000 From: "Lendacky, Thomas" To: "Hook, Gary" , "linux-crypto@vger.kernel.org" CC: "herbert@gondor.apana.org.au" , "davem@davemloft.net" Subject: Re: [PATCH 08/11] crypto: ccp - module parameter to allow CCP selection by PCI bus Thread-Topic: [PATCH 08/11] crypto: ccp - module parameter to allow CCP selection by PCI bus Thread-Index: AQHVKsMj3YNLUIdYfEG2yn2ZEXfqKaarZrOA Date: Mon, 24 Jun 2019 22:42:34 +0000 Message-ID: <2f1af9c8-1136-efd2-986b-244e9b4a4277@amd.com> References: <156140365456.116890.15736288493305066708.stgit@sosrh3.amd.com> <156140456385.116890.10589968291918678953.stgit@sosrh3.amd.com> In-Reply-To: <156140456385.116890.10589968291918678953.stgit@sosrh3.amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN4PR0501CA0122.namprd05.prod.outlook.com (2603:10b6:803:42::39) 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: e8745273-d617-44fa-0428-08d6f8f54035 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:DM6PR12MB3547; x-ms-traffictypediagnostic: DM6PR12MB3547: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1923; x-forefront-prvs: 007814487B x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(366004)(376002)(396003)(346002)(136003)(199004)(189003)(6246003)(4326008)(256004)(14444005)(99286004)(25786009)(31696002)(86362001)(2501003)(3846002)(71200400001)(71190400001)(26005)(53936002)(14454004)(2906002)(76176011)(52116002)(36756003)(6116002)(72206003)(53546011)(102836004)(386003)(6506007)(446003)(476003)(5660300002)(478600001)(11346002)(2616005)(486006)(54906003)(229853002)(316002)(110136005)(73956011)(305945005)(8936002)(7736002)(6512007)(68736007)(66446008)(8676002)(81166006)(81156014)(6436002)(66066001)(66476007)(66946007)(186003)(31686004)(64756008)(6486002)(66556008);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR12MB3547;H:DM6PR12MB3163.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: chcyaOA47J9ZhZmSYbzR0mD6AKtLZV9eZapocx+HpcocSRnyjYGCYLa7sHGkORvKDy+/FPxtGFdDOyf2XmoUq1HVhnYZjqkqIobPQwCCZ2gL+lQMSPY8kiaH9lKZjiQO+bSy7bAF5KBulyXZjrs8VNC4G7BbMPIyPdN0YOKh0LgDtVWrbKbPB3zdRF6QnhKnUGvwPbG66tUkzFDNB7EPcUhfmsdWwqNvCV4woAF1scTT72vf60SAI1x1PBpSoBtchc/xF6yVajIPiQe5d7ZIW+yYynYlFwuQSZ4H5jhKtfmlrESuS+RBIcvhhggGtKXPmdoII1yk3AKrudhT3fRJscsoEzjbs38U8wsxfSb1oNIV1rMwpTSIWIGoaYaDP7y0KxMdP4gIr4V2RJnpdktIJkOiL9pj7qZobdsJYynEdm4= Content-Type: text/plain; charset="utf-8" Content-ID: <66C9E5AC9CF82B4CA299BFD360B9000D@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: e8745273-d617-44fa-0428-08d6f8f54035 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2019 22:42:34.9804 (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: DM6PR12MB3547 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org T24gNi8yNC8xOSAyOjI5IFBNLCBIb29rLCBHYXJ5IHdyb3RlOg0KPiBBZGQgYSBtb2R1bGUgcGFy YW1ldGVyIHRoYXQgYWxsb3dzIHNwZWNpZmljYXRpb24gb2Ygb25lIG9yIG1vcmUgQ0NQcw0KPiBi YXNlZCBvbiBQQ0kgYnVzIGlkZW50aWZpZXJzLiBUaGUgdmFsdWUgb2YgdGhlIHBhcmFtZXRlciBp cyBhIGNvbW1hLQ0KPiBzZXBhcmF0ZWQgbGlzdCBvZiBidXMgbnVtYmVycywgaW4gbm8gcGFydGlj dWxhciBvcmRlci4NCj4gDQo+IFNpZ25lZC1vZmYtYnk6IEdhcnkgUiBIb29rIDxnYXJ5Lmhvb2tA YW1kLmNvbT4NCj4gLS0tDQo+IC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