Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752804AbdLFQqV (ORCPT ); Wed, 6 Dec 2017 11:46:21 -0500 Received: from mail-eopbgr30138.outbound.protection.outlook.com ([40.107.3.138]:53014 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752540AbdLFQqK (ORCPT ); Wed, 6 Dec 2017 11:46:10 -0500 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=den@virtuozzo.com; Subject: Re: [PATCH RFC 0/2] ignore LBR-related MSRs To: Jan Dakinevich , Konrad Rzeszutek Wilk Cc: linux-kernel@vger.kernel.org, Roman Kagan , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Thomas Gleixner , "H. Peter Anvin" , x86@kernel.org, Paolo Bonzini , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , Andi Kleen , Kan Liang , Colin King , Stephane Eranian , Sebastian Andrzej Siewior , Greg Kroah-Hartman , Jin Yao , kvm@vger.kernel.org References: <1512560585-27263-1-git-send-email-jan.dakinevich@virtuozzo.com> <20171206150648.GF28074@char.us.oracle.com> <20171206193946.23e360cb@virtuozzo.com> From: "Denis V. Lunev" Message-ID: Date: Wed, 6 Dec 2017 19:45:54 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20171206193946.23e360cb@virtuozzo.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [93.175.28.43] X-ClientProxiedBy: HE1PR0402CA0059.eurprd04.prod.outlook.com (2603:10a6:7:7c::48) To HE1PR0801MB1803.eurprd08.prod.outlook.com (2603:10a6:3:89::7) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 93b54b78-f0bf-48fb-bdd1-08d53cc8d783 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603286);SRVR:HE1PR0801MB1803; X-Microsoft-Exchange-Diagnostics: 1;HE1PR0801MB1803;3:pjFrzmyembVTynaNNxNfZkM2RUovll+JAheqXBqkNxEK3ORm/rHr+JFklzv6k98RWlzIw12uNkzAYNNOpEgtgYLX4Etc1WKvBTdA/AcvTV0AoiSY/2Jw4yL9DDge8Y+1RFIOakl/16OQ83LHLn1DHP7KUnVhqMERPs8UWu5bBwvHeiaVxSULRNj7/sU3KfcNQt2jMSbspzQnQBjyc7PaDc72Oa503nw89d+wFeFvvtRJVp8a8LPcqgR+kfdolI0z;25:/eklJ1UiY/VC+k/PZq94O3bq6EjkCKj5DHRKtWBfFTioshKLKu7wuz3zaZmAyHbOeJPQ/eOJt5I9HwcwCiKWKvIYKXZaGQgSzy1iHf5Nvo7LHdnRBFvoiXXSJCHsmIk9aXGQ1RpFczrP5zCdZ9bvsI1GrKXlvDIzIveYpTc0/W6SGE+IXjyAcqkclZm6P9M6KM0/pIWV9UUDgaqUAcYrqmAuHQQffxcgAXwuUndHNkneJiYreEIJhdqs6vv/bKLEnE6d81qPrutKmEC20Pe96ZjsxVP/aT365UXxHKXQQaFNh+MhGoPnVR9F6Mj7LiPNbIkteDtD49SljEgPLOjHSQ==;31:FLh6ECGbtRyviCvoUk0a6w4MZWWY2hynKrzSz77HNx4FEknsTqV9ATDQxami6iofXnglz3UQ5kwgTbgcJoiHIc4xB2ZDNAAy2rBfsLLBs2jtOkV1ptRD95OyYHUO/yGQ13rbzSHcu/APYbQ8MjJ09wgB3gK1PeZ83opmj5ZXMYGQ6vRtN9uZbkdrFsdrugD9+7FXpgdogu0ExMCk2PNedFK746pF2KVFHXqp9nu1PpU= X-MS-TrafficTypeDiagnostic: HE1PR0801MB1803: X-Microsoft-Exchange-Diagnostics: 1;HE1PR0801MB1803;20:mW74AcG4SwjvAc3Z1bRob/AjuCtwvwFBCJJSd/shVJOS9IgocYCPkzAurI9Hq1Wyt3pqu/StSeF+QM/qD0C8kLJ0WGOjlKvMMgNGs++8oIDfBYQSrhiShstOZr0XsawcC0MWiW/3ISS6seh0zQ4+FG95KOLRa6jEWY5s25VdGteCWOWYOCNXN5QwD6066ScbPwhSs8MFVvCd9IhtVAIwdQ2lOY51o0gxzCznkZAi8ills1ylFHqkSqVl8hT21VdmNFbx7hNzU0PPgACLXMXDY8myCIDIn0WJojKKepHcn1T0iIAhCxD33ex185V38XYzkXIR/v7fgJxfmwksRlR+L0efAo3OpeUEcdcofy+tLBAZkjmI7ktkVZl4nroO9o4eMUQg98Zg42UqgxNhd+l+RQTupzBafQ4a+UIAoySEC78=;4:ijSCQhRgeFwnohslJouUdTJghFX879YNXn+Qd7qIu0FmlEM7w++Gpz4y3vAgOvtXXCGYtkyd9av59o2Z/0NYJGYBYxy0bwjy/4AzVKx6w0vOJJWfMHmqd1A5qi/0Ds0C4TOdNzgpAY5/lWXSzhA4KHkwDySEbz4z2Xbqw4EGnXpFfi5KHFPT7dM/reisYlpszNprfFtay4mn4xCyHzJXxTeQC4xLpo7hPuzgLv27U1uCh0fvIFSf2oC+BCuiRzt1A9flfQ0xFYxeApTsGp/990/0KtIsERP6KUOSjWXq+rrjjX5lq2PGadq9AS+eTyQE X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(146099531331640); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040450)(2401047)(8121501046)(5005006)(3231022)(93006095)(93001095)(10201501046)(3002001)(6041248)(20161123564025)(20161123560025)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(6072148)(201708071742011);SRVR:HE1PR0801MB1803;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:HE1PR0801MB1803; X-Forefront-PRVS: 05134F8B4F X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6049001)(366004)(346002)(376002)(199004)(189003)(24454002)(5660300001)(3846002)(6116002)(7736002)(68736007)(31696002)(230700001)(65826007)(77096006)(76176011)(2486003)(6486002)(6666003)(305945005)(81166006)(7416002)(81156014)(2950100002)(52116002)(23676004)(86362001)(52146003)(53546010)(2906002)(229853002)(8676002)(97736004)(16526018)(8936002)(54906003)(110136005)(58126008)(316002)(16576012)(101416001)(66066001)(478600001)(105586002)(47776003)(65956001)(33646002)(106356001)(36756003)(25786009)(53936002)(6246003)(64126003)(50466002)(65806001)(4326008)(83506002)(31686004)(217873001)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:HE1PR0801MB1803;H:[10.55.125.99];FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtIRTFQUjA4MDFNQjE4MDM7MjM6RWswZjVFUlMrZkgrY3JEaWd1eXdKMmZt?= =?utf-8?B?ZHJ3akdjN3BDcHBETHZQdGFSdXVDZTZxR3RqQTlPeXZQL0Nqd3U5NjBpamR1?= =?utf-8?B?d2dublhtNkVjSi9BbjBRKzJPV0dSdDhLWkpJdTQwOXYySlp0M3ZCdm9aVjd1?= =?utf-8?B?S3dCWHZNQnNVNXRJb0dPUUxBYXpwT2x0TGNmN2tGalBVL3EwOFpVeDlBRXVO?= =?utf-8?B?VUJOK3ZEbjRHVWRJNXhaWlk5NU5XSFNEcURhWndnRFc5QkVSMURVdVpidmg1?= =?utf-8?B?Zkl4ZCtZaUo4SjEyOXFZZkI0RzdsVUpNVHRtcVYzV2hNY0JvZytXQ0JlZFN5?= =?utf-8?B?aHFGYytlaUVYaURxbVMyK3NGd29yVkZkbml1azBsUEJWUU5DV1NQWFd5VG4w?= =?utf-8?B?LzV2cDhPanZ5RVpZbWcrNTZQL3AvaHo5bi9YaVMyWE0xL3hFOUNSNmo0Nmpv?= =?utf-8?B?WGJqUkp0bGRpUnZ1NFM2K2pqSUxMdlV3QUIrbjJnd3lXSmU4SCt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G0La+esg6+HLe7iTTJUrOPyDhAczqRmL+yAF7ngylKl8WVtZTc+zFauyiEDvSGy0pJ7E/q4/bY9ozmahQhf4=;24:bgGPDPl1KAn0BgU6IZswQ3A/31LJGsGVOgLnT2BxHS4tEasZyiN12BTjdcdKNPfvQREY3BF/4A8XAAHbktDAbwYuNcMGv7H9gqM1olHMo7A=;7:qI5GqBsxFMRimSIRbKrTvLNspuASnZQKeVYMjThF/qAfHZ4dBicp5O9Mnmxe9SijdCaWhruamvjmtwVRtAgqxIwGn1ESt07W3wE081APgleB8GPgnmXh7AK3Hwl34QVBsg4Icb2N9asFCitlhtZCGl0YPe3ud+psrwxC/Dn+/MhmIVnkVd610SKmIA2JfHKUGgqVeh8Jrr15BQ31+y+WaxhUradJilc14tDiinSJP80t32TCc1URqRBXzEV3CGDy SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;HE1PR0801MB1803;20:Xen/m2RdMeOImTw+4Vmvd0A2k7reASlgpv8gL6fgSOUGyMiHkVN1QIIMQMV1g/t5ePmyfCkXkGek0NYOz43UgNZoNawDIj+ZIqSff3bsxnn9NhTYmOMfcVw7szrPNZhzqVA2Bmsr8AXi3Sb706m+x+hCFWIX+6oUcIyV/2fJGI0= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Dec 2017 16:46:02.9029 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 93b54b78-f0bf-48fb-bdd1-08d53cc8d783 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1803 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 625 Lines: 16 On 12/06/2017 07:39 PM, Jan Dakinevich wrote: > On Wed, 6 Dec 2017 10:06:48 -0500 > Konrad Rzeszutek Wilk wrote: > >> On Wed, Dec 06, 2017 at 02:43:01PM +0300, Jan Dakinevich wrote: >>> w2k16 essentials fails to boot if underlying hypervisor lacks of >>> support for LBR MSRs. To workaround the issue, it suggessted to >>> ignore these MSRs (but not all). >> This is without any hyperv enablement? Meaning normal stock guest? >> > Yes, it is normal guest. No hyperv enlightenments were enabled, and > "-cpu host" was specified in QEMU command line. The problem also exists with HyperV enabled. Den