From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wzku5-0002YM-A6 for qemu-devel@nongnu.org; Wed, 25 Jun 2014 06:58:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wzktz-00020O-TX for qemu-devel@nongnu.org; Wed, 25 Jun 2014 06:58:13 -0400 Message-ID: <53AAAB3E.1000007@suse.de> Date: Wed, 25 Jun 2014 12:58:06 +0200 From: Alexander Graf MIME-Version: 1.0 References: <1403682110-29109-1-git-send-email-aik@ozlabs.ru> In-Reply-To: <1403682110-29109-1-git-send-email-aik@ozlabs.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] target-ppc: Add support for POWER8 pvr 0x4D0000 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy , qemu-devel@nongnu.org Cc: Tom Musta , Paul Mackerras , qemu-ppc@nongnu.org On 25.06.14 09:41, Alexey Kardashevskiy wrote: > At the moment QEMU knows about one version of POWER8 CPU with > PVR 0x4B.0000. This CPU class is defined as "POWER8". The linux > kernel names it as "POWER8E" which is different from the name QEMU uses. > > Now we get another version of POWER8 which is architecturally equivalent > to POWER8E but has different PVR 0x4D.0000 so QEMU fails to find > a PPC CPU class on these machines. The linux kernel names these CPUs as > "POWER8". > > This renames the existing "POWER8" to "POWER8E" to be more precise and > stay in sync with the linux kernel. > > This adds a new "POWER8" family which calls POWER8E class init function > and defines own PVR mask (used to match a CPU class) and desc (used to > create dynamic version-less CPU class). > > This does not change CPU class fw_name attribute as the host POWER8 > firmware keeps using "PowerPC,POWER8" on both POWER8 and POWER8E. > > Cc: Paul Mackerras > Cc: Benjamin Herrenschmidt > Cc: Tom Musta > Signed-off-by: Alexey Kardashevskiy Thanks, applied to ppc-next. Alex