From nobody Tue Feb 10 20:49:00 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1604295995; cv=none; d=zohomail.com; s=zohoarc; b=kiPgGWpNFtGz1Sa1NecsjNYi6u9e6uC+7t0zlrijPlcKezzZpRwuN2K0brzkLPGU3M2aWMMJA+0yZbjd2GkonuybL5/RTIv15pHm+9sE6rK+ZTAxbtlZCYyNVsTPbVWQkay8y/Hz1Hk4SV4AYUxSCSj8RDaW567n15zrOIlFtVE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1604295995; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=CLvjbIHFkRDZPoIAjQyxiU5cJC2xH9P/BfJvLwljrno=; b=P2sEMHp355oRZwIIzTHUxMAxvZ/WZ4xORKSk1C/PcdG+x7EA2wD9+ilLYaZEISpRppKmrvL02BMSvcpmoMLhfFVmm1PyB/9YQsy9CTRSzWDkkrdBaJZhamP2qaIiNKFahyQkxLhFY297rHBUfSJvqQWk+LfGze/yYrZKF/G2m6U= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 160429599519113.74064785049552; Sun, 1 Nov 2020 21:46:35 -0800 (PST) Received: from localhost ([::1]:39834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZSfq-0004on-2A for importer@patchew.org; Mon, 02 Nov 2020 00:46:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZSdN-0002Vh-W3; Mon, 02 Nov 2020 00:44:02 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:2318) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZSdM-0001NX-3C; Mon, 02 Nov 2020 00:44:01 -0500 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4CPhfy2hQ5zkcX7; Mon, 2 Nov 2020 13:43:54 +0800 (CST) Received: from localhost.localdomain (10.175.124.27) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.487.0; Mon, 2 Nov 2020 13:43:50 +0800 From: Peng Liang To: , Subject: [RFC v3 10/10] target/arm: Add CPU features to query-cpu-model-expansion Date: Mon, 2 Nov 2020 13:40:55 +0800 Message-ID: <20201102054055.686143-11-liangpeng10@huawei.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201102054055.686143-1-liangpeng10@huawei.com> References: <20201102054055.686143-1-liangpeng10@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.175.124.27] X-CFilter-Loop: Reflected Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=45.249.212.190; envelope-from=liangpeng10@huawei.com; helo=szxga04-in.huawei.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/02 00:43:42 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: peter.maydell@linaro.org, drjones@redhat.com, zhang.zhanghailiang@huawei.com, mst@redhat.com, cohuck@redhat.com, xiexiangyou@huawei.com, Peng Liang , pbonzini@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" Add CPU features to the result of query-cpu-model-expansion so that other applications (such as libvirt) can know the supported CPU features. Signed-off-by: zhanghailiang Signed-off-by: Peng Liang --- target/arm/monitor.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target/arm/monitor.c b/target/arm/monitor.c index 169d8a64b651..7950206352f1 100644 --- a/target/arm/monitor.c +++ b/target/arm/monitor.c @@ -104,6 +104,10 @@ static const char *cpu_model_advertised_features[] =3D= { "sve640", "sve768", "sve896", "sve1024", "sve1152", "sve1280", "sve1408", "sve1536", "sve1664", "sve1792", "sve1920", "sve2048", "kvm-no-adjvtime", "kvm-steal-time", + "aes", "sha1", "sha2", "crc32", "atomics", "asimdrdm", "sha3", "sm3", = "sm4", + "asimddp", "asimdfhm", "flagm", "rng", "dcpop", "jscvt", "fcma", "lrcp= c", + "frint", "sb", "i8mm", "bf16", "dgh", "fp", "asimd", "dit", "bt", "sbs= s", + "uscat", "fphp", "asimdhp", "pmull", "sha512", "flagm2", "dcpodp", "il= rcpc", NULL }; =20 --=20 2.26.2