From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebQYN-0006cu-HF for qemu-devel@nongnu.org; Tue, 16 Jan 2018 07:41:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ebQYJ-00074U-Hz for qemu-devel@nongnu.org; Tue, 16 Jan 2018 07:41:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36206) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ebQYJ-00070I-Bp for qemu-devel@nongnu.org; Tue, 16 Jan 2018 07:41:19 -0500 Date: Tue, 16 Jan 2018 10:41:11 -0200 From: Eduardo Habkost Message-ID: <20180116124111.GC627@localhost.localdomain> References: <20180109070112.30806-1-vincent@bernat.im> <20180112184727.GJ6646@localhost.localdomain> <87zi5ite88.fsf@luffy.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87zi5ite88.fsf@luffy.cx> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH x86-next v2] target-i386: add PCID flag to Westmere, Sandy Bridge and Ivy Bridge List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vincent Bernat Cc: Paolo Bonzini , Richard Henderson , qemu-devel@nongnu.org, Jiri Denemark , Kashyap Chamarthy On Sat, Jan 13, 2018 at 08:22:31AM +0100, Vincent Bernat wrote: > =E2=9D=A6 12 janvier 2018 16:47 -0200, Eduardo Habkost =C2=A0: >=20 > > Adding Westmere-PCID would require adding a Westmere-PCID-IBRS > > CPU model too, so this is starting to look a bit ridiculous. > > Sane VM management systems would know how to use > > "-cpu Westmere,+pcid" without requiring new CPU model entries in > > QEMU. What's missing in existing management stacks to allow that > > to happen? >=20 > That's what I actually do. So, I am fine with the solution of doing > nothing. However, it would be nice for unaware people to get the speedu= p > of pcid without knowing about it. Maybe we can just forget about > Westmere and still apply it to Sandy Bridge and Ivy Bridge. If management stacks today don't let the user choose "Westmere,+pcid", we probably have no other choice than adding a Westmere-PCID CPU model. But our management stacks need to be fixed so we won't need similar hacks in the future. --=20 Eduardo