Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1018925pxk; Fri, 18 Sep 2020 01:22:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtY78Fn+8Uu9/iDgKrjaKlML0NDh3zM95NdyGLL4ELMeYIy9keVCO5J7pE6auy4rFFeQ55 X-Received: by 2002:aa7:c707:: with SMTP id i7mr37443411edq.107.1600417340591; Fri, 18 Sep 2020 01:22:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600417340; cv=none; d=google.com; s=arc-20160816; b=uPZTPzq9IafNn0MWf/5Xsc9T1yex9MwxMKYmF063tbHU5Ws5nv72IJuZu5mHtitohx KW/n53nrRTNkQffEKsTT5Zojht7uAoBbwX58p43v09L1Tpi70yUnyXTh4DxQeVHwUUBl 4yUx7SRU4rc0XC2EYEi+PhCxQq+qVOJNV6xYxLl5JFRd4IJ8ccuP7L/VOqprkO8a8lw+ 5hz/P0gB2ytUrm3QjQ5AslpIwvg9IzX6tTCsGlCHDtXE/ZeGUDcYEcDHmUsy9IyJRHg2 OLCW4Hq8gimsUbs0uO3F8EAawR07wdyjCU7JMGmN8TeQ1FubeDPA1GU/BqaJpwDTbi/e KrZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=XCRBvZs2vizSPY57wMQEVMf4nxUlnYDw4fiYyVsg0c0=; b=HnAEeD3f45Oub1kygzRUOCPtXWHrD5SSWUEa//g/e6fPiA4X3pGVlFMxqgOBEAZr5Y h2ZsKOyaGVvkdzgRA5eENQL71YbuwZ7K4aJX8sl+rtGEd2DCJEuan8JWrabbBW99hziO I5Ph5PSapDHC0Mprbn3DZp+HVpEyjCv9Ejg6yH80arC4VOxv92W4m0tqsDmUq5X9D/ZZ xinb8Se87hmgSaU+piyXE31jszraPryh6hIQuXX7nz3/B5t+zn2dtyKY9D70uLr93ij9 ERLKVTmHgZnX48vYfzsnrueknON3ekfNMEGIiKiaiKQUH/3NW7U4rMd5Bkah3h6Vv5gW iKVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rambus.com header.s=mimecast20161209 header.b=fgp4k4kM; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jz19si2169546ejb.241.2020.09.18.01.21.55; Fri, 18 Sep 2020 01:22:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@rambus.com header.s=mimecast20161209 header.b=fgp4k4kM; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726112AbgIRIVx (ORCPT + 99 others); Fri, 18 Sep 2020 04:21:53 -0400 Received: from us-smtp-delivery-148.mimecast.com ([63.128.21.148]:31292 "EHLO us-smtp-delivery-148.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726064AbgIRIVw (ORCPT ); Fri, 18 Sep 2020 04:21:52 -0400 X-Greylist: delayed 2350 seconds by postgrey-1.27 at vger.kernel.org; Fri, 18 Sep 2020 04:21:51 EDT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rambus.com; s=mimecast20161209; t=1600417310; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XCRBvZs2vizSPY57wMQEVMf4nxUlnYDw4fiYyVsg0c0=; b=fgp4k4kMQGXwDJfl1dfGF5xflP5mIoRbapzKqi/cxiTZWh0WY1KG2GptCgrFZBSnD9s/8R KUr2twtpZO6rs8oUVWdiixMON4XXLjntuwR9p2l+7Jh78XNXqx1LlhntFTBwQp48GGVmHF D6yStNrdKJ/XXD7/J1umv5sIHVUvqWE= Received: from NAM04-CO1-obe.outbound.protection.outlook.com (mail-co1nam04lp2055.outbound.protection.outlook.com [104.47.45.55]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-218-miakAPINPgKpft8mqgqryA-1; Fri, 18 Sep 2020 04:21:48 -0400 X-MC-Unique: miakAPINPgKpft8mqgqryA-1 Received: from CY4PR0401MB3652.namprd04.prod.outlook.com (2603:10b6:910:8a::27) by CY4PR04MB0680.namprd04.prod.outlook.com (2603:10b6:903:ea::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.11; Fri, 18 Sep 2020 08:21:45 +0000 Received: from CY4PR0401MB3652.namprd04.prod.outlook.com ([fe80::bd2c:886:bd40:f40d]) by CY4PR0401MB3652.namprd04.prod.outlook.com ([fe80::bd2c:886:bd40:f40d%5]) with mapi id 15.20.3370.019; Fri, 18 Sep 2020 08:21:45 +0000 From: "Van Leeuwen, Pascal" To: Herbert Xu CC: "linux-crypto@vger.kernel.org" , "antoine.tenart@bootlin.com" , "davem@davemloft.net" , Ard Biesheuvel Subject: RE: [PATCH] crypto: inside-secure - Fix corruption on not fully coherent systems Thread-Topic: [PATCH] crypto: inside-secure - Fix corruption on not fully coherent systems Thread-Index: AQHWhPjdSpcGgYTiMUOu7ID5mrD0iqluCCwAgAAMa6CAAAVIgIAABV7A Date: Fri, 18 Sep 2020 08:21:44 +0000 Message-ID: References: <1599466784-23596-1-git-send-email-pvanleeuwen@rambus.com> <20200918065806.GA9698@gondor.apana.org.au> <20200918080127.GA24222@gondor.apana.org.au> In-Reply-To: <20200918080127.GA24222@gondor.apana.org.au> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [159.100.118.162] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d15d397c-1638-494f-b9a8-08d85babe156 x-ms-traffictypediagnostic: CY4PR04MB0680: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3Dtl7f3eOc033LpaEqyl8gXfl1XJZHxKbXw9Iugct/58LZx5Id/MgbGG2xroC+Qrsql16drIy/eEQjjQjeHaJSV4P7I68kDa0HsWv7vXSq76oS8QDjd0P5F1Kv1LOFwNYXJMMWxwpgpE6ZBjInLUkIFuNFbTn1GWSbn9b9OST9Cva7sFyfW6efV/sihnf+vi9qxi8dT8hbz1Z7Aa8gLwzG/LwlMxL+TkXG1UELKkAjlAI6a5aNG3GPetN1ehU8mAn4pfAZR7SyoPGL1Re1LTn7EkhpPDeuYCEQuQgLAj2Lp4AjQ1PG7rPnugUiTbqk0rD3E0gBfw9711wflHQUAlnB4QjHC4xzVtK14qjUXRtOb55V6pVJpWIhmGAsVxzZ3NTqgzFtC5177wyJkhzKn1Yg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR0401MB3652.namprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(396003)(376002)(346002)(136003)(39850400004)(83080400001)(83380400001)(86362001)(9686003)(4326008)(8676002)(6916009)(8936002)(55016002)(33656002)(66946007)(66556008)(478600001)(966005)(2906002)(66476007)(76116006)(66446008)(52536014)(6506007)(53546011)(186003)(316002)(5660300002)(64756008)(54906003)(71200400001)(26005)(7696005);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: Is2ucYNoGP7YEbkqSlZmGildrylfDkLLrie2Puyfq+JqQydmA54heiggGV2jXQa3dTH977+EdptVpb5rK3dDOxSrj6wGv5idWwzBpBISzNNpHOoiV2K7GwbYRU1pPTo65pgDywPg24VYiGEQMdcvjYAf7+mi4Y7FMEpIEoquXf1vovxOAIBQDJ1eeT3jmaUy62O/pTUzOpGnPa2WO9LBhrvuAHlAJBSEEjPk4D1QcGv7FpbrPEFcuiBbXKYk1er9HTFRTE0NyiT8cZhZoYRVhQ1Ej9NrkTSfOjTGtghPDHpB97EYxuLkJv7A9X7g4Sxl709TtpgvKn+vIZ28umOg01IkfP3OkWifwwnM+hY8N5KYLxgN+ldpbxMOIaCyXTSqYkygYW87RwaWXhnjAsCgTqwCWv+8pSAdCm1QPVRmc3FJSKBQOZLSBw4Yf0/N68Q9osC+mjsFAnjPkjREx4Bo/pnJu90H71vhqczEx6rI/9GusXFoFgNdi3IBNbw2sfByuTlh7fqEjgC14LkZ8+/i+/91v5dEckJfMWQY/NiKGiDPjRJBcL043So5S2wBeiXgYb179jEPT6opXulDsyJYXPN1OYKLWJbMzL7Uw6xyLbPjsSgcZuXobYerMNaSXejSCE3D5EpWUzCyN12Q0EBbcg== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: rambus.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR0401MB3652.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d15d397c-1638-494f-b9a8-08d85babe156 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Sep 2020 08:21:45.0218 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: bd0ba799-c2b9-413c-9c56-5d1731c4827c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ikFMfAJGlMywMpBxdQH5EekgxY9NgfCF/+0qF77C4HkJyavNglIM02zHRYrQl6ZOBGvVJ4ua/xY6tBQVe53L2A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR04MB0680 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA48A24 smtp.mailfrom=pvanleeuwen@rambus.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: rambus.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBIZXJiZXJ0IFh1IDxoZXJiZXJ0 QGdvbmRvci5hcGFuYS5vcmcuYXU+DQo+IFNlbnQ6IEZyaWRheSwgU2VwdGVtYmVyIDE4LCAyMDIw IDEwOjAxIEFNDQo+IFRvOiBWYW4gTGVldXdlbiwgUGFzY2FsIDxwdmFubGVldXdlbkByYW1idXMu Y29tPg0KPiBDYzogbGludXgtY3J5cHRvQHZnZXIua2VybmVsLm9yZzsgYW50b2luZS50ZW5hcnRA Ym9vdGxpbi5jb207IGRhdmVtQGRhdmVtbG9mdC5uZXQ7IEFyZCBCaWVzaGV1dmVsIDxhcmRiQGtl cm5lbC5vcmc+DQo+IFN1YmplY3Q6IFJlOiBbUEFUQ0hdIGNyeXB0bzogaW5zaWRlLXNlY3VyZSAt IEZpeCBjb3JydXB0aW9uIG9uIG5vdCBmdWxseSBjb2hlcmVudCBzeXN0ZW1zDQo+DQo+IDw8PCBF eHRlcm5hbCBFbWFpbCA+Pj4NCj4gT24gRnJpLCBTZXAgMTgsIDIwMjAgYXQgMDc6NDI6MzVBTSAr MDAwMCwgVmFuIExlZXV3ZW4sIFBhc2NhbCB3cm90ZToNCj4gPg0KPiA+IEFjdHVhbGx5LCB0aGF0 IGlzIHdoYXQgd2UgZGlkIGFzIGEgX3F1aWNrIGhhY2tfIGluaXRpYWxseSwgYnV0Og0KPiA+DQo+ ID4gRmlyc3Qgb2YgYWxsLCBpdCdzIG5vdCBvbmx5IGFib3V0IHRoZSBMMSBjYWNoZWxpbmUgc2l6 ZS4gSXQncyBhYm91dCB0aGUgd29yc3QgY2FzZSBjYWNoZQ0KPiA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