Received: by 10.223.185.116 with SMTP id b49csp1105689wrg; Sat, 3 Mar 2018 15:43:38 -0800 (PST) X-Google-Smtp-Source: AG47ELtdBlarqRQ7PrEH41Svfw3U1P+fZGmJBTjTHOdu6qxsOQCx+1wi2B01tgoe7Lr1cCbzCv82 X-Received: by 10.101.93.17 with SMTP id e17mr8353740pgr.281.1520120618518; Sat, 03 Mar 2018 15:43:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520120618; cv=none; d=google.com; s=arc-20160816; b=FA5vjPw502RUGSHB2VQLJj/EyfGiiP3M/VJjnMG16y83ORGHIHlxTMTjNA5zT27KEy maxYAIKKtxdFVmIOiiqZGhr03kdmggNBDvcbEutBSAiWFTZ5aMSBJWPmgifQysl08cNG cNkiIp2OeVUcTs8pfF4A5SbqhBrNjLJa5mDXAbqHMcdPQX9Fv1He6pPt8s2reQ+s630h Y/t6NF01tLDAv0iTHoL5FkxYbuG4C2IXOqof/+c1YNGPqfGqcVzs4C8JR+458NML5tbs Ih7mCD6VpxEJl0gqj7FL4tSML7yIIpXdDkMe6egvX1gDmLbeQrhrlGiR8B3vz8Kk1aIO Ad6Q== 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=HAgQ3O4j/2ctsYC5yqmw3eCxCAQPt4pW31L5zUc4SPo=; b=anPtvg2Ih2E6/XtCdl86bnvNy5iSNaJmeMEgCFFv5IyyQAdRv2B8+NP5s4VYYJchVX x6JERnBLfY2PQceHyANuA8vj2Hb2mB7yHvnjenS9qJ9Ne8BrQjtDfJTvKq8cI9OzR0sL ufgZHuiXqpQLYd2fTkaDUttVYfvhW9cjc+FsVkpOdYLVZPpCxBqs1zltL2ItMgHAQtHi H3VSGCCzyJcyauh/CbMke4oRm30hhUB82yqpBZNcSb5ATZM3PhRD2vr/ZTOg8WBoLeMK Y6SX8A7eFxAKmD8yGfNBbSFYFCQQjUim2QfkCO9+NVM4TK6PZMI2QFbNxpq8ak6zd0mN Sbng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=BD6B7w59; 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 k64si4006984pgk.256.2018.03.03.15.43.24; Sat, 03 Mar 2018 15:43:38 -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=BD6B7w59; 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 S934557AbeCCXmZ (ORCPT + 99 others); Sat, 3 Mar 2018 18:42:25 -0500 Received: from mail-by2nam03on0128.outbound.protection.outlook.com ([104.47.42.128]:42080 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934009AbeCCWew (ORCPT ); Sat, 3 Mar 2018 17:34:52 -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=HAgQ3O4j/2ctsYC5yqmw3eCxCAQPt4pW31L5zUc4SPo=; b=BD6B7w59ZO6NdVo9VAy9NYN/JXDoF+89gY+3YNyFXwEGSm1Mt5/07sc/dlzZKLKLaPdr8WsSr12PlfWAJfvxP+VlRE8QRhMravzdX5bBF1hqUtSLHJgUZYWQcvPs5Bwls/poPF+cv/hLfu1T1nk6HpMq66t5SFHVF06gvZcGFUs= Received: from MW2PR2101MB1034.namprd21.prod.outlook.com (52.132.149.10) by MW2PR2101MB1068.namprd21.prod.outlook.com (52.132.149.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.567.3; Sat, 3 Mar 2018 22:34:46 +0000 Received: from MW2PR2101MB1034.namprd21.prod.outlook.com ([fe80::1d56:338f:e2b:cec0]) by MW2PR2101MB1034.namprd21.prod.outlook.com ([fe80::1d56:338f:e2b:cec0%3]) with mapi id 15.20.0567.006; Sat, 3 Mar 2018 22:34:46 +0000 From: Sasha Levin To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: Jim Mattson , =?utf-8?B?UmFkaW0gS3LEjW3DocWZ?= , Sasha Levin Subject: [PATCH AUTOSEL for 4.9 126/219] kvm: nVMX: Disallow userspace-injected exceptions in guest mode Thread-Topic: [PATCH AUTOSEL for 4.9 126/219] kvm: nVMX: Disallow userspace-injected exceptions in guest mode Thread-Index: AQHTsz8MvvaJm8wQaUm4QeLuVTnS/g== Date: Sat, 3 Mar 2018 22:29:09 +0000 Message-ID: <20180303222716.26640-126-alexander.levin@microsoft.com> References: <20180303222716.26640-1-alexander.levin@microsoft.com> In-Reply-To: <20180303222716.26640-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;MW2PR2101MB1068;6:XI4DxX9SDtbfLClEkf0BMNclX8mM5rOmk0sNpXwPJZ1QsBHt9ZFBWBqw/rtFGGZoR0yqR73VpdbVh/aAYYBt1QMIOsTnwK5bNk4F91P7BjvpFwWSgv75KslCgK73+CwDHb99yyW8CnOu9FbHT3zXB7q21LSKgePKQfV0+cQE8tgFpb1tGZpPoEEXMK0A14SxrdDqI0nv6WNzLguZdbdDYKpGzHzm3oSKuyz28dqpJItOLsenwRPjucLkkk2r/1lz0kvs8V5/Kj9JunGRbpfm7NfI0BF8GBI6NV4kkICmlRzLj378I9mpe+y+yTaURldO64OOhKDh+l284XNMmejEnORNxi66PMMg2Aq6kGVRq0WsHiL/p90IIJfceO6prmRi;5:9l5pGLSgRKnUAF1zs00qZKe+4RSSUNfuqzsnEx2+1dUgnmZxY5J1TMYW3J/PFb3kbDKJmRjNg9wDtNhEfgX58oAtB7i/3G0VMFEJNZQd9+FznCochotQ3R4+GlEB0ZEYh7yBjCOoAojLmNcJHs1WnX3NtbzNEcTBGYSdisD5300=;24:OMOLh6BhR5px4P0YykQgigi1NtNaMsmwb79C4kG83PndKW/L60UkKV1YsiBZhyC+TNQatIxSuedgVFgaEKn4L/2SK9/ysZu7oxQRpPuJmOo=;7:337zekosz8czbPwZq+R7aiFHBi1Hp5HHT6j95UI+8dMNWEhgereWzzFwdWndrJjAJ54Q0amQTPgY5y8uq3E0ekjcC5Em4vOSDnU8cKN3hQ0Tni4w+ibjnSZ41ytLM2H9iKn/St1nC0sja52HSIS8tDm+QXoneVVslx9mDhJc1oyAS93ufU43DNlgdI/91I9Y/h6aJ9eyzdj6WT/GxyEeWwBJTv3mEj2sTCRP0ekkNgOA8NEyge/5jwI5vNpPIypW x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 332bd2d9-793e-42e9-d2d8-08d58156f76a x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7193020);SRVR:MW2PR2101MB1068; x-ms-traffictypediagnostic: MW2PR2101MB1068: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(211936372134217)(153496737603132); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040501)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(3231220)(944501244)(52105095)(10201501046)(6055026)(61426038)(61427038)(6041288)(20161123560045)(20161123558120)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:MW2PR2101MB1068;BCL:0;PCL:0;RULEID:;SRVR:MW2PR2101MB1068; x-forefront-prvs: 0600F93FE1 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(39380400002)(366004)(376002)(39860400002)(346002)(199004)(189003)(102836004)(59450400001)(6506007)(26005)(66066001)(4326008)(1076002)(105586002)(10290500003)(478600001)(72206003)(86612001)(14454004)(186003)(2906002)(2501003)(305945005)(7736002)(36756003)(3660700001)(5250100002)(25786009)(2950100002)(5660300001)(3846002)(2900100001)(3280700002)(6116002)(106356001)(22452003)(97736004)(316002)(81166006)(10090500001)(81156014)(8936002)(8676002)(76176011)(6436002)(110136005)(53936002)(6486002)(54906003)(6512007)(86362001)(107886003)(68736007)(99286004)(6666003)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:MW2PR2101MB1068;H:MW2PR2101MB1034.namprd21.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: oUKUVg6IYuNTO2AxiXk4XquJ2LP2CmFrQBNj+huH8WP0789w80RAo9hpIr+AUL9C8WU0cCD7OwPQEITPIyEmq5ObiQUoI3Vcebzr6uccDHzBhoAmorNdSQtGxU6ylW9ZHED/m1nXfQSFGO+Ao16nj4HpdtQsWhfniy2rHna0jJw= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <36333A87FFD62B419D3AA6242E96E024@namprd21.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 332bd2d9-793e-42e9-d2d8-08d58156f76a X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Mar 2018 22:29:09.3382 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR2101MB1068 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogSmltIE1hdHRzb24gPGptYXR0c29uQGdvb2dsZS5jb20+DQoNClsgVXBzdHJlYW0gY29t bWl0IDI4ZDA2MzUzODgxOTM5NzAzYzM0ZDgyYTE0NjUxMzZhZjE3NmM2MjAgXQ0KDQpUaGUgdXNl cnNwYWNlIGV4Y2VwdGlvbiBpbmplY3Rpb24gQVBJIGFuZCBjb2RlIHBhdGggYXJlIGVudGlyZWx5 DQp1bnByZXBhcmVkIGZvciBleGNlcHRpb25zIHRoYXQgbWlnaHQgY2F1c2UgYSBWTS1leGl0IGZy b20gTDIgdG8gTDEsIHNvDQp0aGUgYmVzdCBjb3Vyc2Ugb2YgYWN0aW9uIG1heSBiZSB0byBzaW1w bHkgZGlzYWxsb3cgdGhpcyBmb3Igbm93Lg0KDQoxLiBUaGUgQVBJIHByb3ZpZGVzIG5vIG1lY2hh bmlzbSBmb3IgdXNlcnNwYWNlIHRvIHNwZWNpZnkgdGhlIG5ldyBEUjYNCmJpdHMgZm9yIGEgI0RC IGV4Y2VwdGlvbiBvciB0aGUgbmV3IENSMiB2YWx1ZSBmb3IgYSAjUEYNCmV4Y2VwdGlvbi4gUHJl c3VtYWJseSwgdXNlcnNwYWNlIGlzIGV4cGVjdGVkIHRvIG1vZGl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