Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp1137265rdb; Mon, 4 Sep 2023 04:24:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGD0vFIucC4XrnZ0yDdaDBcqARL1t0t58ssMJo14iYxogBV/d7qUG5KzFqjeGrgqdgPvniG X-Received: by 2002:a17:902:e74f:b0:1b7:ca9c:4f5c with SMTP id p15-20020a170902e74f00b001b7ca9c4f5cmr13008822plf.28.1693826694714; Mon, 04 Sep 2023 04:24:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693826694; cv=none; d=google.com; s=arc-20160816; b=hOROodW6zXfW1ug+6zZUylbqbGk4o2ugJaGKCSR0rrSWA6IBBkv5IgWXo+t4bh3Pkz iR65nJ8KbWk1yC4pvj7V662vZRaUVmt+KrDZnMWaa+AU+y2709t/km5nOBtkwEIeW2Ae cXI7rYlI+hJlAIkCyh06MErxxMnf/AWDdrPqU07CjqGFEnEzb8OSHJTfQ23rZ4E4D8qz 7n7DEPD28I8O6EH3mLJlKIAMs5LtuXylDiwyprQOOBJTratcwjtSvoBftX5RBkIXkB40 n87XPHSuIvl72YjEJ/NLE4Q6D1Gy/9sxSZU0fvJKcIEcxk833JtRTjoUvORb46nGFZmb 5TPg== 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=C4Rrgzv3yyY3ovVcnaN35XpyKoY0rnPN7Hq9Lr+K4Ww=; fh=Ut7tsti21ZtC9W7g4364510xxuou6fDph9qmdZtlrTQ=; b=fqx4Eqs1XmEpX8jNQ0LtuWLXVx3ttXtUfMx3vVNptrHcBZtLkbOJI0dxakvbvLUcWF nYW4pybgJLhNWBcfQzbh7bSJodAUOSutyhn3/iL7UbqUAJIySKTHL9c1Q0PEGpEkKbPS IKxSmVU93lFCGpiAZWwcb3vpY4a07agocH5VBoQbu4M97k/yaoHk947dIt4r+4oWBMlc 3mYRQ8gRKdekpuQjS6E46gw0rNlAdNV3raIftb7DK28t/dYdBmHk0/J8PZzUgPkzBqSy 2HnkpBMJjLq/wo5KBAxrAU1LgRDnBOHJRUET1zJUa4lLpIdRgHFf1qPOQ+eNmCt+H6LL QBpg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w8-20020a63f508000000b00565d8d51c20si7762637pgh.217.2023.09.04.04.24.26; Mon, 04 Sep 2023 04:24:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347863AbjICUnK (ORCPT + 99 others); Sun, 3 Sep 2023 16:43:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234197AbjICUnJ (ORCPT ); Sun, 3 Sep 2023 16:43:09 -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 ESMTPS id 4DA39103 for ; Sun, 3 Sep 2023 13:43:06 -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-286-_YuK4C4IP2q1PYjAxiCTSA-1; Sun, 03 Sep 2023 21:43:03 +0100 X-MC-Unique: _YuK4C4IP2q1PYjAxiCTSA-1 Received: from AcuMS.Aculab.com (10.202.163.6) by AcuMS.aculab.com (10.202.163.6) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Sun, 3 Sep 2023 21:42:55 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Sun, 3 Sep 2023 21:42:55 +0100 From: David Laight To: 'Mateusz Guzik' CC: "torvalds@linux-foundation.org" , "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: AQHZ23Vdq8Esj5k0zUGYupOb09r6RrAF7nHAgAAb1ICAABQQEA== Date: Sun, 3 Sep 2023 20:42:55 +0000 Message-ID: <9a5dd401bf154a0aace0e5f781a3580c@AcuMS.aculab.com> References: <20230830140315.2666490-1-mjguzik@gmail.com> <27ba3536633c4e43b65f1dcd0a82c0de@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 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 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G5v dCBhY3R1YWxseSBzdXJlIHlvdSBzaG91bGQgZXZlciBuZWVkIHRvIHN3aXRjaA0KdG8gYSAncmVw IG1vdnNxJyBsb29wIC0gYnV0IEkndmUgbm90IHRyaWVkIHRvIHdyaXRlIGl0Lg0KDQpJIGRpZCBo YXZlIHRvIHVucm9sbCB0aGUgaXAtY2tzdW0gbG9vcCA0IHRpbWVzIChhcyk6DQorICAgICAgIGFz bSggICAgIiAgICAgICBidCAgICAkNCwgJVtsZW5dXG4iDQorICAgICAgICAgICAgICAgIiAgICAg ICBqbmMgICAxMGZcbiINCisgICAgICAgICAgICAgICAiICAgICAgIGFkZCAgICglW2J1ZmZdLCAl W2xlbl0pLCAlW3N1bV8wXVxuIg0KKyAgICAgICAgICAgICAgICIgICAgICAgYWRjICAgOCglW2J1 ZmZdLCAlW2xlbl0pLCAlW3N1bV8xXVxuIg0KKyAgICAgICAgICAgICAgICIgICAgICAgbGVhICAg MTYoJVtsZW5dKSwgJVtsZW5dXG4iDQorICAgICAgICAgICAgICAgIjEwOiAgICBqZWN4eiAyMGZc biIgICAvLyAlW2xlbl0gaXMgJXJjeA0KKyAgICAgICAgICAgICAgICIgICAgICAgYWRjICAgKCVb YnVmZl0sICVbbGVuXSksICVbc3VtXzBdXG4iDQorICAgICAgICAgICAgICAgIiAgICAgICBhZGMg ICA4KCVbYnVmZl0sICVbbGVuXSksICVbc3VtXzFdXG4iDQorICAgICAgICAgICAgICAgIiAgICAg ICBsZWEgICAzMiglW2xlbl0pLCAlW2xlbl90bXBdXG4iDQorICAgICAgICAgICAgICAgIiAgICAg ICBhZGMgICAxNiglW2J1ZmZdLCAlW2xlbl0pLCAlW3N1bV8wXVxuIg0KKyAgICAgICAgICAgICAg ICIgICAgICAgYWRjICAgMjQoJVtidWZmXSwgJVtsZW5dKSwgJVtzdW1fMV1cbiINCisgICAgICAg ICAgICAgICAiICAgICAgIG1vdiAgICVbbGVuX3RtcF0sICVbbGVuXVxuIg0KKyAgICAgICAgICAg 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