From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dv1X0-0001NT-4U for qemu-devel@nongnu.org; Thu, 21 Sep 2017 09:28:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dv1Wu-0000h1-L5 for qemu-devel@nongnu.org; Thu, 21 Sep 2017 09:28:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43326) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dv1Wu-0000gZ-F0 for qemu-devel@nongnu.org; Thu, 21 Sep 2017 09:28:36 -0400 Date: Thu, 21 Sep 2017 15:28:29 +0200 From: Igor Mammedov Message-ID: <20170921152829.3ae552f5@nial.brq.redhat.com> In-Reply-To: <20170918160012.4317-4-david@redhat.com> References: <20170918160012.4317-1-david@redhat.com> <20170918160012.4317-4-david@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v1 03/27] target/s390x: get rid of next_core_id List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Hildenbrand Cc: qemu-devel@nongnu.org, Richard Henderson , thuth@redhat.com, cohuck@redhat.com, borntraeger@de.ibm.com, Alexander Graf , Aurelien Jarno , Matthew Rosato , Alex =?UTF-8?B?QmVubsOpZQ==?= On Mon, 18 Sep 2017 17:59:48 +0200 David Hildenbrand wrote: > core_id is not needed by linux-user, as the core_id a.k.a. CPU address > is only accessible from kernel space. > > Therefore, drop next_core_id and make cpu_index get autoassigned again > for linux-user. > > While at it, shield core_id and cpuid completely from linux-user. cpuid > can also only be queried from kernel space. > > Suggested-by: Igor Mammedov > Signed-off-by: David Hildenbrand Reviewed-by: Igor Mammedov [...]