From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRRO9-0000UP-8n for qemu-devel@nongnu.org; Thu, 04 Feb 2016 16:24:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRRO4-0006Ez-6x for qemu-devel@nongnu.org; Thu, 04 Feb 2016 16:24:29 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:49998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRRO3-00068D-VG for qemu-devel@nongnu.org; Thu, 04 Feb 2016 16:24:24 -0500 References: <1454612161-24396-1-git-send-email-lvivier@redhat.com> From: Michael Tokarev Message-ID: <56B3C178.9090601@msgid.tls.msk.ru> Date: Fri, 5 Feb 2016 00:24:08 +0300 MIME-Version: 1.0 In-Reply-To: <1454612161-24396-1-git-send-email-lvivier@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] linux-user: set ppc64/ppc64le default CPU to POWER8 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier , Riku Voipio Cc: peter.maydell@linaro.org, gkurz@linux.vnet.ibm.com, agraf@suse.de, qemu-devel@nongnu.org 04.02.2016 21:56, Laurent Vivier wrote: > Set the default to the latest CPU version to have the > largest set of available features. > > It is also really needed in little-endian mode because > POWER7 is not really supported in this mode and some distros > (at least debian) generate POWER8 code for their ppc64le target. > > Fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813698 Reviewed-by: Michael Tokarev Thank you! /mjt > --- > linux-user/main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/linux-user/main.c b/linux-user/main.c > index e719a2d..2a692e0 100644 > --- a/linux-user/main.c > +++ b/linux-user/main.c > @@ -4160,7 +4160,7 @@ int main(int argc, char **argv, char **envp) > cpu_model = "or1200"; > #elif defined(TARGET_PPC) > # ifdef TARGET_PPC64 > - cpu_model = "POWER7"; > + cpu_model = "POWER8"; > # else > cpu_model = "750"; > # endif >