From patchwork Fri Feb 19 13:42:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 8361231 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A2A06C0553 for ; Fri, 19 Feb 2016 13:46:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C3FC320461 for ; Fri, 19 Feb 2016 13:46:46 +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 1F78E2045B for ; Fri, 19 Feb 2016 13:46:45 +0000 (UTC) Received: from localhost ([::1]:52428 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWlOO-00070k-GN for patchwork-qemu-devel@patchwork.kernel.org; Fri, 19 Feb 2016 08:46:44 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWlKX-0000Ht-6j for qemu-devel@nongnu.org; Fri, 19 Feb 2016 08:42:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWlKV-0004cC-U3 for qemu-devel@nongnu.org; Fri, 19 Feb 2016 08:42:45 -0500 Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]:33741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWlKV-0004bu-MD for qemu-devel@nongnu.org; Fri, 19 Feb 2016 08:42:43 -0500 Received: by mail-lf0-x22e.google.com with SMTP id m1so54525588lfg.0 for ; Fri, 19 Feb 2016 05:42:43 -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=IZcYyPIbAapPgMbocu1oPVdqKOmlReFQ40WjP+b82XI=; b=HGS+qA5rkEl+LTAsYuCas7ouOkn0As/kq1Wp5eMsnFwNvOyzgxOX5IlL1271TmwFuR kZRqSgOKgWq24IZiD4n5BJw9oQCEZwCwoFkzLFqkXwbCCD/De2hGmjedJ3loU3bIa0qD AKy+Yv0e6zq4mLuIWqfP17qHUyF9XyddtVQRk= 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=IZcYyPIbAapPgMbocu1oPVdqKOmlReFQ40WjP+b82XI=; b=Bzw+/5/JKD2oH1ONPUHAo/4M+O3y5mJ7z1eAaHBLMhBDbGpf9DfdIujdo1jG5P1xWw 3m0ScK2oxc1fGxxxahOxgp61+G4gi1Gzrn5m2DUrv7cUvgaCuqs8Jnzi1GE/UHqmak4S k8/c0+TZth/qk2gbzt3xmspku+iuKggXuu7wVmYTv+9lf2g7z0CM6u7A24GlU44Q4Jzd 0uNz0DzvVD+cJ4C8yVyllD2z1AYjJ6LOCN7MFxz7AsT7vftJpHqLKb40WbpRYsFUoibY lyb0xGuJb+CrChazQvpDTkMzrK2mOWdmKMpJsxWD8BQZp/jRc9lRtITuNlhBtidviLxf mvNw== X-Gm-Message-State: AG10YOQ2fEU0o4Sioc4mrRR+PV0WUnD16WBDHi0aFu+sLiuw+vql25bZ/LRrJd/cRuoUgPjP X-Received: by 10.25.159.68 with SMTP id i65mr5278873lfe.94.1455889362885; Fri, 19 Feb 2016 05:42:42 -0800 (PST) Received: from localhost.localdomain (91-157-175-207.elisa-laajakaista.fi. [91.157.175.207]) by smtp.gmail.com with ESMTPSA id o184sm1557417lfb.15.2016.02.19.05.42.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 19 Feb 2016 05:42:41 -0800 (PST) From: riku.voipio@linaro.org To: qemu-devel@nongnu.org Date: Fri, 19 Feb 2016 15:42:25 +0200 Message-Id: <2ac293b9a5c9e22fd24d69591220b319a88a0fe5.1455888929.git.riku.voipio@linaro.org> X-Mailer: git-send-email 2.7.0 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::22e Cc: Laurent Vivier Subject: [Qemu-devel] [PULL 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=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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