Received: by 10.213.65.68 with SMTP id h4csp2147178imn; Sun, 8 Apr 2018 20:56:34 -0700 (PDT) X-Google-Smtp-Source: AIpwx49x1QGTnxWV41yZOdUEwCIMD0CqWfYU//FFxE9U/zwxerx+xniOm5pnmzNXuOueNq7ab5cP X-Received: by 10.101.71.136 with SMTP id e8mr12354112pgs.12.1523246194632; Sun, 08 Apr 2018 20:56:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523246194; cv=none; d=google.com; s=arc-20160816; b=PBHImgFB4DPDuLstOK8kg6cgGMb5mWbDoOEDugcOtn+LI56oBZRQIXJkMYfdObv11e UGK+cTlqgM+ubSIGeMQL9oMLR9AOAvvEgwBkrx2uX2nxhW0OpYsWfFeVorTHb22+uPvd N1yrPx3AJ82F274e5Io2uIvNiz6TwsvVVRDpj9wJRMcifO6maAVGzzuqZlzfdGgG0sCF PjPHqPEMzUTZl19ltTi/3Cc53+z+6Jikazfr6mntI6ILeFg+XWYWCr4MKXOJTdfMz6QX zpTA6vgeEnN4YeQhhvL3+/psO5orrPBZCsbjL7pvzDzvd7KVXRAZmoA5JsTNM31AX5se edsA== 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=/pd1PProrZ82m+ABhiYi2JgfgOjFh9W3HQB7dzW2OXE=; b=SMVVLcmXGGDIdbQfbZ9c0Fw0LrjDPiINQ6VhZR1eW+UVvs5dnxn7UrZ92+TkwnnNod DpJu8IE3lcuixS7BgTx4q7t+SzAC/72RhjZz2j33lzpiJe0k6V16gh2g0qDm0wcHio94 yi9lmtzJPfqMNl/y9s0qU6eKkPnqMeoKTQFWcswnhMn/moil7nwa6pcrOFCyd7iLeu3P K896cxSPhf1wA+leXQewxdQk3SlDHZUJlrr5fuC26m8VgnErVIweErDaWAoK2xejyqbn kQgtZslgpVxJReYRP0x8TQwaT7qQDhTEW1g7lIYAbUEJK63Ivtz1kOFcSC9CLAWxBnDe wdlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=TxPE9xCO; 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 q2si8008696pfh.196.2018.04.08.20.55.57; Sun, 08 Apr 2018 20:56: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; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=TxPE9xCO; 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 S1754606AbeDIDta (ORCPT + 99 others); Sun, 8 Apr 2018 23:49:30 -0400 Received: from mail-by2nam03on0122.outbound.protection.outlook.com ([104.47.42.122]:11088 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754061AbeDIATb (ORCPT ); Sun, 8 Apr 2018 20:19:31 -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=/pd1PProrZ82m+ABhiYi2JgfgOjFh9W3HQB7dzW2OXE=; b=TxPE9xCOEjxat1+PJOrzxoT2VNLNkvjpRk/fyP2Rd0mWW0isRz6sVqbxVcLkVuA11K5C4Ucm9vfdTCf9Q83G32v5kjjHpP7x8OAxgPw7vY7uIGT11Vdjx56MGIMOTOlm+8ub+pf/bJ1D+aha0C9nyl2xit7BXvrfIyJDdX/fjrw= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB1063.namprd21.prod.outlook.com (52.132.128.39) 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:19:24 +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:19:24 +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.15 109/189] x86/hyperv: Check for required priviliges in hyperv_init() Thread-Topic: [PATCH AUTOSEL for 4.15 109/189] x86/hyperv: Check for required priviliges in hyperv_init() Thread-Index: AQHTz5g/A1ksiFAmjkmhZDxsAa8C3A== Date: Mon, 9 Apr 2018 00:18:12 +0000 Message-ID: <20180409001637.162453-109-alexander.levin@microsoft.com> References: <20180409001637.162453-1-alexander.levin@microsoft.com> In-Reply-To: <20180409001637.162453-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;DM5PR2101MB1063;7:DTd4ceXNDQEjEmI5PfcfieB4oQl71h3feM68soPnKo/7YMzCLKcOtU0yHxcd9A/8UH8GkSPXjWOMGzl3JrScuOXmhbUBYkYzSJpCRuIm25ApvNMSZLaSw+1zY/FuojmznnG3bATD/BFQfI/Q4E8aUu+0wWjvhmPmIF0eEHClQ6ivyT9+rf5vHEo3h/Fr+FuveLDwOyMAz1ogQ6CQv56DeI2k6hfKN09s2UkL+6u+S0cyUDYWt3blHYw9jCUqb0am;20:ss8Bfz7MQOmx35zQcZW/5w2Ud3+QDv7qbu58IRxb/ZamoBNaTHrq3cbBerUCY070e2oRfnLKrg8rwTEFuwe1D0qqP2QPYDEJYtxWozb9p9oBUXOTcbAph9LWdb6Y4ga20uffS+lgfosyMhrln7G+Aj/8a0IXZkSzW/T+I4533Hc= x-ms-office365-filtering-ht: Tenant X-MS-Office365-Filtering-Correlation-Id: b01776e0-dbf6-445c-5d12-08d59daf8c8c x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:DM5PR2101MB1063; x-ms-traffictypediagnostic: DM5PR2101MB1063: 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)(5005006)(8121501046)(93006095)(93001095)(3231221)(944501327)(52105095)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041310)(20161123558120)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011);SRVR:DM5PR2101MB1063;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB1063; x-forefront-prvs: 0637FCE711 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(39380400002)(39860400002)(376002)(396003)(366004)(189003)(199004)(2900100001)(6436002)(7736002)(10090500001)(102836004)(3660700001)(6506007)(76176011)(305945005)(4326008)(5250100002)(97736004)(26005)(25786009)(6512007)(2906002)(81166006)(106356001)(107886003)(68736007)(14454004)(86612001)(66066001)(10290500003)(6306002)(59450400001)(6666003)(5660300001)(966005)(81156014)(478600001)(476003)(486006)(6486002)(72206003)(3280700002)(99286004)(105586002)(36756003)(1076002)(2616005)(11346002)(53936002)(446003)(8676002)(186003)(3846002)(54906003)(6116002)(2501003)(8936002)(316002)(110136005)(86362001)(7416002)(22452003)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB1063;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: 6aQt7t2yOLn4qDGlqayv1W4xU3/bnDqs6LUVdQhrvrxYKQVTYL+igkzoj9A5P8dprx+zXODjDHCxVXWFk88RgVfhrXr1xv0rPhNSizPbjwUUsNmMCV5Yz+MoPX4EZZAjh/tDGSeW3WFGqbZnohCUkec4+qkWY3hyrVuECQItSDXumZPNH89KFioz/WZjAixGJzWm+bei/Xz54eg2GY6koef6IyYYtINXa0G8vqQ18L/uSsztGAjHT7NacH9rzVAJcQEKIgsWLtOwqq5XO29AEKSt4nZmGJ036GEVcJ2fuO/gW9JT8nf5x69B07bsdycq0g9yEOxCP2FKJKSsGyicB6nCJ5bFqJBq1IN8kgzNXlIEnRAZ5atriNcuhQNk1VYk9qX8Dwr66t5V4Id9gzg1ZygM+GmbyoHpzaKSq2P/NZM= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <9033351F3076D2418DEBF336FF801317@namprd21.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: b01776e0-dbf6-445c-5d12-08d59daf8c8c X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2018 00:18:12.3967 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB1063 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 ciA8c3RoZW1taW5AbWljcm9zb2Z0LmNvbT4NCkNjOiBrdm1Admdlci5rZXJuZWwub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