Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3153879ybd; Mon, 24 Jun 2019 20:28:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqwROfvBBxN9OakHCqQOPCbHI2UtzJ8ZTpnhZzN7ulnIhPnXLe6/LiVEl1vcoCvvLbYQUjnb X-Received: by 2002:a17:902:4222:: with SMTP id g31mr75185709pld.41.1561433336107; Mon, 24 Jun 2019 20:28:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561433336; cv=none; d=google.com; s=arc-20160816; b=H9ITjcH+hyW8ihXIxigCrFcAHb0ntV6vkcREdJAEu7gKgNQSNI7jWtX2uCAdNi6RvW tvUzHxtfT+yRYWxVKy76wPnuz4fzAR+MBregFlGujzFpgk2/+B7H77+7EI8s61vV1n4W LeoRWBPnfgSsU+/AlG+3IiFZg1976SEflbQFT7DWtGLaHwuhdEisVTHn6f+uyfRy/THv 5nhMrB3Go5VWQzL5FfNVrLr/SD/GxIiDuHAAbVax9VMoq5E00tzhDpOehPWQRjg99Jmx LtlXlGIFscuYM+ZBcanWUY57O5nLfniudItj4nwyiY975b9ZFn+FoXrujWSBMNO88EEp /vQQ== 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=boI2jyzBIXd2Ff3/NQqrHrABjGlvvFgEJvUfySUGiNs=; b=luzWqkFnzBLB6FS2lKlLqewrGIIqfJv/XZgiobl0Dmyys54/SLHq9MAnlN123fEdV5 Gmzdr5ij00CZE/DJh4cMNB2qjiSi5NW4iSOxvvk95HWl+MBwLLaFCgK5GZpx4mjj5G3K +JsrtSc5m8MvCiyD2oWqwibG0qDwCuZh7DITPXTey+oXP9YJ4dDpKySeBc6yMk2WgP+C dHyggs4T5jQoGPYv9Bga8A4aqwhPzCPoV+GOjtXsc2aXuaPCgj2B4gTYDHTC4ePgELMa ksdFhvwlQJORujHn17QcPWN9lU9F/KaPlKLwbJVwK+YHcWQ3UvD6cjswUdwXeYR39OXR crSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amdcloud-onmicrosoft-com header.b=QPmvI03Z; 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 y14si13706364pfr.82.2019.06.24.20.28.42; Mon, 24 Jun 2019 20:28:56 -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=QPmvI03Z; 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 S1726928AbfFXWpE (ORCPT + 99 others); Mon, 24 Jun 2019 18:45:04 -0400 Received: from mail-eopbgr710067.outbound.protection.outlook.com ([40.107.71.67]:18432 "EHLO NAM05-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726397AbfFXWpE (ORCPT ); Mon, 24 Jun 2019 18:45:04 -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=boI2jyzBIXd2Ff3/NQqrHrABjGlvvFgEJvUfySUGiNs=; b=QPmvI03ZRGt8tH7nrg45HnWtCeuDytzr8r6TwCtR/WiT2iMW8e/9dcrI332JhPVay0LVRj9qYDKTTbM7epOT7j7aM+/rswUEE+vWfCjLkl8CYnHtNwpKij/nmquIAnQnKolgUO9DDSN/DkSpeh2GoxLZOnKjdKFiqKUhLT7XKWM= Received: from DM6PR12MB3163.namprd12.prod.outlook.com (20.179.104.150) by DM6PR12MB3499.namprd12.prod.outlook.com (20.178.199.22) 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:45:01 +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:45:01 +0000 From: "Lendacky, Thomas" To: "Hook, Gary" , "linux-crypto@vger.kernel.org" CC: "herbert@gondor.apana.org.au" , "davem@davemloft.net" Subject: Re: [PATCH 10/11] crypto: ccp - Add a module parameter to control registration for DMA Thread-Topic: [PATCH 10/11] crypto: ccp - Add a module parameter to control registration for DMA Thread-Index: AQHVKsMrwoV0mzu7PUWfsCpihtfZJKarZ18A Date: Mon, 24 Jun 2019 22:45:00 +0000 Message-ID: References: <156140365456.116890.15736288493305066708.stgit@sosrh3.amd.com> <156140457814.116890.11773936937983757340.stgit@sosrh3.amd.com> In-Reply-To: <156140457814.116890.11773936937983757340.stgit@sosrh3.amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN2PR01CA0042.prod.exchangelabs.com (2603:10b6:804:2::52) 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: 34a75fc4-ae75-44d4-f6c1-08d6f8f5972f 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:DM6PR12MB3499; x-ms-traffictypediagnostic: DM6PR12MB3499: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4714; x-forefront-prvs: 007814487B x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(376002)(136003)(346002)(39860400002)(396003)(189003)(199004)(52116002)(6486002)(53546011)(68736007)(99286004)(31686004)(81156014)(6506007)(110136005)(386003)(54906003)(316002)(76176011)(2906002)(36756003)(66066001)(81166006)(186003)(102836004)(8936002)(7736002)(305945005)(26005)(8676002)(2501003)(256004)(72206003)(14444005)(6436002)(6246003)(4326008)(6512007)(25786009)(446003)(486006)(66446008)(64756008)(66556008)(14454004)(6116002)(71200400001)(229853002)(5660300002)(2616005)(11346002)(476003)(66476007)(3846002)(71190400001)(478600001)(53936002)(86362001)(73956011)(31696002)(66946007);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR12MB3499;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: PDeDGi+s4FdECg4Kh44R8MxGZ+hHJagRUokHb+3KKc4V97UdKvm9z2TNpBi9Th+HoT0tkaMIuklsBFd/wzkncG8KV7UwyEzUf9zFgC8u1E36VHLSqcvRHdJ0lFNp5LpzjFVFio/V21n0kWPBo/UUZHcOUEAyj4E1P3psF+OGiXVlPyRj2bLg+DVkcv0TL5xf8obmijOj3F8qfztD09m+CCwhSXvOZQKN1+X8798Dj0o5T7KIJToc10CLAcwTpYQA9gnJwDrwrjZhxeUdP4GejEnyzvt8LizypsNEAGCrkrx83dmqk6iA81W0BoVGxHCaLg3F/OLs5/+U2tHwAMgHLR7AsD6uIUZwkQFkv6gdsJKZg+i5L9PBQHwNTRelbBbN0DpmtBpoY/ml+TtSfnycHcTt/zsK0DygKqSYR7uNkBQ= Content-Type: text/plain; charset="utf-8" Content-ID: <6819672DCC9D28408F0F1D75B49BFF3A@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 34a75fc4-ae75-44d4-f6c1-08d6f8f5972f X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2019 22:45:00.8551 (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: DM6PR12MB3499 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org T24gNi8yNC8xOSAyOjI5IFBNLCBIb29rLCBHYXJ5IHdyb3RlOg0KPiBUaGUgQ0NQIGRyaXZlciBp cyBhYmxlIHRvIGFjdCBhcyBhIERNQSBlbmdpbmUuIEFkZCBhIG1vZHVsZSBwYXJhbWV0ZXIgdGhh dA0KPiBhbGxvd3MgdGhpcyBmZWF0dXJlIHRvIGJlIGVuYWJsZWQvZGlzYWJsZWQuDQo+IA0KPiBT aWduZWQtb2ZmLWJ5OiBHYXJ5IFIgSG9vayA8Z2FyeS5ob29rQGFtZC5jb20+DQo+IC0tLQ0KPiAg ZHJpdmVycy9jcnlwdG8vY2NwL2NjcC1kZXYtdjUuYyB8ICAgMTEgKysrKysrKy0tLS0NCj4gIGRy aXZlcnMvY3J5cHRvL2NjcC9jY3AtZGV2LmggICAgfCAgICAxICsNCj4gIGRyaXZlcn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