Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2804389ybi; Thu, 18 Jul 2019 14:51:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqyP2YjmzPki0FSEtJe8rGLcRS8Pa5TP4QucNF2xHzEP1tZpTXhsNfIzTfRqWl/htJNYEwtc X-Received: by 2002:a63:590f:: with SMTP id n15mr3257230pgb.190.1563486668823; Thu, 18 Jul 2019 14:51:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1563486668; cv=pass; d=google.com; s=arc-20160816; b=NuAUvAcxsnW4d+3tHNExOMVcndrGH1tJrNCKwKE6CgpH9ozVtVBHLDl7SSjd4XSfL+ 8Trqkxuq47YjuI/W8+Tw1dBo8w404XdKKWcQfTf0tb23E+cG0uNUyp0t4rahSHS5cGoV 8erfe0HrKeQeDYqTepnpwdT/Kff6Q0P4ELiH+at5poJ/70DYOMY9S4UGCQYMRboz30K1 GCuaB5e1TO7qQBmAC3Hpd76RTTnRaiLaMixsnDvlcIwDMgAU7ffq6bo6DYrZdKPSCDDr fNAtvFPueDLq/h+WgxRj4yzgOzN99Ecm0O5rAxduN7MugoK0JZLhU3WpBHAUF7xXCtzc ivIg== ARC-Message-Signature: i=2; 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=4ml4QJQt6AsHKmiNwstugxARYL4BanhaEiYosIzoklw=; b=tT+fbjAiDymcSdV6gRYgyXhQVd/CHbcFgIBXYxyK/ubiRvoIwhalc4O+Sifr422mMx 1C8EUBBKnGY5RgPS5401HQkXHevespi4wMr7XYs7efPkWQwL/SLXy/q2cIbt5T+v9h0w W9vAgR/GNDI4Ie8TcgvaJ6yZSY9JLOsrwkWb9C/YRiqOPl1144Py/c9c8wcMr5KpTnBf j5l3NV/ylNE+4PR4Oqg8Ehc/2FnvC5BH54tOBvhOYByy2vGr1r9nuPJQ/LhYvWZRZqTN SxUPWGRI6XvQ1igvHQhQWNNh+ZBpmRDIHtBX5V0tuuhy9s076YbFjLibXjndQo7vNbnk NfrQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amdcloud-onmicrosoft-com header.b=IT62zS5B; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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 33si768484plu.126.2019.07.18.14.50.51; Thu, 18 Jul 2019 14:51:08 -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=IT62zS5B; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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 S2391428AbfGRVug (ORCPT + 99 others); Thu, 18 Jul 2019 17:50:36 -0400 Received: from mail-eopbgr680084.outbound.protection.outlook.com ([40.107.68.84]:35298 "EHLO NAM04-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727685AbfGRVug (ORCPT ); Thu, 18 Jul 2019 17:50:36 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iQuGqhwP6/sV8JqVQ39AGBLBDsBkMtP+FX/HBi3ER2n+cVDfr6p+71NT0geEVOcpwHJ8y9fbieTy+DkU+6WeEtnPdz5FQqLQWOfrEdr9DA6GXo+M6USnGqXCpgpYjXadTUmkk2DFly0Pvch5DpZg4XvzZKbOWaw5CSdLAMDcrnzomsi2UGF/cQAaVW3FSnKFkeHhNrzSwblAAgs9iiqys/Av6lEWsO6Ac3ixfeNIigRqkmgs3J5SSnKTwIUQeCUgvBqkxeBq8VGWTN/Q836lULZUPliT0LK99wmY+C7+mzjuNP29Uh1NKs8YDPs4Rom2rey+fTg5Y7ykDJ7mywG8Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4ml4QJQt6AsHKmiNwstugxARYL4BanhaEiYosIzoklw=; b=C8/TZNVkIN9DqE1Njgu+Zc7lWiLsIqLG30F6y2yogzu4SqvK85bzoPZECT751LjACUt2C4n2ULPNjijHMyK/p1a8bA11wMttFPcQONsIoMmjqdSwv5c34L3scLjBzwZb6kO/jJskBwstuQjY7hHHpDDYJaE/WFsWcxVyqoCvAZqe5RvQvuTK/NVRhUETUrzuC9RRVfXcRTMMDZ9QMPKjfD3bFOBQRjl9/EsxgBhYaNU0tGM2WBIymviiZbNLtuZcmeAOWMUh3DcL/m2hmXH3OZ25nRIo08eVe699AR+lp/tBw7TjOsWDM1OrE8ZESMMf1mGweKzXCKlXDUXDadZhnQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=amd.com;dmarc=pass action=none header.from=amd.com;dkim=pass header.d=amd.com;arc=none 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=4ml4QJQt6AsHKmiNwstugxARYL4BanhaEiYosIzoklw=; b=IT62zS5Bz5AMA65hmZCidU77Gmb6Rvhu89Vt6VvfQ/ahBh5mtBJv2cI6a+PXdAHoLYqdKvteAUxNJKxmlVpW7lY6dcetF69Oxc7MEHVsk/6JN9NmKxsBeq+5YSce83kPgIjsOqKEP6U4vir9ykft64MAwZ/rCPUnT8IBuDp6SWk= Received: from CY4PR12MB1448.namprd12.prod.outlook.com (10.172.71.140) by CY4PR12MB1159.namprd12.prod.outlook.com (10.168.163.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.14; Thu, 18 Jul 2019 21:50:32 +0000 Received: from CY4PR12MB1448.namprd12.prod.outlook.com ([fe80::347c:e57d:856e:d567]) by CY4PR12MB1448.namprd12.prod.outlook.com ([fe80::347c:e57d:856e:d567%9]) with mapi id 15.20.2094.011; Thu, 18 Jul 2019 21:50:32 +0000 From: Gary R Hook To: Chuhong Yuan CC: "Lendacky, Thomas" , "Hook, Gary" , Herbert Xu , "David S . Miller" , "linux-crypto@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] crypto: ccp - Replace dma_pool_alloc + memset with dma_pool_zalloc Thread-Topic: [PATCH] crypto: ccp - Replace dma_pool_alloc + memset with dma_pool_zalloc Thread-Index: AQHVPWsDtOPD9/LY2UmVglhxf2PvaabQ6swA Date: Thu, 18 Jul 2019 21:50:32 +0000 Message-ID: <96cc55c8-16d1-7c2e-1a7c-2b73c5cfa267@amd.com> References: <20190718131609.10974-1-hslester96@gmail.com> In-Reply-To: <20190718131609.10974-1-hslester96@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN4PR0501CA0091.namprd05.prod.outlook.com (2603:10b6:803:22::29) To CY4PR12MB1448.namprd12.prod.outlook.com (2603:10b6:910:f::12) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Gary.Hook@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.78.1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d10e8f67-c3aa-4e0f-1114-08d70bc9f4e6 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:CY4PR12MB1159; x-ms-traffictypediagnostic: CY4PR12MB1159: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:409; x-forefront-prvs: 01026E1310 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(376002)(346002)(396003)(136003)(39860400002)(366004)(189003)(199004)(2616005)(14454004)(102836004)(6506007)(26005)(53546011)(386003)(186003)(25786009)(446003)(76176011)(31686004)(11346002)(4326008)(66556008)(8676002)(7736002)(6436002)(476003)(66476007)(6486002)(64756008)(66946007)(6512007)(99286004)(316002)(6246003)(2906002)(6116002)(486006)(66066001)(71190400001)(6916009)(71200400001)(54906003)(66446008)(81166006)(68736007)(36756003)(8936002)(229853002)(31696002)(478600001)(3846002)(53936002)(1411001)(5660300002)(52116002)(256004)(305945005)(81156014);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR12MB1159;H:CY4PR12MB1448.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: JETpTMaeWOosD/QfOTGGmt0HvR536bOE0bN8n1EqkOV453PlkE+8Cx6TF05opHAphhxj5ZOtnJSwk8bBk0RH3Kf9ZlkHPs2ozDOmTTpOL4CHOxJzpf1yocvLs4AfA+0eTWu1qVmM4z+ObsoWF49CXfYtBUgu8pIKN+h7Pv2500oFB7dWxuvGjcg9oDcRFpL8bBzbbPmofkVA7rwJimbccxxiE94RwDV+gcN/vvPh6xTETICkq8xiX6hQxrOLuW9DNZcXugbh9iqB9syDgJfyLbHclVupa3pbWACkzEdFOPDXlO8uORIWXY3I7nL/7pzztZkHGfblHRxzzlF1VCITl3MITi2pS/fpT8q2y4xOqscGIpVyiIdLAEyirrOj/eqsGJpubc2+Mw/mm5sHgalk1GikFEc7RBMdi8jkgwkLyhQ= Content-Type: text/plain; charset="utf-8" Content-ID: <30AAF94BC3181248921FE11258035F31@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: d10e8f67-c3aa-4e0f-1114-08d70bc9f4e6 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jul 2019 21:50:32.4443 (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: CY4PR12MB1159 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org T24gNy8xOC8xOSA4OjE2IEFNLCBDaHVob25nIFl1YW4gd3JvdGU6DQo+IFVzZSBkbWFfcG9vbF96 YWxsb2MgaW5zdGVhZCBvZiB1c2luZyBkbWFfcG9vbF9hbGxvYyB0byBhbGxvY2F0ZQ0KPiBtZW1v cnkgYW5kIHRoZW4gemVyb2luZyBpdCB3aXRoIG1lbXNldCAwLg0KPiBUaGlzIHNpbXBsaWZpZXMg dGhlIGNvZGUuDQo+IA0KPiBTaWduZWQtb2ZmLWJ5OiBDaHVob25nIFl1YW4gPGhzbGVzdGVyOTZA Z21haWwuY29tPg0KDQpBY2tlZC1ieTogR2FyeSBSIEhvb2sgPGdhcnkuaG9va0BhbWQuY29tPg0K DQo+IC0tLQ0KPiAgIGRyaXZlcnMvY3J5cH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