Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp835886ybi; Thu, 30 May 2019 07:29:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqwkJIBGA+D6xFpAqYurEHvxo4RWNCwHTUBvf+EqDePWMVFDMqjK4wwAHILDiVUZP4dBP0IE X-Received: by 2002:a17:90a:238d:: with SMTP id g13mr4200459pje.0.1559226598222; Thu, 30 May 2019 07:29:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559226598; cv=none; d=google.com; s=arc-20160816; b=jsmxIRWaUWitbdfccs+ZgYU/fMJ2VxpGF+eck0Lu+LUPSANOzQrbTfDp/jLLPgl2VT MxpcjHDMgNBeQCUrsmE8OoVZ2JuaFUvL8oic8RTcyzn5Obsega97iur7TygDaFVhQ3rk gAB+6qOkzms3dlVLf6BX4mZyYMpXBuGIHAGbYsP5m5Ym4NvbbrbeVMcdiGPpQxVUWrrf 1cFqQTt0E5oMK9SF9i4vSV0YD+UzAqrFYMm1mXVuLH0ODmPKvwTjC60O4EeRdRZ9W0R0 ZanncJVpXu4jYze4c+iIoBcEAjC7MfBKBosC564RnZGGuMxRwOwwbrTRLHSNFGjI4gQM SerA== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=a41RSy3xYrgcioxnM0FdDfBPp4Fw7GpoC1QH4jzAFIU=; b=ttWOtUacFi4uzfYRBx0Sdf20BPqy+AVS9ycV4qriEHFViGQv6Ny1SHUjKfXO7FR3Xb Q44TRehm9xLifKYYQ2wQ4HqlWhlsJ490qtrbfORibpSDWOTsjzF97pZitNO+UD+5dBnu Tgq1tUPFA+EO3Vk1zLSWKPZ4lWZKUtXaIQErOoD+2SofXDRlQNUBbelQ1NSDGQQ+3PDq /5DHGcWncXLmxjYTq3QBpCYuexHoI04hbS50YGRibRxnByosUtIIO4aqYd0BHpnCtq7t VMK3gl/MJuMJE9qgWIzw88MP/Ds3a87XhWa/zIhE7we2KfipTmbsWScpQfSD17KWCEfQ Iqzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@insidesecure.onmicrosoft.com header.s=selector1-insidesecure-onmicrosoft-com header.b=PKJIJs9+; 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 d23si3284117pgv.513.2019.05.30.07.29.41; Thu, 30 May 2019 07:29:58 -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=@insidesecure.onmicrosoft.com header.s=selector1-insidesecure-onmicrosoft-com header.b=PKJIJs9+; 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 S1726326AbfE3O3b (ORCPT + 99 others); Thu, 30 May 2019 10:29:31 -0400 Received: from mail-eopbgr60125.outbound.protection.outlook.com ([40.107.6.125]:15022 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725440AbfE3O3b (ORCPT ); Thu, 30 May 2019 10:29:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=insidesecure.onmicrosoft.com; s=selector1-insidesecure-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=a41RSy3xYrgcioxnM0FdDfBPp4Fw7GpoC1QH4jzAFIU=; b=PKJIJs9+r8lEs07PKmWEyGtl2Qrb0qbKehGRIixP96aSVCqLt6buR+w7aDRr5fY8Z/gt1xrh1di6nSReiyz9vzyFmhQ8qgyyczo1CMS5nofZN6j03oqMTv34W4EUGU8ENjK8tQiRdRJpUCYpePCzzeYovQRhI+Ct7X5ou5Wjp/A= Received: from AM6PR09MB3523.eurprd09.prod.outlook.com (10.255.99.206) by AM6PR09MB3320.eurprd09.prod.outlook.com (20.179.245.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1922.19; Thu, 30 May 2019 14:29:27 +0000 Received: from AM6PR09MB3523.eurprd09.prod.outlook.com ([fe80::8c11:e692:3a44:a3a9]) by AM6PR09MB3523.eurprd09.prod.outlook.com ([fe80::8c11:e692:3a44:a3a9%6]) with mapi id 15.20.1922.021; Thu, 30 May 2019 14:29:27 +0000 From: Pascal Van Leeuwen To: Ard Biesheuvel , Herbert Xu CC: Iuliana Prodan , Eric Biggers , "David S. Miller" , Horia Geanta , Sascha Hauer , "open list:HARDWARE RANDOM NUMBER GENERATOR CORE" , Linux Kernel Mailing List , dl-linux-imx Subject: RE: [PATCH] crypto: gcm - fix cacheline sharing Thread-Topic: [PATCH] crypto: gcm - fix cacheline sharing Thread-Index: AQHVFkGC+Z078hijGEOmhwjdTCZ6EaaDst8AgAADzYCAAAHQcA== Date: Thu, 30 May 2019 14:29:26 +0000 Message-ID: References: <1559149856-7938-1-git-send-email-iuliana.prodan@nxp.com> <20190529202728.GA35103@gmail.com> <20190530133427.qrwjzctac2x6nsby@gondor.apana.org.au> <20190530135800.ekcso3n2p5zkg6yv@gondor.apana.org.au> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=pvanleeuwen@insidesecure.com; x-originating-ip: [188.204.2.113] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5e2a1fcf-5d4f-4cf2-a951-08d6e50b383d x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:AM6PR09MB3320; x-ms-traffictypediagnostic: AM6PR09MB3320: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 00531FAC2C x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(396003)(39850400004)(376002)(346002)(136003)(199004)(189003)(486006)(66476007)(305945005)(68736007)(76116006)(9686003)(7736002)(33656002)(66446008)(64756008)(66556008)(229853002)(73956011)(66946007)(11346002)(256004)(102836004)(14444005)(6116002)(74316002)(71200400001)(71190400001)(5660300002)(15974865002)(25786009)(86362001)(52536014)(446003)(186003)(53936002)(14454004)(55016002)(26005)(476003)(81166006)(6246003)(3846002)(4326008)(54906003)(110136005)(2906002)(6506007)(478600001)(7416002)(316002)(7696005)(99286004)(66066001)(8936002)(76176011)(81156014)(8676002)(6436002)(18886075002);DIR:OUT;SFP:1102;SCL:1;SRVR:AM6PR09MB3320;H:AM6PR09MB3523.eurprd09.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: insidesecure.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: EFKY2u/PO0Vk6taFdLu5HCyuTr+KGrNOVtW+Wi+KwszojI1weq7v3E8vplRsw0oYg3UJ/riMeFe01vIN/Ls4dCKg54d9e8sazw/30p6cQdfPXEgoUPVqz3q61GR9H/WxCHtbCTNx0nVFiKJlmfUmNZV2B7adEkAZGJ6mS0qgqVoba6bTXGeq/0EFm+Nq4cRxzDB/Xts9KQBY5jjEbdhZ70zWeX2bRbv62kWMIutWa3q91Ilxd9izYw/selKTtOWfhz0hUCLSrAy7/53T5SXpvtwEjJwEXnfbBi4qi6c/kW0J+3UJ+4V2o4bMXjPrDo5ueEQ0UZ71sbLJyl5ybWDwbb3saCGtM/E0qSGaqdpRpeqoh1bRbgI+F6cSNgZzFyYtmST560KYdRNhAcqpDg7S8hih1DSXFfyLU8AH+guXwgE= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: insidesecure.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5e2a1fcf-5d4f-4cf2-a951-08d6e50b383d X-MS-Exchange-CrossTenant-originalarrivaltime: 30 May 2019 14:29:26.8830 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3c07df58-7760-4e85-afd5-84803eac70ce X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: pvanleeuwen@insidesecure.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR09MB3320 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org PiBPbiBUaHUsIDMwIE1heSAyMDE5IGF0IDE1OjU4LCBIZXJiZXJ0IFh1IDxoZXJiZXJ0QGdvbmRv ci5hcGFuYS5vcmcuYXU+DQo+IHdyb3RlOg0KPiA+DQo+ID4gT24gVGh1LCBNYXkgMzAsIDIwMTkg YXQgMDE6NDU6NDdQTSArMDAwMCwgSXVsaWFuYSBQcm9kYW4gd3JvdGU6DQo+ID4gPg0KPiA+ID4g T24gdGhlIGN1cnJlbnQgc3RydWN0dXJlIG9mIGNhYW1hbGcsIHRvIHdvcmssIGl2IG5lZWRzIHRv IGJlIGNvcGllZA0KPiA+ID4gYmVmb3JlIG1lbWNweShpdiwgcmVxLT5pdiwgaXZzaXplKSwgZnJv bSBza2NpcGhlcl9lZGVzY19hbGxvYw0KPiBmdW5jdGlvbi4NCj4gPiA+IEZvciB0aGlzIHdlIG5l ZWQgZWRlc2MsIGJ1dCB0aGlzIGNhbm5vdCBiZSBhbGxvY2F0ZWQgY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