Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3042795ybl; Fri, 20 Dec 2019 03:02:23 -0800 (PST) X-Google-Smtp-Source: APXvYqzODBwBTsqL60B904aHEMWbB6l6KVZTNCWMnqSz4ElQ1lt7n8YOu2eduZDKXeXDvWveBNp/ X-Received: by 2002:a9d:32e:: with SMTP id 43mr14178201otv.301.1576839743633; Fri, 20 Dec 2019 03:02:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576839743; cv=none; d=google.com; s=arc-20160816; b=K6G+6x6Y7z4GJUQar4vLVsFvwIyflqKzGwC9Gd7NIyOyJ+gJAcOH34Qz1hmoF9Am3+ IX46Piuzd+U+T2mzTny7wPBRmmPnGcRAqnbJe3E999k2Ei/4hB4iTXcvhNQzJ62s3cse iEA5CJAZI932XAcJkhhd7IuZQa7Fvpx+YfNhTcPWgIkeL0XFi0fStsW8jUS2AXnyVzwO kYYHbZ3YWL9mJTU8G1pnwHc6Z9nDm19PWYEEOziJ/27JJNZ298L9pdkqBFRIxTTQW5nu zEljOFbaKq///hhm1G6HpkiC9JCEF5qgDvcUNCREp3cXEmt8wp6xD5xdaFmR1LW36V6s SHUw== 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=sHgtCm5KNKFtEaiM4at4QM5Q3PFqIb8t3gSx4/y9oP4=; b=td1/CwXktG3VJWx638DybwwE4M0uk71F4myV0HZnuZ78a6ctXcAyZq109xo+ctdLSi ZKpLK+c1/rDvjFo5V3t5OjJOWbeN8XT1tnT1XiTBi/YeFehyGDEhAH8+g5ny78HAWscA mqXWbUSvlIPwjwis8ArC/Kmpd2es21OfE47HdAi3DkC+9pkIMC+EXRY6O8KZ0H1kNMIY 1dZyXIJm6BOYZw4AlPZRL+SzAYN0K+pFaZk2yyMP5t1aB091DHQcq+2x9IVleBx5hekd VfmcjySpg5rAPNWMxrb2pOXWjdcVv7hTbruvOWyi9mkUZpVgVyEQKRufQ3Anjd9VeD1U 7g0Q== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 25si4571229oiz.230.2019.12.20.03.02.07; Fri, 20 Dec 2019 03:02:23 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727261AbfLTK7h (ORCPT + 99 others); Fri, 20 Dec 2019 05:59:37 -0500 Received: from eu-smtp-delivery-151.mimecast.com ([207.82.80.151]:59824 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727177AbfLTK7h (ORCPT ); Fri, 20 Dec 2019 05:59:37 -0500 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-6-_nn-FqbbNh-qOyl_rRohbA-1; Fri, 20 Dec 2019 10:59:34 +0000 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; Fri, 20 Dec 2019 10:59:33 +0000 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; Fri, 20 Dec 2019 10:59:33 +0000 From: David Laight To: 'Andy Lutomirski' CC: Brian Gerst , Andy Lutomirski , X86 ML , LKML , Ingo Molnar , "H . Peter Anvin" , Boris Ostrovsky , Oleg Nesterov Subject: RE: [PATCH] x86: Remove force_iret() Thread-Topic: [PATCH] x86: Remove force_iret() Thread-Index: AQHVtuhWtS7aVpT6VkyrDyqz06b2R6fCyteggAAITICAAAFfwA== Date: Fri, 20 Dec 2019 10:59:33 +0000 Message-ID: <227c8442919d44a790370870aaba416c@AcuMS.aculab.com> References: <431a146f6461402da61d09fff155f35b@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-MC-Unique: _nn-FqbbNh-qOyl_rRohbA-1 X-Mimecast-Spam-Score: 0 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 RnJvbTogQW5keSBMdXRvbWlyc2tpDQo+IFNlbnQ6IDIwIERlY2VtYmVyIDIwMTkgMTA6MzANCj4g PiBPbiBEZWMgMjAsIDIwMTksIGF0IDY6MTAgUE0sIERhdmlkIExhaWdodCA8RGF2aWQuTGFpZ2h0 QGFjdWxhYi5jb20+IHdyb3RlOg0KPiA+DQo+ID4g77u/RnJvbTogQnJpYW4gR2Vyc3QNCj4gPj4g U2VudDogMjAgRGVjZW1iZXIgMjAxOSAwMzo0OA0KPiA+Pj4gT24gVGh1LCBEZWMgMTksIDIwMTkg YXQgODo1MCBQTSBBbmR5IEx1dG9taXJza2kgPGx1dG9Aa2VybmVsLm9yZz4gd3JvdGU6DQo+ID4+ Pg0KPiA+Pj4gT24gVGh1LCBEZWMgMTksIDIwMTkgYXQgMzo1OCBBTSBCcmlhbiBHZXJzdCA8YnJn ZXJzdEBnbWFpb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