Received: from eggs.gnu.org ([2001:4830:134:3::10]:52810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6NBC-0001fr-6c for qemu-devel@nongnu.org; Fri, 27 May 2016 15:12:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6NB9-0002ci-0o for qemu-devel@nongnu.org; Fri, 27 May 2016 15:12:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:16432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6NB8-0002ce-RB for qemu-devel@nongnu.org; Fri, 27 May 2016 15:12:14 -0400 Date: Fri, 27 May 2016 16:12:12 -0300 From: Eduardo Habkost Message-ID: <20160527191212.GA19173@thinpad.lan.raisama.net> References: <1463073866-28802-1-git-send-email-rkrcmar@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1463073866-28802-1-git-send-email-rkrcmar@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v3] target-i386: implement CPUID[0xB] (Extended Topology Enumeration) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Radim =?utf-8?B?S3LEjW3DocWZ?= Cc: qemu-devel@nongnu.org, Paolo Bonzini , Richard Henderson On Thu, May 12, 2016 at 07:24:26PM +0200, Radim Kr=C4=8Dm=C3=A1=C5=99 wro= te: > I looked at a dozen Intel CPU that have this CPUID and all of them > always had Core offset as 1 (a wasted bit when hyperthreading is > disabled) and Package offset at least 4 (wasted bits at <=3D 4 cores). >=20 > QEMU uses more compact IDs and it doesn't make much sense to change it > now. I keep the SMT and Core sub-leaves even if there is just one > thread/core; it makes the code simpler and there should be no harm. >=20 > Signed-off-by: Radim Kr=C4=8Dm=C3=A1=C5=99 Reviewed-by: Eduardo Habkost Applied to x86-next. --=20 Eduardo