From nobody Mon May 13 09:51:44 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1693999241; cv=none; d=zohomail.com; s=zohoarc; b=mqUJ4raFkzv2zyfZ6YAG1ywvc+Dad1aN0hXVuICjuqlVoPscslcdCr6ymMn3bCszMI5cqRh9suyEqTfQLC1ILA1jqVGW1+0lYxEKNYYv29JDQ4E3/fPi4uZC/uM9Df/23hVbXaOAbDdg41MA6VYO7WLYT69KJeO3W8z9Pfp+f1U= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1693999241; 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=pUrq1x84LG2We+BLod9YDK4KG+XG8+Aaz39Ws8A6F3I=; b=AjLX34ev96ufz/TY3iy5hBmMZFsDXunGAYRP46LEOZNS1sBXGTzOztlHIac8fn5kePI6TDmLvi2SUkMYFCXNLUQeUwYKvZCHFmXJIf87OmRc9EsMxGkgHCIIvAl0Qs38AJA1coV7l9TY0g50w6igGxrn1zSaS+MbbSuwqUCUeTQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1693999241507164.71731001542037; Wed, 6 Sep 2023 04:20:41 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-642-3iNuB0JnO6-Un4EFXvDaAA-1; Wed, 06 Sep 2023 07:20:36 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E3CFA1C05AB7; Wed, 6 Sep 2023 11:20:32 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id CEC75412F2CF; Wed, 6 Sep 2023 11:20:32 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 913AF194658F; Wed, 6 Sep 2023 11:20:32 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 2410F194658C for ; Wed, 6 Sep 2023 11:20:31 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 140CC40411F; Wed, 6 Sep 2023 11:20:31 +0000 (UTC) Received: from work.fritz.box (unknown [10.39.193.136]) by smtp.corp.redhat.com (Postfix) with ESMTP id 989F540F063; Wed, 6 Sep 2023 11:20:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1693999240; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=pUrq1x84LG2We+BLod9YDK4KG+XG8+Aaz39Ws8A6F3I=; b=eOS7tfzPfgvxmJgKsls6j593XyZOB+JKVTZPNHGoY7hka8Oi5vECKZ9O+UIvh6Qx4Xuwcn +pjZg+bu+ZnfqRtL8Jk9D9o1A35eV3lhho00AL9elwg5xqQZfHJLCPrZVKNpiiLIus+euy cRQiMttPRyQ++tNy+r+70DsD6Con0P4= X-MC-Unique: 3iNuB0JnO6-Un4EFXvDaAA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Tim Wiederhake To: libvir-list@redhat.com Subject: [libvirt PATCH 1/2] cpu_map: Ignore all vmx-* features in sync_qemu_features_i386.py Date: Wed, 6 Sep 2023 13:20:28 +0200 Message-Id: <20230906112029.49557-2-twiederh@redhat.com> In-Reply-To: <20230906112029.49557-1-twiederh@redhat.com> References: <20230906112029.49557-1-twiederh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tim Wiederhake Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1693999243263100002 Content-Type: text/plain; charset="utf-8"; x-default="true" The script that synchronizes cpu models from qemu, sync_qemu_models_i386.py, ignores all features that begin with "vmx-". Do the same for synchronizing cpu features so we do not have to track irrelevant features individually. Signed-off-by: Tim Wiederhake Reviewed-by: Martin Kletzander --- src/cpu_map/sync_qemu_features_i386.py | 90 +------------------------- 1 file changed, 1 insertion(+), 89 deletions(-) diff --git a/src/cpu_map/sync_qemu_features_i386.py b/src/cpu_map/sync_qemu= _features_i386.py index b3a01b9509..9e77d44bae 100755 --- a/src/cpu_map/sync_qemu_features_i386.py +++ b/src/cpu_map/sync_qemu_features_i386.py @@ -91,94 +91,6 @@ def ignore_feature(feature): "start-powered-off", "tcg-cpuid", "vmware-cpuid-freq", - "vmx-activity-hlt", - "vmx-activity-shutdown", - "vmx-activity-wait-sipi", - "vmx-apicv-register", - "vmx-apicv-vid", - "vmx-apicv-x2apic", - "vmx-apicv-xapic", - "vmx-cr3-load-noexit", - "vmx-cr3-store-noexit", - "vmx-cr8-load-exit", - "vmx-cr8-store-exit", - "vmx-desc-exit", - "vmx-encls-exit", - "vmx-entry-ia32e-mode", - "vmx-entry-load-bndcfgs", - "vmx-entry-load-efer", - "vmx-entry-load-pat", - "vmx-entry-load-perf-global-ctrl", - "vmx-entry-load-pkrs", - "vmx-entry-load-rtit-ctl", - "vmx-entry-noload-debugctl", - "vmx-ept", - "vmx-ept-1gb", - "vmx-ept-2mb", - "vmx-ept-advanced-exitinfo", - "vmx-ept-execonly", - "vmx-eptad", - "vmx-eptp-switching", - "vmx-exit-ack-intr", - "vmx-exit-clear-bndcfgs", - "vmx-exit-clear-rtit-ctl", - "vmx-exit-load-efer", - "vmx-exit-load-pat", - "vmx-exit-load-perf-global-ctrl", - "vmx-exit-load-pkrs", - "vmx-exit-nosave-debugctl", - "vmx-exit-save-efer", - "vmx-exit-save-pat", - "vmx-exit-save-preemption-timer", - "vmx-flexpriority", - "vmx-hlt-exit", - "vmx-ins-outs", - "vmx-intr-exit", - "vmx-invept", - "vmx-invept-all-context", - "vmx-invept-single-context", - "vmx-invept-single-context-noglobals", - "vmx-invlpg-exit", - "vmx-invpcid-exit", - "vmx-invvpid", - "vmx-invvpid-all-context", - "vmx-invvpid-single-addr", - "vmx-io-bitmap", - "vmx-io-exit", - "vmx-monitor-exit", - "vmx-movdr-exit", - "vmx-msr-bitmap", - "vmx-mtf", - "vmx-mwait-exit", - "vmx-nmi-exit", - "vmx-page-walk-4", - "vmx-page-walk-5", - "vmx-pause-exit", - "vmx-ple", - "vmx-pml", - "vmx-posted-intr", - "vmx-preemption-timer", - "vmx-rdpmc-exit", - "vmx-rdrand-exit", - "vmx-rdseed-exit", - "vmx-rdtsc-exit", - "vmx-rdtscp-exit", - "vmx-secondary-ctls", - "vmx-shadow-vmcs", - "vmx-store-lma", - "vmx-true-ctls", - "vmx-tsc-offset", - "vmx-tsc-scaling", - "vmx-unrestricted-guest", - "vmx-vintr-pending", - "vmx-vmfunc", - "vmx-vmwrite-vmexit-fields", - "vmx-vnmi", - "vmx-vnmi-pending", - "vmx-vpid", - "vmx-wbinvd-exit", - "vmx-xsaves", - "vmx-zero-len-inject", "xen-vapic", ] =20 @@ -187,7 +99,7 @@ def ignore_feature(feature): =20 name =3D feature["name"] =20 - if name.startswith("x-"): + if name.startswith("x-") or name.startswith("vmx-"): return True =20 if name in ignored_features: --=20 2.39.2 From nobody Mon May 13 09:51:44 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1693999241; cv=none; d=zohomail.com; s=zohoarc; b=X6A72dSywKqGfPdx8dxyB6fwVHIFV8P3s/24c0VuA1UW+TgY0PLzbW4zXVZ44PBTdYEt94wnasLK/Bt/2zGwgWcHcNQZ96uRYsj82eda2thec0yVw39eU5BIC+RUMLwFtc3xiXH5fagwYUgLur52QFJmx6FXWJOmPr9keF6VSyk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1693999241; 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=d1PlZmc4Soyn1fhDk+HypA0Uy/sS5W2yQFxw65/YH4M=; b=R2kH4vHKkApbnsEk4XVu6qXBS+zw65ohfv++cdFxa1sG8BzsK6m18rBe8QYTy60h0FW/JS2Kg0UYS+OyutjIVJ8kFlTK1SS+vX39WsPpC+UJHJcqEgkWDIpXvh7kaiWv7SoztRK2bo6hSiJminlHV6xD/UH5UQcfswznv5ByAmc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1693999241667387.89877721341645; Wed, 6 Sep 2023 04:20:41 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-656-SZLmC_PCNpa4p1uUhyNgdw-1; Wed, 06 Sep 2023 07:20:37 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id F00168164E0; Wed, 6 Sep 2023 11:20:34 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id DC368140E967; Wed, 6 Sep 2023 11:20:34 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id C7E41194658D; Wed, 6 Sep 2023 11:20:34 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id D899419465B9 for ; Wed, 6 Sep 2023 11:20:31 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id B89D54060E1; Wed, 6 Sep 2023 11:20:31 +0000 (UTC) Received: from work.fritz.box (unknown [10.39.193.136]) by smtp.corp.redhat.com (Postfix) with ESMTP id 49A8D404119; Wed, 6 Sep 2023 11:20:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1693999240; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=d1PlZmc4Soyn1fhDk+HypA0Uy/sS5W2yQFxw65/YH4M=; b=Q/35QpUHiqb/vguH1rfNBYpIlB9ToSdKWMOj/vIGjL3Em8T9sbQqK8SekjUaopqECbqxru E+0sIbBSxA36KdPoxKNOumgcFzCWVVR18YFfeyX5y+snMAAmE7DP+XOI3tHkGM5U9UfEr6 z6t3WBz93QWoem3wQTybfpR+NjURg6s= X-MC-Unique: SZLmC_PCNpa4p1uUhyNgdw-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Tim Wiederhake To: libvir-list@redhat.com Subject: [libvirt PATCH 2/2] cpu_map: Add cpu model EPYC Genoa Date: Wed, 6 Sep 2023 13:20:29 +0200 Message-Id: <20230906112029.49557-3-twiederh@redhat.com> In-Reply-To: <20230906112029.49557-1-twiederh@redhat.com> References: <20230906112029.49557-1-twiederh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tim Wiederhake Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1693999243255100001 Content-Type: text/plain; charset="utf-8"; x-default="true" This was added in qemu commit 166b174188. No additional features had to be added to libvirt. Signed-off-by: Tim Wiederhake Reviewed-by: Martin Kletzander --- src/cpu_map/index.xml | 1 + src/cpu_map/meson.build | 1 + src/cpu_map/x86_EPYC-Genoa.xml | 115 ++++++++++++++++++ .../domaincapsdata/qemu_8.1.0-q35.x86_64.xml | 1 + .../domaincapsdata/qemu_8.1.0-tcg.x86_64.xml | 1 + tests/domaincapsdata/qemu_8.1.0.x86_64.xml | 1 + 6 files changed, 120 insertions(+) create mode 100644 src/cpu_map/x86_EPYC-Genoa.xml diff --git a/src/cpu_map/index.xml b/src/cpu_map/index.xml index 0187016c1c..d2c5af5797 100644 --- a/src/cpu_map/index.xml +++ b/src/cpu_map/index.xml @@ -70,6 +70,7 @@ + =20 diff --git a/src/cpu_map/meson.build b/src/cpu_map/meson.build index fa83b23474..ae5293e85f 100644 --- a/src/cpu_map/meson.build +++ b/src/cpu_map/meson.build @@ -39,6 +39,7 @@ cpumap_data =3D [ 'x86_Dhyana.xml', 'x86_EPYC-IBPB.xml', 'x86_EPYC.xml', + 'x86_EPYC-Genoa.xml', 'x86_EPYC-Milan.xml', 'x86_EPYC-Rome.xml', 'x86_features.xml', diff --git a/src/cpu_map/x86_EPYC-Genoa.xml b/src/cpu_map/x86_EPYC-Genoa.xml new file mode 100644 index 0000000000..3e765b89b1 --- /dev/null +++ b/src/cpu_map/x86_EPYC-Genoa.xml @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_8.1.0-q35.x86_64.xml index 9a9e84e613..4d438efdf7 100644 --- a/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml @@ -115,6 +115,7 @@ EPYC-Rome EPYC-Milan EPYC-IBPB + EPYC-Genoa EPYC Dhyana Cooperlake diff --git a/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_8.1.0-tcg.x86_64.xml index f898149a3c..e32cd80c17 100644 --- a/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml @@ -115,6 +115,7 @@ EPYC-Rome EPYC-Milan EPYC-IBPB + EPYC-Genoa EPYC Dhyana Cooperlake diff --git a/tests/domaincapsdata/qemu_8.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_8.1.0.x86_64.xml index dbe1af68cb..919357e577 100644 --- a/tests/domaincapsdata/qemu_8.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0.x86_64.xml @@ -114,6 +114,7 @@ EPYC-Rome EPYC-Milan EPYC-IBPB + EPYC-Genoa EPYC Dhyana Cooperlake --=20 2.39.2