From nobody Thu Sep 19 01:03:30 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 172130933809893.54627953285137; Thu, 18 Jul 2024 06:28:58 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 06CE5A53; Thu, 18 Jul 2024 09:28:56 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id C3A189FF; Thu, 18 Jul 2024 09:27:49 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id DFACDA0A; Thu, 18 Jul 2024 09:27:45 -0400 (EDT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 4F0E0A1B for ; Thu, 18 Jul 2024 09:27:36 -0400 (EDT) Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-82-aDvPk7fhPZaRb_r_-bB42g-1; Thu, 18 Jul 2024 09:27:29 -0400 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 9A27E1955F3B for ; Thu, 18 Jul 2024 13:27:28 +0000 (UTC) Received: from work.fritz.box (unknown [10.39.194.217]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id A85EB1955D42; Thu, 18 Jul 2024 13:27:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: ** X-Spam-Status: No, score=2.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,RCVD_IN_SBL_CSS,SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1721309255; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cs3QAWuUbBp+pnaxS66O77zoi3DGHg9QqS0Ou9MYM5c=; b=KuAwZZfq2QRrkoBad23aATfQiOe4twSIm4HSdLscVFzXAN5k7azJuXV7ulceVcDW5wE3Ab 8hTFSxvYFZmnuz7ejNY4ZdC383IxQkqoUMl9eupIVZj2hnxLyWfVe5Wc5dXPJDWvlODMUk BZJDVJhYMSgxMhnP+IG+C5q6/U2Oftw= X-MC-Unique: aDvPk7fhPZaRb_r_-bB42g-1 From: Tim Wiederhake To: devel@lists.libvirt.org Subject: [PATCH 1/2] sync_qemu_models_i386.py: Add missing features Date: Thu, 18 Jul 2024 15:27:23 +0200 Message-ID: <20240718132724.25387-2-twiederh@redhat.com> In-Reply-To: <20240718132724.25387-1-twiederh@redhat.com> References: <20240718132724.25387-1-twiederh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: 7UTXYP3SMZSTJDU4NQOWRIXM77ATCOGF X-Message-ID-Hash: 7UTXYP3SMZSTJDU4NQOWRIXM77ATCOGF X-MailFrom: twiederh@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Tim Wiederhake X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1721309338494116600 Content-Type: text/plain; charset="utf-8"; x-default="true" This brings the tool's list of features in sync with qemu commit 37fbfda8f4145ba1700f63f0cb7be4c108d545de. Signed-off-by: Tim Wiederhake --- src/cpu_map/sync_qemu_models_i386.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cpu_map/sync_qemu_models_i386.py b/src/cpu_map/sync_qemu_m= odels_i386.py index 9e96b4244e..06a8837b0a 100755 --- a/src/cpu_map/sync_qemu_models_i386.py +++ b/src/cpu_map/sync_qemu_models_i386.py @@ -50,6 +50,7 @@ def translate_feature(name): "CPUID_7_0_EBX_SHA_NI": "sha-ni", "CPUID_7_0_EBX_SMAP": "smap", "CPUID_7_0_EBX_SMEP": "smep", + "CPUID_7_0_EBX_TSC_ADJUST": "tsc_adjust", "CPUID_7_0_ECX_AVX512BITALG": "avx512bitalg", "CPUID_7_0_ECX_AVX512VNNI": "avx512vnni", "CPUID_7_0_ECX_AVX512_VBMI": "avx512vbmi", @@ -82,10 +83,14 @@ def translate_feature(name): "CPUID_7_0_EDX_TSX_LDTRK": "tsx-ldtrk", "CPUID_7_1_EAX_AMX_FP16": "amx-fp16", "CPUID_7_1_EAX_AVX512_BF16": "avx512-bf16", + "CPUID_7_1_EAX_AVX_IFMA": "avx-ifma", "CPUID_7_1_EAX_AVX_VNNI": "avx-vnni", + "CPUID_7_1_EAX_CMPCCXADD": "cmpccxadd", "CPUID_7_1_EAX_FSRC": "fsrc", "CPUID_7_1_EAX_FSRS": "fsrs", "CPUID_7_1_EAX_FZRM": "fzrm", + "CPUID_7_1_EDX_AVX_NE_CONVERT": "avx-ne-convert", + "CPUID_7_1_EDX_AVX_VNNI_INT8": "avx-vnni-int8", "CPUID_7_1_EDX_PREFETCHITI": "prefetchiti", "CPUID_7_2_EDX_MCDT_NO": "mcdt-no", "CPUID_8000_0008_EBX_AMD_PSFD": "amd-psfd", --=20 2.43.0