Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3093422rdb; Wed, 13 Sep 2023 01:32:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHXese5udz+HbtFrgTBnzcjTYk8FsjHktVYqrSOfG0N+nFcQAH2IaYQAipWlmVWwxT5Fq6o X-Received: by 2002:a05:6a20:144d:b0:140:2ec5:2bd3 with SMTP id a13-20020a056a20144d00b001402ec52bd3mr5913763pzi.27.1694593953399; Wed, 13 Sep 2023 01:32:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694593953; cv=none; d=google.com; s=arc-20160816; b=j+41VMyHTzlcq6rrNCyu8HrTM+C1wjqeirsTqD1R5vd3e4wLke2kjAOy4vOzsgWygV XtDBQSeLV18Y9TTTkWtb+MshXSdlj1yRamHYJpmGRdu4Ln65MWluovzFvZ9kRUU+6xqH ysApVELmx+cqd0mpaYDMot5ilOVTiInUM53Xh68kWPdMrLiH6mu+nUnmHhLZRVWFoxos olGUcAYjS/L0z5lZ3MfOwHdAkl6rs0HNSvnJzYHMrf0jQYuMfDLGz1ywidsIjxEk/XdT XCPjIoVOXinF2D/QPJ8aSCSMlB8XstL8Q1PBeXviOQt02IfT3sbMbHOGF2UaK2RVRiMP sToQ== 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; bh=qsLcU/gmYQMpquL+UQ3uw+KHOsIOuUpN2jqtSEK0VtM=; fh=X4uPfE9rTK568/ssrcPM7l0+s84VICCoLRZUmN96Ggc=; b=LejrtjwT5rySc7nZh11lUXv58RmsfNn+amkRaz2k45K4T+0sAtDlIiyCHFS+bLNmjC 9BMWkZLddTlhtyJv+AMyskwx7gDrMNRS72PN43D1VfqTFcjOuLsLnvaEvqQIk6sBG4Bl ehhAI3404MfW/ldjPl9CL4YePlhqvNs9PIc8Wqm37GPmDdJdrYpmH4fcIStAMBPo1GDr Z3qJ//M8DuVnvnGTu7aE0mI4csCCQcn5Se4QqcdS2QvmBdI2Z/eoB+riGl0KAeOQ6WVb EPaG1rlqksVOlAdnofzaKLh5MJ16qfeDz+q3Ub6uI1Bz82wwwNAmstJuIomdGcOmUG37 ewAg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id d1-20020a63f241000000b00573f116fba1si9406783pgk.870.2023.09.13.01.32.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 01:32:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 468FB806E1DB; Wed, 13 Sep 2023 01:26:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238724AbjIMIZ6 (ORCPT + 99 others); Wed, 13 Sep 2023 04:25:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234331AbjIMIZ4 (ORCPT ); Wed, 13 Sep 2023 04:25:56 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9BF87E73 for ; Wed, 13 Sep 2023 01:25:52 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-192-lGiFXdsMNTWbQGXrkH0Nsw-1; Wed, 13 Sep 2023 09:25:43 +0100 X-MC-Unique: lGiFXdsMNTWbQGXrkH0Nsw-1 Received: from AcuMS.Aculab.com (10.202.163.4) by AcuMS.aculab.com (10.202.163.4) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Wed, 13 Sep 2023 09:25:40 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Wed, 13 Sep 2023 09:25:40 +0100 From: David Laight To: 'Linus Torvalds' CC: Mateusz Guzik , "linux-kernel@vger.kernel.org" , "linux-arch@vger.kernel.org" , "bp@alien8.de" Subject: RE: [PATCH v2] x86: bring back rep movsq for user access on CPUs without ERMS Thread-Topic: [PATCH v2] x86: bring back rep movsq for user access on CPUs without ERMS Thread-Index: AQHZ23Vdq8Esj5k0zUGYupOb09r6RrAF7nHAgAAb1ICAABQQEIANxBwAgAGZkGCAAg/ggIAAEt9wgAAOawCAAM6MQA== Date: Wed, 13 Sep 2023 08:25:40 +0000 Message-ID: References: <20230830140315.2666490-1-mjguzik@gmail.com> <27ba3536633c4e43b65f1dcd0a82c0de@AcuMS.aculab.com> <9a5dd401bf154a0aace0e5f781a3580c@AcuMS.aculab.com> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 13 Sep 2023 01:26:00 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email RnJvbTogTGludXMgVG9ydmFsZHMNCj4gU2VudDogMTIgU2VwdGVtYmVyIDIwMjMgMjE6NDgNCj4g DQo+IE9uIFR1ZSwgMTIgU2VwdCAyMDIzIGF0IDEyOjQxLCBEYXZpZCBMYWlnaHQgPERhdmlkLkxh aWdodEBhY3VsYWIuY29tPiB3cm90ZToNCj4gPg0KPiA+IFdoYXQgSSBmb3VuZCBzZWVtZWQgdG8g aW1wbHkgdGhhdCAncmVwIG1vdnNxJyB1c2VkIHRoZSBzYW1lIGludGVybmFsDQo+ID4gbG9naWMg YXMgJ3JlcCBtb3ZzYicgKHByZXR0eSBlYXN5IHRvIGRvIGluIGhhcmR3YXJlKQ0KPiANCj4gQ2hy aXN0Lg0KPiANCj4gSSB0b2xkIHlvdS4gSXQncyBwcmV0dHkgZWFzeSBpbiBoYXJkd2FyZSAgQVMg TE9ORyBBUyBJVCdTIEFMSUdORUQuDQo+IA0KPiBBbmQgaWYgaXQncyB1bmFsaWduZWQsICJyZXAg bW92c3EiIGlzIEZVTkRBTUVOVEFMTFkgSEFSREVSLg0KDQpGb3IgY2FjaGVkIG1lbW9yeSBpdCBv bmx5IGhhcyB0byBhcHBlYXIgdG8gaGF2ZSB1c2VkIDggYnl0ZQ0KYWNjZXNzZXMuDQpTbyBpbiB0 aGUgc2FtZSB3YXkgdGhhdCAncmVwIG1vdnNiJyBjb3VsZCBiZSBvc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