Received: by 10.223.185.116 with SMTP id b49csp1105578wrg; Sat, 3 Mar 2018 15:43:24 -0800 (PST) X-Google-Smtp-Source: AG47ELt7/Ku8BfmK2cIxiJx9WDYremoZt698N42k357jRxWzkY9g/FFcDKqHkbwxKSGt/lqThpYV X-Received: by 10.101.70.10 with SMTP id v10mr8383228pgq.327.1520120604290; Sat, 03 Mar 2018 15:43:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520120604; cv=none; d=google.com; s=arc-20160816; b=Rxi76B4mMyofFGWPedMWR/4xMl0ebKqGodO2StrDbkj389yyZsX+Dp3qwzkVqqnOr/ FZkrBzZqE1Bj4ogKhpkugbT4N5Mo1ldOO2Y3MIHl4azaUbGcj/QdBNEFnwfPWCMwT6MA 2q3vsEp+LQi8fiDfiOgLbtYA8bQaboYOaee3Sjr2wAUgW21eQ4p/qr94SzFdks7TD1Cd 29xC4/6thJV9VXLHv591oM3pd2HNW6Yu2LHm2XCdkI4Lro9I7x8KD7TMviwpCqw+1fAp KB4KJLdEcQEzA7vpL4eHO8YMURjD1hnIISA0iqEDoWaCBxzIHwAbysUQ575W2ZiPIGlo mQ+g== 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=wnWBywLxTYIDyxjg9UmdGrOxq28G/id3oPiqT40fWdo=; b=TcfIWURXTUe5u6roU6B/w/b9UBknjFo/yoOY2+EqKX0eT+6DAgp2pCLwytoURQx0V3 1MyD0mG4CU/KZAt4bOWcWJMg9bviAV5ewJvyT7neUIHOc74oYxx44aSMzxHNb72Zma5F 9BpFJzsuj0HiLFChSpKd6FsZPwCmC/veLm4/qYwTpSro8rf+Nzf7pdIBP8Lfe6RbZ/RM 2Us3ep9oKht/ntr1JmyT9Nv4sjVTzY0/z7m4pqqVVBA1PixZGDxaG6ilH0Tfvh0qAukc 38f0Df9rUZs50Ax5Vh4za474V9KuOeOmZrIRy6FhcLEqssGwrgCQxycwrVEPfo3Djzbv K6lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=V/jOq0p+; 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 x75si7480060pff.339.2018.03.03.15.43.10; Sat, 03 Mar 2018 15:43:24 -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=V/jOq0p+; 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 S934287AbeCCWe4 (ORCPT + 99 others); Sat, 3 Mar 2018 17:34:56 -0500 Received: from mail-by2nam03on0119.outbound.protection.outlook.com ([104.47.42.119]:12016 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933998AbeCCWew (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=wnWBywLxTYIDyxjg9UmdGrOxq28G/id3oPiqT40fWdo=; b=V/jOq0p+D9JWTGoL1foNMVOaGF8KSesXaQ5Hq+AADb9opYCMiJxk+jS0gjaqd8ui52QrdhGX8zZfTcWkDZmVOzHPAwbK3gLkp6zn2n9LP1Pb7bovhwBYuojMXrm8xgbj6KCgOOtsTY1e53QWevDzi4bj1z7Q1zo0ve48ieVBEhM= 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:45 +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:45 +0000 From: Sasha Levin To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: Borislav Petkov , Joerg Roedel , Paolo Bonzini , =?utf-8?B?UmFkaW0gS3LEjW3DocWZ?= , Sasha Levin Subject: [PATCH AUTOSEL for 4.9 125/219] kvm/svm: Setup MCG_CAP on AMD properly Thread-Topic: [PATCH AUTOSEL for 4.9 125/219] kvm/svm: Setup MCG_CAP on AMD properly Thread-Index: AQHTsz8LQQZjLhtHr0WWuxcbv11Ppg== Date: Sat, 3 Mar 2018 22:29:08 +0000 Message-ID: <20180303222716.26640-125-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:zDwmRsFwsy5KPyW1bNubvm24YhNm5yFHV3HYRUGsi8H7cNY9tgDGPG8WHUGXp0nSD2/NxU588T7qXVwJWEqpEkROsyGlHX8ZOtmodLE5iODjeoi4Zp0y1CmncCGfbh6irVqt7jtFpuv7mNy9VMTjsfZ6AqPr2p9ctdYgJBIkRczBqYfUMqt7KEST1mxqq/t1bqDYMlrXuD2SZ2LWS71SwmSyOG76ojG3UGxvCp9k/M8dOFPXye0it6Cel7bysbkosAN5sQvvL36vICLqVqDcSAJeu6Z0m+G2Hg51nF1/uUS4ZcjH4fdOshmYMSwLmM7CdbW6eXjDdaszPIkGrXdQo22p78FXgckpZ9hfgc5Wdry4hsgCf+aP5085opN+X3lc;5:KpywJ/xcegdHdy1SYPotZ5LAaHwaLPn3lEQ/jvg60KdZEF9/sx7J8UHG3HKtF6cwc1CGVAfxgTdUHlCBm81ymPaSiCw47sd/G93PALvxrDO0RHai+bjIiYJqnlZ83nKecNiVdrLFM3tOYt1FbiDRZYkFjDjKi/bSaQbkqvYj4iw=;24:/UsS2TLsz8vJ7xwFMUvC9mzqLSNw5ehjUH8x1lvC3K5LTmndrZP26J7/FjnaioLFsnRaCHKxAZSAATdLHQdTlB4ZKV+BOAUBZwgWqh25ABE=;7:PesfcI450a7GtlOt2EsxVskQYe/p7lT9IBIbYtQ7+tJqDX+kslvQf2VJm2lrzgcrNJKKaJ6zX/fiuQdUYeUcfkbHz7AwqvgR7Yr1U2P6YZhqAPWWKf7Jrv97dz5nn3FRvxcxoO40ZdcJxBAI4dVODqDvprmUMCNs0JEPxXGfbsasnNT6VulSC0raK4CapxSSvg2LPiuHYuzfwL6Te/1eOyxSl4s/q5jgrcL1yMk8LnJNJd4KjKphT0Y2CrQrQhzV x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: d75876ad-54bc-423a-4f5f-08d58156f6c6 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); 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: URcufzZn9n0dTXxkOjIybbGOdQ1iraxJ1whxvZxUHNPpT52AI4eKT8wa/sv6IjBJTIdR3SlnsStyyiZ2ofOFhCZ1KJ1LgUiofCsJucAy/E3FZxgBCre1bRUh/1tGsYyRo4kvQuQi4zTgBCVrES63hpR/3wpUr6gjKCKRSjcjdKg= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <0268BB6D2870F64190ECFCB69035DE35@namprd21.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: d75876ad-54bc-423a-4f5f-08d58156f6c6 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Mar 2018 22:29:08.7444 (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 RnJvbTogQm9yaXNsYXYgUGV0a292IDxicEBzdXNlLmRlPg0KDQpbIFVwc3RyZWFtIGNvbW1pdCA3 NGYxNjkwOTBiNmYzNmI4NjdjOWRmMDQ1NDM2NmRkOWFmNmY2MmQxIF0NCg0KTUNHX0NBUFs2Mzo5 XSBiaXRzIGFyZSByZXNlcnZlZCBvbiBBTUQuIEhvd2V2ZXIsIG9uIGFuIEFNRCBndWVzdCwgdGhp cw0KTVNSIHJldHVybnMgMHgxMDAwMTBhLiBNb3JlIHNwZWNpZmljYWxseSwgYml0IDI0IGlzIHNl dCwgd2hpY2ggaXMgc2ltcGx5DQp3cm9uZy4gVGhhdCBiaXQgaXMgTUNHX1NFUl9QIGFuZCBpcyBw cmVzZW50IG9ubHkgb24gSW50ZWwuIFRodXMsIGNsZWFuDQp1cCB0aGUgcmVzZXJ2ZWQgYml0cyBp biBvcmRlciBub3QgdG8gY29uZnVzZSBndWVzdHMuDQoNClNpZ25lZC1vZmYtYnk6IEJvcmlzbGF2 IFBldGtvdiA8YnBAc3VzZS5kZT4NCkNjOiBKb2VyZyBSb2VkZWwgPGpvcm9AOGJ5dGVzLm9yZz4N CkNjOiBQYW9sbyBCb256aW5pIDxwYm9uemluaUByZWRoY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