From patchwork Fri Feb 10 05:26:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suraj Jitindar Singh X-Patchwork-Id: 9566015 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1BFF0602B6 for ; Fri, 10 Feb 2017 05:39:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EEBB1284E9 for ; Fri, 10 Feb 2017 05:39:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E0D812854E; Fri, 10 Feb 2017 05:39:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id 79253284E9 for ; Fri, 10 Feb 2017 05:39:48 +0000 (UTC) Received: from localhost ([::1]:41974 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cc3vv-0001aG-Hy for patchwork-qemu-devel@patchwork.kernel.org; Fri, 10 Feb 2017 00:39:47 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cc3jU-00076P-16 for qemu-devel@nongnu.org; Fri, 10 Feb 2017 00:26:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cc3jT-0001is-Ca for qemu-devel@nongnu.org; Fri, 10 Feb 2017 00:26:56 -0500 Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]:32853) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cc3jP-0001hT-1a; Fri, 10 Feb 2017 00:26:51 -0500 Received: by mail-pg0-x241.google.com with SMTP id 194so2209166pgd.0; Thu, 09 Feb 2017 21:26:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=XWL9IYTvxEKCqrZK/YI22fQVmJv6Z3hbxOIpDsY2sjY=; b=sT6gqaMH0sXO+dX1ozyNo9dIJWQ2JGfyuqilWnR2uuwxoFC9q2OA6O7jHUSFU0Nitg Rn9TsjiU2UIFfB1tkiD+qjUG1Y5SrAF10pQ20JxsleryzAA/nQ+DySFFXusB+hAZ1Q4q 32MpzQJ3Hk31tStVwBm4UPqR/FbIsZybDVfPYRqeQ+V9YBkzsAuG8eEgtkr/qdal1Leh 34NPsPqDWlC1T60PCKPaJ+oR3a9wNRqegtv5O1DSZgLueK+ATC0fytnQ7TOymVJH/r1d 68voPrQkR0Fh4T/XE/PVa4Rjawj7Fom5M4XIjMJPZRXheXFGiUPeZsVyJQkcuDB8nzqz zEKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=XWL9IYTvxEKCqrZK/YI22fQVmJv6Z3hbxOIpDsY2sjY=; b=Up+oduPaFn2Fh6Az2a26lOx1IAuS8TxZqLHsHSZ8owfB9bYEzxxvpeHltVuXR0WSTF JtohMPYkklMCX3Q4RQRz2TmdgkXOD95Mr31npJFXkaXJ/h/Pg+1q5QvH30Z0aM/rfA81 QyC7bAkYjKdMghWU0gyZR37sn8335cI5oFs9eQwr+5kniP6/O9KTqL3Skzjv2Y5x76jS Mka0QLrs6FYZOP0JLp/V6TYGYF4henowGZS+HgTo7H2KD6miKEzOp0fZaXIxQj6BNecy ZZhDMJwTd8hR7ihdNwhPGjPeZuuXlGEPNk375JZnCs0+Ng7zfeYbPQgAQJsYK/rqHYmE arAQ== X-Gm-Message-State: AMke39mRWyaavvkVrC0Q917Fvw8H/MqF+4y71YJsWRifdgZJJcqEvYJWBY+2Jp42nCKlWQ== X-Received: by 10.84.175.195 with SMTP id t61mr8974053plb.59.1486704410319; Thu, 09 Feb 2017 21:26:50 -0800 (PST) Received: from surajjs.ozlabs.ibm.com ([122.99.82.10]) by smtp.gmail.com with ESMTPSA id r78sm1308298pfl.63.2017.02.09.21.26.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Feb 2017 21:26:49 -0800 (PST) From: Suraj Jitindar Singh To: qemu-ppc@nongnu.org Date: Fri, 10 Feb 2017 16:26:00 +1100 Message-Id: <1486704360-27361-11-git-send-email-sjitindarsingh@gmail.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1486704360-27361-1-git-send-email-sjitindarsingh@gmail.com> References: <1486704360-27361-1-git-send-email-sjitindarsingh@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c05::241 Subject: [Qemu-devel] [QEMU-PPC] [PATCH V2 10/10] hw/ppc/spapr: Add POWER9 to pseries cpu models X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-devel@nongnu.org, Suraj Jitindar Singh , agraf@suse.de, sam.bobroff@au1.ibm.com, david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Add POWER9 cpu to list of spapr core models which allows it to be specified as the cpu model for a pseries guest (e.g. -machine pseries -cpu POWER9). This now allows a POWER9 cpu to boot to userspace in tcg emulation for a pseries machine with a legacy kernel. Signed-off-by: Suraj Jitindar Singh Reviewed-by: David Gibson --- hw/ppc/spapr_cpu_core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/ppc/spapr_cpu_core.c b/hw/ppc/spapr_cpu_core.c index 9dddaeb..71253f9 100644 --- a/hw/ppc/spapr_cpu_core.c +++ b/hw/ppc/spapr_cpu_core.c @@ -360,6 +360,9 @@ static const char *spapr_core_models[] = { /* POWER8NVL */ "POWER8NVL_v1.0", + + /* POWER9 */ + "POWER9_v1.0", }; void spapr_cpu_core_class_init(ObjectClass *oc, void *data)