Received: from eggs.gnu.org ([140.186.70.92]:54779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkHEK-0003XQ-6Y for qemu-devel@nongnu.org; Fri, 22 Jul 2011 11:01:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QkHEF-0004t3-FB for qemu-devel@nongnu.org; Fri, 22 Jul 2011 11:01:32 -0400 Received: from cantor2.suse.de ([195.135.220.15]:45207 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkHEF-0004sz-6i for qemu-devel@nongnu.org; Fri, 22 Jul 2011 11:01:27 -0400 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Alexander Graf In-Reply-To: <4E2984E5.803@adacore.com> Date: Fri, 22 Jul 2011 17:01:26 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1311211654-14326-1-git-send-email-agraf@suse.de> <1311211654-14326-9-git-send-email-agraf@suse.de> <4E2984E5.803@adacore.com> Subject: Re: [Qemu-devel] [PATCH 08/23] PPC: Bump MPIC up to 32 supported CPUs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Elie Richa Cc: Scott Wood , QEMU-devel Developers On 22.07.2011, at 16:10, Elie Richa wrote: >=20 > On 07/21/2011 03:27 AM, Alexander Graf wrote: >> @@ -1288,7 +1288,7 @@ static void mpic_reset (void *opaque) >>=20 >> mpp->glbc =3D 0x80000000; >> /* Initialise controller registers */ >> - mpp->frep =3D 0x004f0002; >> + mpp->frep =3D 0x004f0002 | ((MAX_CPU - 1)<< 8); >=20 > Should we really report the maximum supported number of CPUs or the = actual number? > Several processor manuals state that it is the number of physically = present CPUs that is reported (-1 of course). > In that case, the following would do? > mpp->frep =3D 0x004f0002 | ((mpp->nb_cpus - 1)<< 8); Good idea. Will change :) Alex