Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp128939pxk; Thu, 24 Sep 2020 01:08:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhWWGnWx5/F7lRyefEUCuiUaYL3VLDcCKdKxVPO7Ftjb2YagQXJs/OMz6Zro2LrmwZhn70 X-Received: by 2002:a50:ee15:: with SMTP id g21mr3360675eds.47.1600934936649; Thu, 24 Sep 2020 01:08:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600934936; cv=none; d=google.com; s=arc-20160816; b=0zuZc0Y5MAI7Q/Wb5eWM5kkqLfGaqSF1pLIfapU3/J+y5JrV/9PJGzJ0u/NE4d9oMy G1+dx+x8sjIET5Pf3KSmOCNQhqLugALLvnARtyi7p9xjcXMYhohv5J0K3AlYOKngu231 6lh8RX0hDcTVzDSYTx+6PBeUw3iSsRqR9qGm9FN88SKAQuweFZUUufo0j+ia9hA1Ib3k ujZc07Egpsft3xfuUCPlhUVR1U7mOXqE8B10BL61yXn2bDXXszJ8HACyDGWHKJCYIG/7 QNG2I3Esqs/vUaHJ9Z7v7aMLqBgbUwfZtrGPyafrTuMPeyAWeEvNN454Ce6sv7RCnbOn T/WA== 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=uElOBufzp7ieQ88Hlg5I8luefOlEQrKuTYrmQxqITyU=; b=bjOEvenxWj1rZehir1ZMB5BHjwd5f4BBAjwP2LhhCdx+Xoc13PFQkgGokSf4SHVxj6 Bejc102J1WxC9WTTAXs1w7EI5DBFOoM740d9fSeMhtBFBcP4eEy2kSWYq2vsIRZpq7Rl CbC+i0JL7WPzPRSPePzTFjryr+qkBEo7A7FbLn6RfMygnuIbCUCJH+r0wC12dlf/Q26l U4zk/p8AYMyMT2tIzlll4+LBXBxokzic0i9iicfuPwCeNSG8YTFAL9HBG05jkHtSeQF0 bENkZip8dmlQVi6m15X1PCQ/3uBeDJAJcRh2AYOXa2ClsbU09ISKIj72DPipnOAnQDIF OE9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rambus.com header.s=mimecast20161209 header.b="LR9TCIE/"; 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 gl12si1430075ejb.337.2020.09.24.01.08.22; Thu, 24 Sep 2020 01:08:56 -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="LR9TCIE/"; 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 S1727089AbgIXIIU (ORCPT + 99 others); Thu, 24 Sep 2020 04:08:20 -0400 Received: from us-smtp-delivery-148.mimecast.com ([63.128.21.148]:48771 "EHLO us-smtp-delivery-148.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727013AbgIXIIT (ORCPT ); Thu, 24 Sep 2020 04:08:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rambus.com; s=mimecast20161209; t=1600934896; 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=uElOBufzp7ieQ88Hlg5I8luefOlEQrKuTYrmQxqITyU=; b=LR9TCIE/oXoDvMC8vWIIuJwHuQTkg7rzlViEIiFlh+X0fMNj+DHWDVXVqEXv2zq/j5wFDD 9YbAWxNYISNDL830L+udVnp/jY4uo/ScES9Mf5sgi8Iufj6Ju8gU8orTPyJxq5JlCChbE9 AtF44EGv+0D0AK7+jKVEw2yUIJD1/c8= Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2175.outbound.protection.outlook.com [104.47.55.175]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-30-8XnvwsLSMsSV_RJqj0In_A-1; Thu, 24 Sep 2020 04:08:14 -0400 X-MC-Unique: 8XnvwsLSMsSV_RJqj0In_A-1 Received: from CY4PR0401MB3652.namprd04.prod.outlook.com (2603:10b6:910:8a::27) by CY4PR0401MB3652.namprd04.prod.outlook.com (2603:10b6:910:8a::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16; Thu, 24 Sep 2020 08:08:13 +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 08:08:12 +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: AQHWhPjdSpcGgYTiMUOu7ID5mrD0iqluCCwAgAAMa6CAAAVIgIAABV7AgAkXuQCAADvR4A== Date: Thu, 24 Sep 2020 08:08:12 +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> In-Reply-To: <20200924031154.GA8282@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: 5f4085a4-6209-41e7-c4fc-08d86060fbab x-ms-traffictypediagnostic: CY4PR0401MB3652: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2887 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0 x-microsoft-antispam-message-info: +Q2brwpHjuBmESavPCPnZGvFpq1ODT5uxDb7YLkbSj8QtrN/UVPbqn0+E4szmtgdkNx8sYvzD4JzsS1m0xrK5lsggcJ6vIgGHQIWQNhkejIptlUdcFtVY9uWPibfzkp8BkBS5kbtLvwusYm64c3R8bRoRxtEDPXHNOsBKa4LgJHYMSV/7sV7RDTLHX1yMBiNco7Cz5yTuIM1uEDXrDGmEY0YJe7X0aW9qDGmJqhrylnLjOQoMPGA5x2vNQW0qNTZp2c/RvSxWYc1k97UuhuAFrA1AWMDyjUR93YTaEVKCpmtighKGZRgzptDhoQRppOEC0r3QVN5Q2ZsxV5lT+TCVGpKnz5labohOdIbRedBWLJOBzxoCkzJlxxCz/+kKKASih93tOQimkd0Cq533u6mGZLoVQlsia0op6UnLkozWDgIdxHs9+fThid+oDLSqXGOSqjQb1TAOfj7HcgPyVBO8Q== 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)(346002)(376002)(136003)(396003)(39850400004)(316002)(83080400001)(64756008)(66446008)(8936002)(966005)(66556008)(71200400001)(66476007)(478600001)(66946007)(4326008)(86362001)(83380400001)(2906002)(6506007)(52536014)(55016002)(53546011)(33656002)(9686003)(54906003)(186003)(7696005)(5660300002)(26005)(8676002)(76116006)(6916009);DIR:OUT;SFP:1101 x-ms-exchange-antispam-messagedata: Q+WksKp1dLcmClmlNCbL1z9xvF97DATT8S9ygONF07mP6GM0SkIrnf/sUaS/lYn7CPjSEV1B/ZuC6tF+k5rgZNR1l6z/QMSoaz7IbMFbvFbSG5BVBQcYZ00KbcdrvahIN2F/YA6lT5JyXZ97k1LZfJnn5KIwghnSssYDRVhOyKrtgAZeZLiR2xxw89WlqluWHkTbD4EcN61zcE9fHO3qERbGkyZxQr++U4vWHUr2eaVBE6nQkzE8fqk7oggPDvU9J9J/k5cLYDZS8JOw4OCJ7kL0vJSkJxr2xVbnXjza8mT4kYD6q5am+ZGtMjT7zXOHZK5lvcvZujVrJ6MhT+adxajjOH4A3WhSEzv7oB/fIXpYBQ0hBxQobYRkSj1tQZM1yjI/N7nEDg/58pMrSDIWVYkU7wsljP0KFTBQgNAeZr2hlm+PXiGZ1FdBq1wTNOeAnQzsKr5RhFmYYNMhFGXd6mTRZHZ7Sx2cwkfv3N/WHW5yF61eY04M2SxFg0gok3L0ePZQG7whnbMG8Aykva7YwazAk3VvaV9HLMntwYo1i+CI3C9vcJ4zQ985Gu02s9aiQO7FnWmWc3m4KUZzwL2bopWGuzBMiK4l6p/gkGw4bACl4LBz7V0KJ72B/LNrkvANyItwqeupe2muQ0ytscqQcg== 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: 5f4085a4-6209-41e7-c4fc-08d86060fbab X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Sep 2020 08:08:12.5612 (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: czcd3cBq1JmaHUv136NHVdtKWkLVaJOyvWDnxRjknPdLRRLI9EdaBzyN9yTXvDdf/MfFxJmluPp7ZuvGqdo4cw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR0401MB3652 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 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBIZXJiZXJ0IFh1IDxoZXJiZXJ0 QGdvbmRvci5hcGFuYS5vcmcuYXU+DQo+IFNlbnQ6IFRodXJzZGF5LCBTZXB0ZW1iZXIgMjQsIDIw MjAgNToxMiBBTQ0KPiBUbzogVmFuIExlZXV3ZW4sIFBhc2NhbCA8cHZhbmxlZXV3ZW5AcmFtYnVz LmNvbT4NCj4gQ2M6IGxpbnV4LWNyeXB0b0B2Z2VyLmtlcm5lbC5vcmc7IGFudG9pbmUudGVuYXJ0 QGJvb3RsaW4uY29tOyBkYXZlbUBkYXZlbWxvZnQubmV0OyBBcmQgQmllc2hldXZlbCA8YXJkYkBr ZXJuZWwub3JnPg0KPiBTdWJqZWN0OiBSZTogW1BBVENIXSBjcnlwdG86IGluc2lkZS1zZWN1cmUg LSBGaXggY29ycnVwdGlvbiBvbiBub3QgZnVsbHkgY29oZXJlbnQgc3lzdGVtcw0KPg0KPiA8PDwg RXh0ZXJuYWwgRW1haWwgPj4+DQo+IE9uIEZyaSwgU2VwIDE4LCAyMDIwIGF0IDA4OjIxOjQ0QU0g KzAwMDAsIFZhbiBMZWV1d2VuLCBQYXNjYWwgd3JvdGU6DQo+ID4NCj4gPiA+IENhbiB0aGlzIGFs aWdubWVudCBleGNlZWQgQVJDSF9ETUFfTUlOQUxJR04/IElmIG5vdCB0aGVuIHRoZQ0KPiA+ID4g bWFjcm8gQ1JZUFRPX01JTkFMSUdOIHNob3VsZCBjb3ZlciBpdC4NCj4gPg0KPiA+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