Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2896568ybd; Mon, 24 Jun 2019 14:56:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqwlOOiIDg+ivqFUIhcn76cbOKuW5OHUmfFHBxA+AN3ZyNdGrBh78K/LplBMrz1mAQL3cSBP X-Received: by 2002:a17:90a:be0a:: with SMTP id a10mr25903595pjs.112.1561413400494; Mon, 24 Jun 2019 14:56:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561413400; cv=none; d=google.com; s=arc-20160816; b=ZWW6MypZF+8BwgSh61diJXrI0LMZHAmDN4WXocWiHXcZbqWGQGIPaowJxnlLWkEEEw W8TjlmJWZrMQTn8poaYd5RvJVSGnQN+Skesic4XgjvBpDost0J9KrSqEsKqT5I0T7rGM HSmmGPynUUrWVBZMlPAXSH/g04cojkjs/pmzl4RLt1w+EcS5A95x/0eQbm8SzBBXGBGJ 4L0xTnf723FmLTcHXomG1yv4G5ebeMMovqxz7Eu0RbiCYpDHSprgf2RrA8nQ069ea6JR BD01xGgynLWM3sqPeTIMcuGBRBr/xZg4sj9sZSCy7hVb6NP2I/VUWs8X5p781GeeoU0T QvMg== 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=3ruTpwtkmEkVWXcIoZRJ30eLH+aCcboXyA4NEc9X204=; b=NcU197kx2+XT5whLVsFDO6hTWOMJw1a/uTEr8EmUFrXo4NyOrrnppJUb0EK3TdxtFQ oNznrDZmmcsLC5Kd8K28lxx3PCzK6geeEF/GsqxTKvFDGmTDgBF78iCKGdgxaHo2JnhE eEPBkscNyTxevroiSf6/9JctQcMpAjoenjzE8dvhadNZXBPwOLOu7H7CtMBqYh+Nq5YP gm0YtLE7eO2qQNEeb5WDsdmb9TAf/j96wiMZyChBgmmXvoNA08IHP6LS20bIR0FrMFTr zuxXOPpR4rFCbE6mqXxnHPN/WEIwcvLMypRl/kewnACWsW8zz2vPdK1n1xwcKPkFlpOV /YxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amdcloud-onmicrosoft-com header.b=1sTiRAnO; 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 f12si10816492pgq.61.2019.06.24.14.56.27; Mon, 24 Jun 2019 14:56:40 -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=1sTiRAnO; 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 S1725881AbfFXTaJ (ORCPT + 99 others); Mon, 24 Jun 2019 15:30:09 -0400 Received: from mail-eopbgr810052.outbound.protection.outlook.com ([40.107.81.52]:22917 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728413AbfFXTaJ (ORCPT ); Mon, 24 Jun 2019 15:30:09 -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=3ruTpwtkmEkVWXcIoZRJ30eLH+aCcboXyA4NEc9X204=; b=1sTiRAnO5NHG7bwApsK8cuVvK1jYfdnvf2xdS4zM+RzEzB75IdHolkkFXyeltiRDtOeevyLrkMCP4IsJyp6PhvF8OplWcuhvdpIAreB/1799Dfv0cHJn1br1b7broxkAGbVdLXHGCbMCE41RBvV++eUK923g7NuYJukflF+YiIc= 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:29:40 +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:29:40 +0000 From: "Hook, Gary" To: "linux-crypto@vger.kernel.org" CC: "Lendacky, Thomas" , "herbert@gondor.apana.org.au" , "davem@davemloft.net" Subject: [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: AQHVKsMq0yf3hKsaOUaFOuVjVcnvPw== Date: Mon, 24 Jun 2019 19:29:40 +0000 Message-ID: <156140457814.116890.11773936937983757340.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: SN4PR0701CA0040.namprd07.prod.outlook.com (2603:10b6:803:2d::18) 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: bef6d004-a155-4155-d1b1-08d6f8da4d09 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:751; 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: mosGT0dGUzPMvU47lPH8xt8mmEaVDpLU9e1qIaMxAXKen8IT79hvfv26WM2+KnPva2lY0QEt/RT2ztEAzkPc7tUrOg3P3yt01Tid7aIEBE6oAUt6GbnK7W9rPDOjCj/5GLhePyPN0rbSVhNaZ0YtP9EVRdWdfobVD3Yy43husL201GjZp06K9WAWYOSl67hukLEhnwcApybW2BWdtENyxEbI4CpwdJ5CCTak/yknmbn6VGS2xqvRSHLVa/RdCI/p9K6BjJR66/kwDmRZKzBRU722jwyCSC3HCyEusxdmYL4cVmlViQcKeMo9FpGb4RHFrQiKzqQHmFhKiJwWzO8FBTkwlAPxP5s8OLB66dJlU2+th6a6SzP4xc14+a36d9JNbUdEEDu2tno8gUS3d/3g2PMNfnO1rTtbsTWDalCnnWU= 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: bef6d004-a155-4155-d1b1-08d6f8da4d09 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2019 19:29:40.1284 (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 VGhlIENDUCBkcml2ZXIgaXMgYWJsZSB0byBhY3QgYXMgYSBETUEgZW5naW5lLiBBZGQgYSBtb2R1 bGUgcGFyYW1ldGVyIHRoYXQNCmFsbG93cyB0aGlzIGZlYXR1cmUgdG8gYmUgZW5hYmxlZC9kaXNh YmxlZC4NCg0KU2lnbmVkLW9mZi1ieTogR2FyeSBSIEhvb2sgPGdhcnkuaG9va0BhbWQuY29tPg0K LS0tDQogZHJpdmVycy9jcnlwdG8vY2NwL2NjcC1kZXYtdjUuYyB8ICAgMTEgKysrKysrKy0tLS0N CiBkcml2ZXJzL2NyeXB0by9jY3AvY2NwLWRldi5oICAgIHwgICAgMSArDQogZHJpdmVycy9jcnlw dG8vY2NwL3NwLXBjaS5jICAgICB8ICAgIDggKysrKysrKysNCiAzIGZpbGVzIGNoYW5nZWQsIDE2 IGluc2VydGlvbnMoKyksIDQgZGVsZXRpb25zKC0pDQoNCmRpZmYgLS1naXQgYS9kcml2ZXJzL2Ny eXB0by9jY3AvY2Nw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