Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp286250pxk; Thu, 24 Sep 2020 05:52:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEr6hk1+8Yqf91tOLaWBRL2Zj1DZ4o9aC23t3gcpHrMDgnNtT1jdsg0o8a6UCuzF3mNhbA X-Received: by 2002:a50:cf0b:: with SMTP id c11mr836151edk.87.1600951924738; Thu, 24 Sep 2020 05:52:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600951924; cv=none; d=google.com; s=arc-20160816; b=vMUlmdwlP4lxmyMrJbuLjhPAgLAjoDm7V6Am9qjsGXBzx1HJNnR2BOwTTxUaP7rKQR sHHqtJNeMgyDyFs+qcTtiDg6lL+MYbTXWTQVQybuOWFkwEem8teZDHBCX4CbJy3gzzsY BW2f5KOjoPFOoFDzZfX/NHI5USswz6nf5he5ber4+fgP+faIMiO4CY3QOg81F2nGI+xZ 7ZsvRepCpz033xZEROfwUUDr4E7Q1S83+lzdL5eiSmcJCXXuV9CxIjhzQPnH43zBTeRS AEN6sHk2ziCX5ZVJc3tQvXU56fMy5RAAK+i5QpNI0mhpnKRTZnNF44wr/TFa9PXmltJZ 0J0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=O+M1Y1ehR/qfZkWbrH1VzLaIFUpj+G5gsLN/oMF/QjY=; b=R14YPe2uWq5yTBqpWPwq+fVKEHHcq/aAbGYqkkajqm0dy9hYSJ6IVH9sddwXkEb+CJ qjNSieyyzsBQmO9ohGrIyjTtnrR3naPo52WWmztDOrVMdzKXvPc44B+2TYK55rdqDGB7 +5CaVw5LjkEz/j/ROJHuL2sQFQ0rdtSOvBh68dSeprM31bwoCI16YVprr6ZGSPJfVxCS O/FRm9koswI3X0yzG8Go4YnOjZTR81cu4teT/dE8LFLFrE7fQ5nMNDNKo0IeVAlfLYUh pdqs4dKDK093dM+2DSdmBAddQqklOURfQ5Iv6X04Gu8WNewfl9/xY0AoVlqfuMVBZWSt I40w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rambus.com header.s=mimecast20161209 header.b=dC9GTjDh; 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 cy15si2069072edb.525.2020.09.24.05.51.35; Thu, 24 Sep 2020 05:52:04 -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=dC9GTjDh; 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 S1727790AbgIXMvb (ORCPT + 99 others); Thu, 24 Sep 2020 08:51:31 -0400 Received: from us-smtp-delivery-148.mimecast.com ([63.128.21.148]:44621 "EHLO us-smtp-delivery-148.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727874AbgIXMvS (ORCPT ); Thu, 24 Sep 2020 08:51:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rambus.com; s=mimecast20161209; t=1600951875; 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=O+M1Y1ehR/qfZkWbrH1VzLaIFUpj+G5gsLN/oMF/QjY=; b=dC9GTjDhuma1J23njeP/CLDWrU1iopi6hIS0ApNE1SAjKu9ku4oQuIfm9W5qzb8nIVwOXI WCUdsC4u8+RCr4LKhIjwEYGV/M5mH52CUejs6akqGU5Q4Aze+Afo1cydhqrMHpPyt9XbBV ODMi6GLazX/JzjAV6hS+NwqgEOeT+as= Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11lp2172.outbound.protection.outlook.com [104.47.56.172]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-360-MFKX99PKNv-tN-tNbvRN1w-1; Thu, 24 Sep 2020 08:51:14 -0400 X-MC-Unique: MFKX99PKNv-tN-tNbvRN1w-1 Received: from CY4PR0401MB3652.namprd04.prod.outlook.com (2603:10b6:910:8a::27) by CY4PR04MB0489.namprd04.prod.outlook.com (2603:10b6:903:b4::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.15; Thu, 24 Sep 2020 12:51:11 +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; Thu, 24 Sep 2020 12:51:11 +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: AQHWhPjdSpcGgYTiMUOu7ID5mrD0iqluCCwAgAAMa6CAAAVIgIAABV7AgAkXuQCAADvR4IAAYcqAgAAA/SA= Date: Thu, 24 Sep 2020 12:51:11 +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> <20200924031154.GA8282@gondor.apana.org.au> <20200924123559.GA10827@gondor.apana.org.au> In-Reply-To: <20200924123559.GA10827@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: df331d36-a158-4dfd-fd5d-08d8608883f9 x-ms-traffictypediagnostic: CY4PR04MB0489: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0 x-microsoft-antispam-message-info: G5rWXCK6hdA3Foyd0/dkv/JPqe1wVXxP5DYR2Yxac6wgQzK0ocwomQ5dlzpdisw9bUP2Gf3R0gg48MUX6G8E3AxLn2WPNBD60m2bM5fHaLvuMH4vAbSlr624anGVsUWbXJD8QDbFEGl/i/FuLkS6n5nx/MWjvKAPfoL0TtuXKs23vzmoXcWoF/SJRsTFf71EWjhRZ6ISkJgMG0D9tLdrjLQR5esVAaRoKrgqNXk2j5tNuuy831k0rh9n3GAGXJOWLulhxXAKkOMHRDQBXYy/cYPKSaAf6DyWrj+dpkF3wmnntCUMKMd+yaAsRWrtCKS3DVY0jjZMdEIc4zQoeyJ2RtW06oWBMQDjY/X4kGheS1oi2D12JmL26GevKE1J031LmFwWPSIZreQdwGSvAOL54BDYldDla1/1B42YIWZOsgJNfMvdxgRB48MyqpjPgnQUGWTM/2z2chmlMSh1zUSLAg== 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:(136003)(39850400004)(376002)(366004)(396003)(346002)(55016002)(33656002)(9686003)(83380400001)(4326008)(5660300002)(83080400001)(66946007)(71200400001)(66556008)(966005)(86362001)(8676002)(7696005)(66476007)(64756008)(76116006)(8936002)(52536014)(316002)(2906002)(53546011)(478600001)(6506007)(186003)(54906003)(6916009)(66446008)(26005);DIR:OUT;SFP:1101 x-ms-exchange-antispam-messagedata: HwpIajen/9Eaqmdr9YJTDvPSLl4a6knpQfwdVVFYkCwcuzZp+2LjAsWNubPQzL5K+NbKiFeSooAgUI3PvUBkmYuduoE1cQVAj1nhpcFsLtgTpU4Qk7kRookz1hHiNSLhxetWReqyN8lKNbOXxc/ln0Ubo7xEaKMJ1PCUulNwaDNfov5atEam7ti5IB0N2TpKDPATpCOqpU4S+tWCSQS9/734wgHuukf7VzqxAFd/20ejnMnDrC87zT9ER3gG7sOfbvYcsoBzdJQqxC6bQKXbM3rkQVYiMC35DhImxgVd3BSwPXy95oz9gSc9VLI0sBRydeRsPxds/oKlmpOkXpJ5ZTJ2jbm/5GIRawz7y3Pv2GHAl9QXxswQgbvJh85mR4h8CzoKnmrtl0Byf9gm/53QhtVHXa/6fEvhlqyISc5F4FHdZfIn+Yv7JEM1jaqyZVLvtOLeijyswlTYv/TeyXx7fOrPY/l/N9sF6Fut9B6Pf76uR0oHG11tp1MENHuxfFhOjGWzaElwiEBr6o8wsf5HjGTAoPi5S8fA76ugEFoSnWJl8HQ0YponTrE+3Dom8YVvN46GQEXiPwUHoTh8atiJyIXlolj+wuOXCOXxjb4oV1uRLAMvl1cfCaK87sfn656oRRp23bCNJ26n+P6L6VbJfA== 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: df331d36-a158-4dfd-fd5d-08d8608883f9 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Sep 2020 12:51:11.7203 (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: 3UPe9JmHWe6CAGvq5fxYLtJqcf0rrlqZzvVUHMoV448CWsEbZCBkiarbMIPLFo/ysRo3RumPGpo+qRA3U+ECNA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR04MB0489 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-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org DQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEhlcmJlcnQgWHUgPGhlcmJl cnRAZ29uZG9yLmFwYW5hLm9yZy5hdT4NCj4gU2VudDogVGh1cnNkYXksIFNlcHRlbWJlciAyNCwg MjAyMCAyOjM2IFBNDQo+IFRvOiBWYW4gTGVldXdlbiwgUGFzY2FsIDxwdmFubGVldXdlbkByYW1i dXMuY29tPg0KPiBDYzogbGludXgtY3J5cHRvQHZnZXIua2VybmVsLm9yZzsgYW50b2luZS50ZW5h cnRAYm9vdGxpbi5jb207IGRhdmVtQGRhdmVtbG9mdC5uZXQ7IEFyZCBCaWVzaGV1dmVsIDxhcmRi QGtlcm5lbC5vcmc+DQo+IFN1YmplY3Q6IFJlOiBbUEFUQ0hdIGNyeXB0bzogaW5zaWRlLXNlY3Vy ZSAtIEZpeCBjb3JydXB0aW9uIG9uIG5vdCBmdWxseSBjb2hlcmVudCBzeXN0ZW1zDQo+DQo+IDw8 PCBFeHRlcm5hbCBFbWFpbCA+Pj4NCj4gT24gVGh1LCBTZXAgMjQsIDIwMjAgYXQgMDg6MDg6MTJB TSArMDAwMCwgVmFuIExlZXV3ZW4sIFBhc2NhbCB3cm90ZToNCj4gPg0KPiA+IFRoZSBmYWN0IHRo YXQga21hbGxvYyB1c2VzIGl0IGRvZXMgX25vdF8gcnVsZSBvdXQgdGhlIGZhY3QgdGhhdCBpdCB3 YXN0ZXMgbWVtb3J5IC4uLg0KPiA+IEFuZCBhcyBsb25nIGFz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