From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radim =?utf-8?B?S3LEjW3DocWZ?= Subject: Re: [PATCH] KVM: Handle MSR_IA32_PERF_CTL Date: Fri, 27 May 2016 17:38:50 +0200 Message-ID: <20160527153850.GC11721@potion> References: <770161464247923@webcorp02g.yandex-team.ru> <20160526203931.GB25334@potion> <20160526204439.GF2186@HEDWIG.INI.CMU.EDU> <920591464331762@webcorp02f.yandex-team.ru> <20160527152224.GA11721@potion> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: "Gabriel L. Somlo" , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , "gleb@kernel.org" , "pbonzini@redhat.com" To: kmeaw@yandex-team.ru Return-path: Content-Disposition: inline In-Reply-To: <20160527152224.GA11721@potion> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org 2016-05-27 17:22+0200, Radim Kr=C4=8Dm=C3=A1=C5=99: > (I wonder why MacOS X doesn't read IA32_PERF_STATUS, though.) Oh, it maybe does ... we already emulate status and return 0x1000 in it= s bottom 16 bits. I have no idea what is that supposed to mean, but I think we should return 0x1000 in IA32_PERF_CTL then. (Would be nice to understand how that 0x1000 happened ... we might want 0 in both.)