Received: by 10.223.176.46 with SMTP id f43csp288144wra; Tue, 23 Jan 2018 21:07:47 -0800 (PST) X-Google-Smtp-Source: AH8x226rZ9TxtTny1l3dkMJlIj83hOK/SC67KEysjP4mpDM2W9e4QNwS1WQWmJTxrsCt2w4Ke59O X-Received: by 2002:a17:902:548f:: with SMTP id e15-v6mr2537351pli.230.1516770467442; Tue, 23 Jan 2018 21:07:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516770467; cv=none; d=google.com; s=arc-20160816; b=mkqeXHhszvTd8U7dqy168n2NRIBP1GGo25XN8uXn/a/q9koyNuOz1ruZNJUnwZS8G6 rTrzSdGjsmHuK4cI3nYRm1xrFszrqoZhucs4o2X4FB1Tq5vvMo4b4Od+2nEU3woU4pkq KVdB8SqIoPRxMXgzcsrJ+60xwQlZEOoFpBtN/8RuGpKvSlRc1af+yiAc0Ys8YVjbJ5qv K/WtD6VFq9/yrh4mxGD2TxSRBtQzlH1ZmB3j45VvSB/F4g4jzwVg9LdtTORO7Kkde2QQ gw/gKZr3LqqxKCarCiGfTzC5T1LC0BZm1dqPd67Uyiklkfh3ZVc6PNJt5LXGyv2VZ1GV 8czQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=4ev3paoB+Otnt2wtWxjLQxKwo222+Cibf0NQnqvGcGc=; b=v/MwBKC0X13/PQuNWbKeuE1MLXBZ6d/AoyP0XLdCrB29p3Ijjd3Poktwd7hvkn/oKS kdWhX0pMxCLAr0Oqq5jcTxkOLLWmJhU9EOAbDtCvj5EnUKAf/oZOv220BobApR8i0fwz ML2kz03LKJPEIOGlOP+209ChhRt+YbwSHbS6lLoy8dzrgzxIBBsPnWeLkdqPWDYnHrmE GZURPUDIN5Uy/T7aBK2vOvtqCAtEn7sbZW70Yir6QZsQ1kHx9qwkxovn3Vzb5gmHIGoi AJvpfcmuYSA/qMEm07pQtDoNiS8acDv24IEZPGl1zggqY8kPoppnT8LsAKg8FPNWWWAU /WDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=LHrXFyLA; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 70-v6si5557185ple.246.2018.01.23.21.07.33; Tue, 23 Jan 2018 21:07:47 -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; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=LHrXFyLA; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752747AbeAXFGG (ORCPT + 99 others); Wed, 24 Jan 2018 00:06:06 -0500 Received: from mail-cys01nam02on0131.outbound.protection.outlook.com ([104.47.37.131]:61072 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752513AbeAXEO1 (ORCPT ); Tue, 23 Jan 2018 23:14:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=4ev3paoB+Otnt2wtWxjLQxKwo222+Cibf0NQnqvGcGc=; b=LHrXFyLAIRo+IemRPxIxt7iPAV5fpLi0fvEOUaLwtMEWVkspr2manGc01ixpJLaDtZM9vMFO0yW/eyMngE74X01OnNv4SMU7mcI+/CcualwjoGWrm1975qD5FKXr4mK8u+6g1pwIv9ygLWiHLK/2XEcZM6a1DoBAMYcWXeClxQI= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB1080.namprd21.prod.outlook.com (52.132.130.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.464.1; Wed, 24 Jan 2018 04:14:24 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::6485:b98:d15e:9da7]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::6485:b98:d15e:9da7%2]) with mapi id 15.20.0464.000; Wed, 24 Jan 2018 04:14:24 +0000 From: Sasha Levin To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: Liran Alon , Konrad Rzeszutek Wilk , =?utf-8?B?UmFkaW0gS3LEjW3DocWZ?= , Sasha Levin Subject: [PATCH AUTOSEL for 4.14 007/100] KVM: x86: emulator: Return to user-mode on L1 CPL=0 emulation failure Thread-Topic: [PATCH AUTOSEL for 4.14 007/100] KVM: x86: emulator: Return to user-mode on L1 CPL=0 emulation failure Thread-Index: AQHTlMnRSDVaZYlBh0KcQwsUrB8Oug== Date: Wed, 24 Jan 2018 04:14:24 +0000 Message-ID: <20180124041414.32065-7-alexander.levin@microsoft.com> References: <20180124041414.32065-1-alexander.levin@microsoft.com> In-Reply-To: <20180124041414.32065-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR2101MB1080;7:DSW9Iz4zfjwUxhF08ze/ULTiG5PJDEKVG6XujreWOQk6IqyWzV7uWT1HlDHAHMzBmwhOxBpU6QFdg1/U7QKN+X4DILhix1+sFfW4uEbB3bY9HxroiAKFMo/EFuaZGGaGwnGJPoYt0CWqpjm7lPo/2gth5hwfI8oANOvLgCNgUm+7OXGzKdVlsiSul0b+OfvK95MtBlc1KQm+cLzudflW8eDGjXmJ91oMLrO8luwsoOj4Z7x/yIKSFQysdYnnPuGw x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-ms-office365-filtering-correlation-id: 05154cbc-31f8-4ad4-d5d5-08d562e0f403 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603307)(7193020);SRVR:DM5PR2101MB1080; x-ms-traffictypediagnostic: DM5PR2101MB1080: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(20558992708506)(89211679590171)(130873036417446)(194151415913766)(146099531331640); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040501)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231046)(2400081)(944501161)(93006095)(93001095)(6055026)(61426038)(61427038)(6041288)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:DM5PR2101MB1080;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB1080; x-forefront-prvs: 056297E276 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(396003)(346002)(39860400002)(39380400002)(366004)(189003)(199004)(72206003)(110136005)(316002)(5250100002)(6346003)(2900100001)(54906003)(1076002)(6116002)(3846002)(22452003)(36756003)(53936002)(99286004)(6512007)(68736007)(2501003)(3660700001)(14454004)(3280700002)(86362001)(102836004)(7736002)(5660300001)(305945005)(107886003)(6486002)(6506007)(2906002)(81156014)(26005)(25786009)(4326008)(81166006)(105586002)(8936002)(59450400001)(106356001)(478600001)(10290500003)(6436002)(8676002)(2950100002)(86612001)(97736004)(76176011)(10090500001)(66066001)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB1080;H:DM5PR2101MB1032.namprd21.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: plGXHFoTcZ0zPe2BrVZb8r0ofUTPlfvHNkPfzF1AEc21QQhcbQ4/ly1bXd5N5QnXHUaIaP5FX9OiuRvMpJbKjw== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 05154cbc-31f8-4ad4-d5d5-08d562e0f403 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jan 2018 04:14:24.7480 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB1080 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogTGlyYW4gQWxvbiA8bGlyYW4uYWxvbkBvcmFjbGUuY29tPg0KDQpbIFVwc3RyZWFtIGNv bW1pdCAxZjRkY2IzYjIxMzIzNWU2NDIwODg3MDlhMWM1NDk2NGQyMzM2NWU5IF0NCg0KT24gdGhp cyBjYXNlLCBoYW5kbGVfZW11bGF0aW9uX2ZhaWx1cmUoKSBmaWxscyBrdm1fcnVuIHdpdGgNCmlu dGVybmFsLWVycm9yIGluZm9ybWF0aW9uIHdoaWNoIGl0IGV4cGVjdHMgdG8gYmUgZGVsaXZlcmV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