[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] linux-user: set ppc64/ppc64le default CPU to PO
From: |
Michael Tokarev |
Subject: |
Re: [Qemu-devel] [PATCH] linux-user: set ppc64/ppc64le default CPU to POWER8 |
Date: |
Fri, 5 Feb 2016 00:24:08 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 |
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 <address@hidden>
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
>