Received: by 10.213.65.68 with SMTP id h4csp2121971imn; Sun, 8 Apr 2018 20:14:40 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+jvpvImaTwm0Y/tctBPQRHLaevL9NnqsH9CgkJJbbLZjU5iOn+RF4la+ilkGyyaGOIGLjp X-Received: by 10.99.149.83 with SMTP id t19mr23784777pgn.433.1523243680097; Sun, 08 Apr 2018 20:14:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523243680; cv=none; d=google.com; s=arc-20160816; b=rqfPyBH25GMilaSQw5FdtfJFCFrZBPJGrfHK1zLgjs+6Vw0zn9iy2M4Z2+FCtilLbj dai9BBsHHQN2BvC0cmCLjxHhSAcuMSUN2dWhG7BxuP0pck86ua+h9s0Fj4+dpLyeayHA bTtuiC3skG3xLViOESWcQcxDiqx/TipRDSxFeqjpYNsmHsXftA62BwUIkn+lMgxv3sb0 0oi+taER45z5LYEWWBTBzohpoyyt+2iTDgQ4A9zFPVaIPvzrh7CkKXiS0OjlNH3riBOc 1vKeyI0LIpAxxicFogvFj7JlkssJXnq6VRl9qFa0gdzjI5KLSrW0qnLO+W+xqLriEVX8 H/MQ== 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=auJOC8aMWfrScoU5vQCm/lgoTKdYiV4MUNylWlEdQck=; b=MP+cEKtN1K2pq3Ejwyjd+M4AaKCbPFBDi7gfrXolvaDDHAearttg6xWUEL7mhr//Ju nlleM0NUVGDJmthAGYAeudoUFBf7a7jdlVDmfllb8qKDL/VPEfazfE6Nx5LNUqpzxk3N c1tzjg1PnHBvZDTK9tGhq3pvgP7/I3Go0gbCwB5e4eMhGXNn17g9IYO2xAuENsRIuB2C e6/0xy5Ubfq3a/Z90CI1k6eBnA/TnJZNUSJeJE9YjWoFbgRMjXg1DwlAiiGMKZDTm9OQ DnzZTu2iQw8AzoSouxOGp9VCaSiodhBg07K5pH2eFRhrsjpy5GXOVsl6cqgHq5bP2g43 NLZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=GRBTZKAo; 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 z22si10258396pgv.684.2018.04.08.20.14.03; Sun, 08 Apr 2018 20:14:40 -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; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=GRBTZKAo; 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 S1754281AbeDIDIb (ORCPT + 99 others); Sun, 8 Apr 2018 23:08:31 -0400 Received: from mail-by2nam03on0117.outbound.protection.outlook.com ([104.47.42.117]:63840 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754109AbeDIAYf (ORCPT ); Sun, 8 Apr 2018 20:24:35 -0400 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=auJOC8aMWfrScoU5vQCm/lgoTKdYiV4MUNylWlEdQck=; b=GRBTZKAoY1MAQwJfG00O7G+tkCtX26HwBt7S8jwy/CND9Z7gUp2fS5nKtTVoCC6JlPKK/V+zQP4L0FN0mQQMXaPJk/byjBXb7x3oMmCwCCpv+HkBGl0Qd0imZZSgZ2JlAcowbz7vQ+GTD0soCGWFlMJUA+STtBZQ90O3QR1FODE= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB0984.namprd21.prod.outlook.com (52.132.133.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.0; Mon, 9 Apr 2018 00:24:31 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059%2]) with mapi id 15.20.0696.003; Mon, 9 Apr 2018 00:24:31 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Vitaly Kuznetsov , Thomas Gleixner , Stephen Hemminger , "kvm@vger.kernel.org" , =?utf-8?B?UmFkaW0gS3LEjW3DocWZ?= , Haiyang Zhang , "Michael Kelley (EOSG)" , Roman Kagan , Andy Lutomirski , "devel@linuxdriverproject.org" , Paolo Bonzini , KY Srinivasan , Cathy Avery , Mohammed Gamal , Sasha Levin Subject: [PATCH AUTOSEL for 4.14 090/161] x86/hyperv: Check for required priviliges in hyperv_init() Thread-Topic: [PATCH AUTOSEL for 4.14 090/161] x86/hyperv: Check for required priviliges in hyperv_init() Thread-Index: AQHTz5ijYn6ZV2yYGEm/YlW7CcMt2Q== Date: Mon, 9 Apr 2018 00:21:01 +0000 Message-ID: <20180409001936.162706-90-alexander.levin@microsoft.com> References: <20180409001936.162706-1-alexander.levin@microsoft.com> In-Reply-To: <20180409001936.162706-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;DM5PR2101MB0984;7:lNRjY+57NOcgWcNFAcS2iGdmsUPl3gc1J5/rT0FkdS8xqjkXg32B2UYuDciO2H9qt7oWHPND930co+ZZemm9g6a9K+mDHlRCs0Govt2D7ZYK/n0QHdG5tEcqE6922bPyAVglK8pBz3SP5u1F9rbn5nGWSDIM7b2YSid0RlEcJ0N4cymihdD3/42ptg8aF/WSQmNs9FhyFZZWdmZuZdxdy/RGJBy1JonvSyWhBVX1nSuLD7reHveTai+uOpMKDkPs;20:NAw+NnkPvmCeoatMVrbKYUSPeEwA0wRI0F91kMJ/vvBulmDWSjOoOd6mYGGyxD6Tb15Ghg5bgjD31uDdabqPy4mn8Tg5TTv6WAIawYmkHEl3DcUJJaEaY5J/gXOQcPMF65ORuOaorv6rswHvR3d59K3xnCpvWw9dqLrP8k/djsk= x-ms-office365-filtering-ht: Tenant X-MS-Office365-Filtering-Correlation-Id: ebca4cdc-be8f-45c3-df9f-08d59db0438d x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:DM5PR2101MB0984; x-ms-traffictypediagnostic: DM5PR2101MB0984: 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)(9452136761055)(42068640409301); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231221)(944501327)(52105095)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(6072148)(201708071742011);SRVR:DM5PR2101MB0984;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB0984; x-forefront-prvs: 0637FCE711 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(979002)(39380400002)(346002)(376002)(366004)(39860400002)(396003)(189003)(199004)(5250100002)(2501003)(110136005)(54906003)(6116002)(6436002)(11346002)(1076002)(486006)(25786009)(105586002)(2900100001)(102836004)(966005)(86612001)(3846002)(68736007)(107886003)(316002)(7416002)(10290500003)(5660300001)(86362001)(2616005)(305945005)(4326008)(446003)(6486002)(22452003)(7736002)(575784001)(6306002)(476003)(8676002)(81156014)(81166006)(8936002)(6512007)(10090500001)(186003)(3280700002)(106356001)(76176011)(2906002)(99286004)(26005)(97736004)(59450400001)(14454004)(6666003)(478600001)(53936002)(6506007)(36756003)(72206003)(66066001)(3660700001)(22906009)(217873001)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB0984;H:DM5PR2101MB1032.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: d6i1V1tIq2IO3pyKK+edlrLcRgzYdGtccy0/u1n2e4f/Oug8SKOVKteat6yewKJ5XhFWPtinxd2b4y1igNNzUvuckOyEfYVn7awknmsPLKbJrk3iDpUwyxQpLI3s8PRIb/MiWjGDMIKhxezi71/QGmwo7oh3JkpjAMfrTU9WLTOSfCFA/9uM4zhG8jMuBdkwdQtlzHVz9MCRvwSjtIXftXXf+akRz7tH5amOnzNjBoWcR8gyEb8drRJqB+1c/R6PTd9To2+EhIenIDAN9jKQkJAt/Lh/tnlXFK16y1ccFulGjDIs7I9YM2h+5UKQvGrIqUJMQjcwJwJxkiT5DcA14E2vm3YiSb2xKLaUMTGA6VkvHUjNnTsiBNKu6Ctj1krxk9mbWbKjWP0POs9NwZbdQc4dsz06cbnjK+i+lyVBJjI= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <1E616B9C16DA934297B9E56EAA36C6AB@namprd21.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: ebca4cdc-be8f-45c3-df9f-08d59db0438d X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2018 00:21:01.0658 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0984 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogVml0YWx5IEt1em5ldHNvdiA8dmt1em5ldHNAcmVkaGF0LmNvbT4NCg0KWyBVcHN0cmVh bSBjb21taXQgODlhOGY2ZDQ5MDRjOGNmM2ZmOGZlZTlmZGFmZjM5MmE2YmJiOGJmNiBdDQoNCklu IGh5cGVydl9pbml0KCkgaXRzIHByZXN1bWVkIHRoYXQgaXQgYWx3YXlzIGhhcyBhY2Nlc3MgdG8g VlAgaW5kZXggYW5kDQpoeXBlcmNhbGwgTVNScyB3aGlsZSBhY2NvcmRpbmcgdG8gdGhlIHNwZWNp ZmljYXRpb24gaXQgc2hvdWxkIGJlIGNoZWNrZWQgaWYNCml0J3MgYWxsb3dlZCB0byBhY2Nlc3Mg dGhlIGNvcnJlc3BvbmRpbmcgTVNScyBiZWZvcmUgYWNjZXNzaW5nIHRoZW0uDQoNClNpZ25lZC1v ZmYtYnk6IFZpdGFseSBLdXpuZXRzb3YgPHZrdXpuZXRzQHJlZGhhdC5jb20+DQpTaWduZWQtb2Zm LWJ5OiBUaG9tYXMgR2xlaXhuZXIgPHRnbHhAbGludXRyb25peC5kZT4NClJldmlld2VkLWJ5OiBU aG9tYXMgR2xlaXhuZXIgPHRnbHhAbGludXRyb25peC5kZT4NCkNjOiBTdGVwaGVuIEhlbW1pbmdl ciA8c3RoZW1ta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