From patchwork Mon Aug 30 08:28:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "ishii.shuuichir@fujitsu.com" X-Patchwork-Id: 12464755 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5460EC432BE for ; Mon, 30 Aug 2021 08:32:42 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 145D060F8F for ; Mon, 30 Aug 2021 08:32:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 145D060F8F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=fujitsu.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:37276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKcif-0003JD-2h for qemu-devel@archiver.kernel.org; Mon, 30 Aug 2021 04:32:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKcef-0005jA-Lj; Mon, 30 Aug 2021 04:28:33 -0400 Received: from esa8.hc1455-7.c3s2.iphmx.com ([139.138.61.253]:46844) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKced-0000sm-VV; Mon, 30 Aug 2021 04:28:33 -0400 IronPort-SDR: QkU9eZXq4F8Uty1t7g7M/Fq6w6zxCUSZV+wQDZK+aaklBSH9fQoxlCxyXoDmap+ZZuaYuMRilw qOXojqBj+piyp9Al+tsrff/+UR90qOnKt1vKq+pAytU6Dv47cS5pv+D4dDPS+bzwbu4OurYuX9 KRwIheKuNbPzHk/DMzFrgO2sAectJn4YV0ROfeQjCT+tFpOksAhTs8imzPsY3xsWAsQo0J37t3 Moc/BlBz4AnQuG9G0eTmEzkzRNedJvakNfCNylWkC9/vIH47p7fT1qW7G835FAkJh1psJauJGN kfeJ2wMkBmxF4mWbVIvCxcgl X-IronPort-AV: E=McAfee;i="6200,9189,10091"; a="30216397" X-IronPort-AV: E=Sophos;i="5.84,362,1620658800"; d="scan'208";a="30216397" Received: from unknown (HELO yto-r3.gw.nic.fujitsu.com) ([218.44.52.219]) by esa8.hc1455-7.c3s2.iphmx.com with ESMTP; 30 Aug 2021 17:28:28 +0900 Received: from yto-m2.gw.nic.fujitsu.com (yto-nat-yto-m2.gw.nic.fujitsu.com [192.168.83.65]) by yto-r3.gw.nic.fujitsu.com (Postfix) with ESMTP id 91D606DAAA; Mon, 30 Aug 2021 17:28:27 +0900 (JST) Received: from yto-om2.fujitsu.com (yto-om2.o.css.fujitsu.com [10.128.89.163]) by yto-m2.gw.nic.fujitsu.com (Postfix) with ESMTP id D1DEDC5545; Mon, 30 Aug 2021 17:28:26 +0900 (JST) Received: from localhost.localdomain (n3235113.np.ts.nmh.cs.fujitsu.co.jp [10.123.235.113]) by yto-om2.fujitsu.com (Postfix) with ESMTP id A8B444006D7E3; Mon, 30 Aug 2021 17:28:26 +0900 (JST) From: Shuuichirou Ishii To: peter.maydell@linaro.org, drjones@redhat.com, qemu-arm@nongnu.org Subject: [PATCH v5 2/3] hw/arm/virt: target-arm: Add A64FX processor support to virt machine Date: Mon, 30 Aug 2021 17:28:19 +0900 Message-Id: <20210830082820.2690275-3-ishii.shuuichir@fujitsu.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210830082820.2690275-1-ishii.shuuichir@fujitsu.com> References: <20210830082820.2690275-1-ishii.shuuichir@fujitsu.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 Received-SPF: neutral client-ip=139.138.61.253; envelope-from=ishii.shuuichir@fujitsu.com; helo=esa8.hc1455-7.c3s2.iphmx.com X-Spam_score_int: -33 X-Spam_score: -3.4 X-Spam_bar: --- X-Spam_report: (-3.4 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_NEUTRAL=0.779 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-devel@nongnu.org, ishii.shuuichir@fujitsu.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Add -cpu a64fx to use A64FX processor when -machine virt option is specified. In addition, add a64fx to the Supported guest CPU types in the virt.rst document. Signed-off-by: Shuuichirou Ishii Reviewed-by: Andrew Jones --- docs/system/arm/virt.rst | 1 + hw/arm/virt.c | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/system/arm/virt.rst b/docs/system/arm/virt.rst index 59acf0eeaf..850787495b 100644 --- a/docs/system/arm/virt.rst +++ b/docs/system/arm/virt.rst @@ -55,6 +55,7 @@ Supported guest CPU types: - ``cortex-a53`` (64-bit) - ``cortex-a57`` (64-bit) - ``cortex-a72`` (64-bit) +- ``a64fx`` (64-bit) - ``host`` (with KVM only) - ``max`` (same as ``host`` for KVM; best possible emulation with TCG) diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 86c8a4ca3d..3fa4295a78 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -200,6 +200,7 @@ static const char *valid_cpus[] = { ARM_CPU_TYPE_NAME("cortex-a53"), ARM_CPU_TYPE_NAME("cortex-a57"), ARM_CPU_TYPE_NAME("cortex-a72"), + ARM_CPU_TYPE_NAME("a64fx"), ARM_CPU_TYPE_NAME("host"), ARM_CPU_TYPE_NAME("max"), };