From patchwork Fri Jan 13 06:28:08 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: 9514643 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 2B817601E5 for ; Fri, 13 Jan 2017 06:34:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 24BB5284F9 for ; Fri, 13 Jan 2017 06:34:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 195A228723; Fri, 13 Jan 2017 06:34:23 +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 C920A284F9 for ; Fri, 13 Jan 2017 06:34:22 +0000 (UTC) Received: from localhost ([::1]:39291 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRvRN-0002nW-Om for patchwork-qemu-devel@patchwork.kernel.org; Fri, 13 Jan 2017 01:34:21 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRvLt-0005uH-Bw for qemu-devel@nongnu.org; Fri, 13 Jan 2017 01:28:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cRvLs-0001uN-KH for qemu-devel@nongnu.org; Fri, 13 Jan 2017 01:28:41 -0500 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]:34089) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cRvLq-0001tT-HW; Fri, 13 Jan 2017 01:28:38 -0500 Received: by mail-pf0-x243.google.com with SMTP id y143so6912554pfb.1; Thu, 12 Jan 2017 22:28:38 -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=zjsUPpozD/7bPL9pEcW6FPeTrtbkr/Fasi/4Gw9nqMo=; b=Hn7Zwv5FjeOJmu88m5vDcZkSoqpzm+PBnD1x7SvqMptagsyrEOEJ0Ms9xpKJWzLaRS CCC4spgGnP0ab6gQeX4/1mLNSUPhKGwoqrjtfWj7qHJzQkgzWl3xP4JzSD2TNBx8tqTm fU52Kdzf1/SdT84O3yvHt+Pm1TlbziRkSnaL5qbX1ALuiNCimOPL3ZDu7dIEL+awty6r LF8IShhUUV0EbBQcIQghKNeTS8hMRkXVxRO4EZHX44sr8b3XgLac4p3Nu9xg/sh6H5xt m/xR8SYiUzeT1VjYPSbP0Qqzj73QPTD6Z3WYooQfYmbZQ21ihvEQKYDniGW2IluqAXmD mZXw== 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=zjsUPpozD/7bPL9pEcW6FPeTrtbkr/Fasi/4Gw9nqMo=; b=BUOgKEw0VJpJ8XGDvNwvq54wdp7FHEE4azWBf4ZhCdB++Emgdo3DYF8z+o5vSxZN4u 5WW4JtyISE28e1RDYRQD/R1KSNNRehclaqXJwR6D57Upu5PIV7b1fzGO/a72syVZJ9Da XfCAi0VYgXVmfhIXVFS1JBnt9AUCmOUBc0bUI1by8cC3sGLwXokkY3aYr7u1HctLKxKm bt24OwNv71HigCu+S6QJfTK0l+gC7+w6ClAnYv7HcNc4AuxpmcHg9mPDbR0t2gMuDd6b N1j3l2utS+Hp2JUMHN/xsgdJgaDZvC5PqsBVdzCk5ghB3Cu1TWEPpsvOw6dw6fOPYtPl FJXw== X-Gm-Message-State: AIkVDXIqKtO1L/JOQBu4I1/blbcc9yXsw7LzJKt0Us7fN22Lsh+S2Hf0Sl4hxTXw/VQOFA== X-Received: by 10.98.73.203 with SMTP id r72mr21473438pfi.75.1484288917784; Thu, 12 Jan 2017 22:28:37 -0800 (PST) Received: from dyn253.ozlabs.ibm.com ([122.99.82.10]) by smtp.gmail.com with ESMTPSA id r2sm26004999pfi.67.2017.01.12.22.28.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Jan 2017 22:28:37 -0800 (PST) From: Suraj Jitindar Singh To: qemu-ppc@nongnu.org Date: Fri, 13 Jan 2017 17:28:08 +1100 Message-Id: <1484288903-18807-3-git-send-email-sjitindarsingh@gmail.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1484288903-18807-1-git-send-email-sjitindarsingh@gmail.com> References: <1484288903-18807-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:c00::243 Subject: [Qemu-devel] [RFC PATCH 02/17] 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, agraf@suse.de, Suraj Jitindar Singh , 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). Signed-off-by: Suraj Jitindar Singh --- 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 c18632b..8cc7058 100644 --- a/hw/ppc/spapr_cpu_core.c +++ b/hw/ppc/spapr_cpu_core.c @@ -358,6 +358,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)