Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1722452ybb; Sun, 29 Mar 2020 11:44:34 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtDHJU9bw8lzcTZCE8CcSNmoLXFQW6AwGF8nn404NAPHL2RB0sS2cepap/cFkFB/wIgZ1Qd X-Received: by 2002:aca:5354:: with SMTP id h81mr5283656oib.164.1585507474529; Sun, 29 Mar 2020 11:44:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585507474; cv=none; d=google.com; s=arc-20160816; b=gSEyb3KvU5W45J7ssivGiz4s6drjuEVZRavU/k8CgGfO+FE09lESS1mw2Ik1S0cwT7 Bvs2rXWmZhMtoPh+481ONGQlY6eI3G6c3ggs+89Aqs1/sz/TKzKisDUUfPIecigcHqgF 315Soi+QldF2WCHuNRBJOi1STeZPoxlCUGbK0gfeRL/eGEgue00Jw6+uGtmwh85UaIL/ qtKkOWnYlfPUXxNCuDAn3X0hGuDs6e0LAvhZR/NKKXQ85sFqhfZEy4bxjW99CqHnZNNr U+LxecDAg20Llmxd4WBlYxY+HWPvw2PxXBCPxcn34LMlaHzoPDupJlVV9l57tDGonKIg 7gCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=v6hAFaX9vmxUL5xYrNoRC7SMgp3IDftS6r3DQrdbdGo=; b=kapxAe4QYmXDJjYU4fv9e+joelz3+xz9XiEihGye1OrVQO/nYEJFCBW6h71SLNhd30 MbJd6TL1cXfYonvOsW0JyjE5nl/d9gdOd7NoGehseoAEi5/NACOYxxDa2WVR+KL0Dgis xYdNSfb7fJaK4VYGXSK0P/XG33n+aV/838WQF8U5H+RkaLJBrD71O6OquMPz8J2D9ri4 gdrSSTVLMQiaeEL62C6u7powHTQZDwO65hFlVjyjvNm82rq75ITITTQ6LfDkif/dMVrm IKmPVZNQr9PtFB0nSXQ97v5PxXepe/bTCkerBzWPHP0czah2IRH/cZoxFqQXR3woGVci 497g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j12si5514244otq.21.2020.03.29.11.44.22; Sun, 29 Mar 2020 11:44:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728551AbgC2ScU (ORCPT + 99 others); Sun, 29 Mar 2020 14:32:20 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([146.101.78.151]:55838 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727506AbgC2ScT (ORCPT ); Sun, 29 Mar 2020 14:32:19 -0400 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-221-F3kvLTyUN4CuXFOWfNh4Zw-1; Sun, 29 Mar 2020 19:32:16 +0100 X-MC-Unique: F3kvLTyUN4CuXFOWfNh4Zw-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Sun, 29 Mar 2020 19:32:10 +0100 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Sun, 29 Mar 2020 19:32:10 +0100 From: David Laight To: 'Linus Torvalds' CC: Andy Lutomirski , Ingo Molnar , "Al Viro" , Thomas Gleixner , X86 ML , LKML , Borislav Petkov Subject: RE: [RFC][PATCH 01/22] x86 user stack frame reads: switch to explicit __get_user() Thread-Topic: [RFC][PATCH 01/22] x86 user stack frame reads: switch to explicit __get_user() Thread-Index: AQHWBeo2BuGXOsXgxk+vqOM7n5IKaahf05lg///2sYCAABJhQP//8waAgAAUc7A= Date: Sun, 29 Mar 2020 18:32:10 +0000 Message-ID: References: <20200323183620.GD23230@ZenIV.linux.org.uk> <20200323183819.250124-1-viro@ZenIV.linux.org.uk> <20200328104857.GA93574@gmail.com> <20200328115936.GA23230@ZenIV.linux.org.uk> <20200329092602.GB93574@gmail.com> <489c9af889954649b3453e350bab6464@AcuMS.aculab.com> <9352bc55302d4589aaf2461c7b85fb6b@AcuMS.aculab.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: 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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogTGludXMgVG9ydmFsZHMNCj4gU2VudDogMjkgTWFyY2ggMjAyMCAxOToxNg0KPiBPbiBT dW4sIE1hciAyOSwgMjAyMCBhdCAxMTowMyBBTSBEYXZpZCBMYWlnaHQgPERhdmlkLkxhaWdodEBh Y3VsYWIuY29tPiB3cm90ZToNCj4gPg0KPiA+ID4gVGhhdCdzIGhvdyBnZXRfdXNlcigpIGFscmVh ZHkgd29ya3Mu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19pbnR0eXBlKCoocHRyKSkg X192YWxfZ3UgYXNtKCIlIl9BU01fRFgpOyAgICAgICAgICAgIFwNCj4gICAgICAgICBfX2Noa191 c2VyX3B0cihwdHIpOyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg XA0KPiAgICAgICAgIG1pZ2h0X2ZhdWx0KCk7ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICBcDQo+ICAgICAgICAgYXNtIHZvbGF0aWxlKCJjYWxsIF9fZ2V0 X3VzZXJfJVA0IiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwNCj4gICAgICAgICAgICAg ICAgICAgICAgOiAiPWEiIChfX3JldF9ndSksICI9ciIgKF9fdmFsX2d1KSwgICAgICAgICAgICAg ICAgXA0KPiAgICAgICAgICAgICAgICAgICAgICAgICBBU01fQ0FMTF9DT05TVFJBSU5UICAgICAg ICAgICAgICAgICAgICAgICAgICAgICBcDQo+ICAgICAgICAgICAgICAgICAgICAgIDogIjAiIChw dHIpLCAiaSIgKHNpemVvZigqKHB0cikpKSk7ICAgICAgICAgICAgICAgIFwNCj4gICAgICAgICAo eCkgPSAoX19mb3JjZSBfX3R5cGVvZl9fKCoocHRyKSkpIF9fdmFsX2d1OyAgICAgICAgICAgICAg ICAgICAgXA0KPiAgICAgICAgIF9fYnVpbHRpbl9leHBlY3QoX19yZXRfZ3UsIDApOyAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICBcDQo+ICAgfSkNCg0KQ2FuJ3QgeW91IHNpbXBsaWZ5 IHRoYXQgYnkgdXNpbmcgdGhlID1kIGNvbnN0cmFpbnQgcmF0aGVyDQp0aGFuIHJlbHlpbmcgb24g YSBhc20gcmVnaXN0ZXIgdmFyaWFibGUuDQoNCglEYXZpZA0KDQotDQpSZWdpc3RlcmVkIEFkZHJl c3MgTGFrZXNpZGUsIEJyYW1sZXkgUm9hZCwgTW91bnQgRmFybSwgTWlsdG9uIEtleW5lcywgTUsx IDFQVCwgVUsNClJlZ2lzdHJhdGlvbiBObzogMTM5NzM4NiAoV2FsZXMpDQo=