Received: from eggs.gnu.org ([2001:4830:134:3::10]:44833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWVWQ-000706-PF for qemu-devel@nongnu.org; Fri, 13 Mar 2015 15:45:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YWVWM-0001tJ-MW for qemu-devel@nongnu.org; Fri, 13 Mar 2015 15:45:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWVWM-0001si-E4 for qemu-devel@nongnu.org; Fri, 13 Mar 2015 15:45:22 -0400 Date: Fri, 13 Mar 2015 16:45:18 -0300 From: Eduardo Habkost Message-ID: <20150313194518.GI3513@thinpad.lan.raisama.net> References: <1426273797-11204-1-git-send-email-ehabkost@redhat.com> <5503399F.5040307@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <5503399F.5040307@suse.de> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 0/2] target-i386: Haswell-noTSX and Broadwell-noTSX CPU models List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?iso-8859-1?Q?F=E4rber?= Cc: libvir-list@redhat.com, qemu-devel@nongnu.org, donald.d.dugger@intel.com, jun.nakajima@intel.com, Paolo Bonzini , Jiri Denemark On Fri, Mar 13, 2015 at 08:25:19PM +0100, Andreas F=E4rber wrote: > Am 13.03.2015 um 20:09 schrieb Eduardo Habkost: > > With the Intel microcode update that removed HLE and RTM, there will = be > > different kinds of Haswell and Broadwell CPUs out there: some that st= ill > > have the HLE and RTM features, and some that don't have the HLE and R= TM > > features. On both cases people may be willing to use the pc-*-2.3 > > machine-types. > >=20 > > So instead of making the CPU model results confusing by making it dep= end on the > > machine-type, keep HLE and RTM on the existing Haswell and Broadwell = CPU > > models, and introduce "Haswell-noTSX" and "Broadwell-noTSX" CPU model= s later, > > for people who have CPUs that don't have TSX feature available. > >=20 > > Eduardo Habkost (2): > > Revert "target-i386: Disable HLE and RTM on Haswell & Broadwell" > > target-i386: Haswell-noTSX and Broadwell-noTSX >=20 > No objections from a generic CPU point of view. >=20 > Only thing that comes to mind is whether it might make sense to > hierarchically make Broadwell the parent type of Broadwell-noTSX, to > avoid duplication. But then again we already have a lot of it. ;) The builtin_x86_defs[] table has no way to represent inheritance, currently. Maybe one day when we move everything inside class_init functions. :) --=20 Eduardo