From patchwork Thu Feb 25 11:01:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 8422511 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 785989F314 for ; Thu, 25 Feb 2016 11:04:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B57E5202B8 for ; Thu, 25 Feb 2016 11:04:15 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 35BE4202AE for ; Thu, 25 Feb 2016 11:04:14 +0000 (UTC) Received: from localhost ([::1]:42170 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYtiP-0000vY-K8 for patchwork-qemu-devel@patchwork.kernel.org; Thu, 25 Feb 2016 06:04:13 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYtfe-00051l-TI for qemu-devel@nongnu.org; Thu, 25 Feb 2016 06:01:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYtfd-0000bq-PH for qemu-devel@nongnu.org; Thu, 25 Feb 2016 06:01:22 -0500 Received: from mail-lf0-x231.google.com ([2a00:1450:4010:c07::231]:32935) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYtfd-0000bX-HL for qemu-devel@nongnu.org; Thu, 25 Feb 2016 06:01:21 -0500 Received: by mail-lf0-x231.google.com with SMTP id m1so30748140lfg.0 for ; Thu, 25 Feb 2016 03:01:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gtIWboOXgsCgFWemgE4Ccz68IgSRJj9LHwRlAwQGL2g=; b=U7DyyxB2IlhItt7tghPIwHkLN69/LMoWN80N6H7eXxSTHA+wC+G/WpCZL1G0C/PBF0 CilWF/iaOJIV38t5HOoUY6HunUyHPNYavSVSq+mXTOIQS2BdiS9Wobrf1oxKloKGw5U6 0XiFUG5A1gQ226KLV/906yzNKWKT9K4tROzA4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gtIWboOXgsCgFWemgE4Ccz68IgSRJj9LHwRlAwQGL2g=; b=MIHGOWj49N9x3b5W0TyO12toXo6+ZXxAMPs5HmR/7faGhU1vxZd2Tek3FDwGCAK0UM 9XJyat/cOTnTHKdklHfeC/EpYKlZCMXyx2SFBPCWhRx8VnrHqVpUsMFk3Ra8aQpFJ9N3 ZJbbJWB15AHlGIK2v8paBSXv0qUbVLFsa4SGTISgS5kgKQNmlu/XGP61LYP7oBlFDh9I KlyXYuDei/+8s9Rlf935ABtZ2JHPjW5/+CiO8WSHpMD0l0FzP0S9eOfis+Mchu+KLF4+ AhjIlejEuofAVIPk9ciPpSvQNBpR5/LtuOWgQ22y21d545JPSJdvv5dP5oSNAUsHGOsr FRMg== X-Gm-Message-State: AG10YOSsrMBvWxWfP8I9E9sSriOJ3ISU4pTbTfcVWZI27HxXe3mMsVgW5mVm9wqFSXNYp8LM X-Received: by 10.25.27.12 with SMTP id b12mr16636271lfb.97.1456398080601; Thu, 25 Feb 2016 03:01:20 -0800 (PST) Received: from beaming.home (91-157-175-207.elisa-laajakaista.fi. [91.157.175.207]) by smtp.gmail.com with ESMTPSA id f184sm1066803lfe.6.2016.02.25.03.01.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Feb 2016 03:01:19 -0800 (PST) From: riku.voipio@linaro.org To: qemu-devel@nongnu.org Date: Thu, 25 Feb 2016 13:01:08 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::231 Cc: Laurent Vivier Subject: [Qemu-devel] [PULL v2 3/8] linux-user: set ppc64/ppc64le default CPU to POWER8 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, UNPARSEABLE_RELAY autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Laurent Vivier 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 Signed-off-by: Laurent Vivier Reviewed-by: Alexander Graf Reviewed-by: Michael Tokarev Signed-off-by: Riku Voipio --- 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