From patchwork Mon Feb 20 04:04:38 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: 9581971 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 F19886057F for ; Mon, 20 Feb 2017 04:10:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E534E28856 for ; Mon, 20 Feb 2017 04:10:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D9B742885B; Mon, 20 Feb 2017 04:10:35 +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 61B6F28856 for ; Mon, 20 Feb 2017 04:10:35 +0000 (UTC) Received: from localhost ([::1]:35990 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cffJ4-0004mQ-Cs for patchwork-qemu-devel@patchwork.kernel.org; Sun, 19 Feb 2017 23:10:34 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cffE1-0000eF-ET for qemu-devel@nongnu.org; Sun, 19 Feb 2017 23:05:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cffE0-0002uH-Jb for qemu-devel@nongnu.org; Sun, 19 Feb 2017 23:05:21 -0500 Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]:34553) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cffDy-0002su-K3; Sun, 19 Feb 2017 23:05:18 -0500 Received: by mail-pg0-x243.google.com with SMTP id s67so611292pgb.1; Sun, 19 Feb 2017 20:05:18 -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=/4kT8/HFrSZIQTzMVKYI2Y5XyyY6Ub4dXLNdXcJm80U=; b=DwdG54VgkBe45l+ILwsobnJt119/cH9Y/YWisweDWeeG3+Pp5jEd9lDOhkIuEC6vXT Gv4DKv9j2+QRuK43FtesueHhFGXld8A6dmidC0CbY7y7f5/+bCHXU25igYhcjRMllnpM pDpbEUsDvR0M5HK2CBpBNKq1trZUVad3bRgJ+Gr0L0rW4ff8JYQxXFfPEdwb7lDNhzbB ZIszLF68gJVmWOrNC7728jlDC8BxJTvHYtiofQZqBsn0nu041VXl4IFChSz0FdyMcf8c 3vLdF34gTHSjIxjKmTEQekC9Yv9bI10zBsZbJq64nwfNmwbHbTyXUISzURF5QID1hBpB Ep/g== 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=/4kT8/HFrSZIQTzMVKYI2Y5XyyY6Ub4dXLNdXcJm80U=; b=KWe+omSowl9IFqKITtK9Qnq4IhB3uGuZokkgmpOD8vdVJIggDpaaHkvVe5/EUhfC/T aTFhtf1v61m4N93958g0cfqkUUUdGO+Rbuq5nKmoSaEm7CN6ugRE20BkP7OIbN3mIEu5 b72t4vE5iA8VmDUm+WvDB7/E/Eth/sD+nRzCXiIKmEzLal5/lVktg1b/fBfTSaO95Uww t01OK9VfSqjSLJVVIbegEZIviOztRcRogHzf6cwc/+9B7B7LS+dr9rswNTp/o1ZQV8Yh XFniW5QR+dzepxRDRkI9YBOK4Fbge4k1ZdQvjXOIiCeRR4Rb/wJ1NAYA0YQA0Nl9ZUw/ yTAw== X-Gm-Message-State: AMke39lMeWwU8GC8/kpM7R1S6EdVNLiZvB9rrlQgy1kFPcCS3tU+JrnLomNZ3hvPgnX5YQ== X-Received: by 10.98.95.70 with SMTP id t67mr23244862pfb.37.1487563517805; Sun, 19 Feb 2017 20:05:17 -0800 (PST) Received: from surajjs.ozlabs.ibm.com ([122.99.82.10]) by smtp.gmail.com with ESMTPSA id d78sm31622707pfb.43.2017.02.19.20.05.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Feb 2017 20:05:17 -0800 (PST) From: Suraj Jitindar Singh To: qemu-ppc@nongnu.org Date: Mon, 20 Feb 2017 15:04:38 +1100 Message-Id: <1487563478-22265-11-git-send-email-sjitindarsingh@gmail.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1487563478-22265-1-git-send-email-sjitindarsingh@gmail.com> References: <1487563478-22265-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::243 Subject: [Qemu-devel] [QEMU-PPC] [PATCH V3 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, sjitindarsingh@gmail.com, 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)