From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bL3XG-0006L5-T8 for qemu-devel@nongnu.org; Thu, 07 Jul 2016 03:15:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bL3XC-0001qa-OV for qemu-devel@nongnu.org; Thu, 07 Jul 2016 03:15:46 -0400 Received: from 7.mo1.mail-out.ovh.net ([87.98.158.110]:47589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bL3XC-0001qK-IP for qemu-devel@nongnu.org; Thu, 07 Jul 2016 03:15:42 -0400 Received: from player770.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo1.mail-out.ovh.net (Postfix) with ESMTP id 91C3CFF9AFB for ; Thu, 7 Jul 2016 09:15:41 +0200 (CEST) Date: Thu, 7 Jul 2016 09:15:28 +0200 From: Greg Kurz Message-ID: <20160707091528.3acf2f85@bahia.lan> In-Reply-To: <1467856652.27157.10.camel@kernel.crashing.org> References: <146780713904.26232.12351310667258006783.stgit@bahia.lab.toulouse-stg.fr.ibm.com> <146780720136.26232.7902445403479806617.stgit@bahia.lab.toulouse-stg.fr.ibm.com> <20160707011242.GH14675@voom.fritz.box> <1467856652.27157.10.camel@kernel.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v3 2/7] ppc: move smp_threads sanity checks to spapr List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Benjamin Herrenschmidt Cc: David Gibson , Eduardo Habkost , qemu-devel@nongnu.org, Alexander Graf , qemu-ppc@nongnu.org, Cedric Le Goater , Bharata B Rao , Scott Wood , Igor Mammedov On Thu, 07 Jul 2016 11:57:32 +1000 Benjamin Herrenschmidt wrote: > On Thu, 2016-07-07 at 11:12 +1000, David Gibson wrote: > > I'm not comfortable with this.=C2=A0 SMT may only be used for pseries at > > the moment, but the SMT possibilities are absolutely a constraint of > > the CPU itself, not the machine type.=C2=A0 It seems more logical to me= to > > check this in the CPU code. =20 >=20 > Also powernv uses them too no ? >=20 > Ben. >=20 Hi Ben ! I've started to play with Cedric's tree on github. I'll work on adapting powernv to this series. Cheers. -- Greg