From nobody Fri Nov 21 10:10:51 2025 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=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1762446623; cv=none; d=zohomail.com; s=zohoarc; b=iXTa2P7FsaMg0FkBvVM2el1UZnTsoQmYelya4yYGajEFCqVWYDBAkq5fsAutlI94TiaW92ddOM62QW1IXd9bteg0uC76U0sI6ml2DwDL/IJ8uDjEcY+9OSngtVul8ZUUecL8zWFN6QYyV5IpLQ8KOxILVu/ysgBsrAogqEgPEZo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1762446623; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id:Cc; bh=/7nHhkjrLSnfFW1d6YOm4G9SflOfcQfJ2FFJ1uXv3mI=; b=NGE7kZLYV7On54JxwoTWyC+JsJtsPwcAMQfNpyuc38lu374kdxcz04PYnshIWxVGcocX5iGk39yoavjLP8d+9rXBULFGS0rTykS0AU7RdbttqhzkNwVeM1ilCJXk/6WDQKh9tIDtv7OECoBJPxuZmIqqGwp4yrbgi0oQsXFZFNI= ARC-Authentication-Results: i=1; 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=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1762446623165942.4310566274539; Thu, 6 Nov 2025 08:30:23 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id 726F84421C; Thu, 6 Nov 2025 11:30:22 -0500 (EST) Received: from [172.19.199.29] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id AA43F44B0B; Thu, 6 Nov 2025 10:59:11 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id DBB6D443BF; Thu, 6 Nov 2025 10:58:55 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id D73F544130 for ; Thu, 6 Nov 2025 10:49:37 -0500 (EST) Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-277-5CtM5ujJPbyTEiCvc8smOQ-1; Thu, 06 Nov 2025 10:49:36 -0500 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 46BD51800473 for ; Thu, 6 Nov 2025 15:49:35 +0000 (UTC) Received: from orkuz (unknown [10.43.3.115]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id D42BE180049F for ; Thu, 6 Nov 2025 15:49:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1762444177; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/7nHhkjrLSnfFW1d6YOm4G9SflOfcQfJ2FFJ1uXv3mI=; b=K4RYdAbapIUWNLxl2MU9Du5C+ofppFAO3PXE6WQZ3+HjBfuUq9w5bsZp1m9OnqP01BnYPT LtPVDHzC/mWSEJ+OoEonxlysFydkKI7KbxONbzJup2Ogl0xmcWLadjX9Gsut6VUB8unPKo +NYqU1IDJEgp8vyBT69ot87DdVHyYwo= X-MC-Unique: 5CtM5ujJPbyTEiCvc8smOQ-1 X-Mimecast-MFC-AGG-ID: 5CtM5ujJPbyTEiCvc8smOQ_1762444175 To: devel@lists.libvirt.org Subject: [PATCH 26/29] cpu_map: Add features used by Zhaoxin YongFeng Processor Date: Thu, 6 Nov 2025 16:48:43 +0100 Message-ID: <817b24bc27e7f1d9ac5c3a6a9dccbfd279ea06a7.1762444082.git.jdenemar@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: RIodT78Y8pYr7di-Y27biL5vsq0gVjDhMo6uQWDdjCc_1762444175 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: VII6VVFG7QQSSDPGATVFF5MTOCUW5BPV X-Message-ID-Hash: VII6VVFG7QQSSDPGATVFF5MTOCUW5BPV X-MailFrom: jdenemar@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Jiri Denemark via Devel Reply-To: Jiri Denemark X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1762446625528154100 Content-Type: text/plain; charset="utf-8" From: Jiri Denemark Signed-off-by: Jiri Denemark --- src/cpu_map/sync_qemu_features_i386.py | 11 --------- src/cpu_map/sync_qemu_models_i386.py | 10 ++++++++ src/cpu_map/x86_features.xml | 32 ++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 11 deletions(-) diff --git a/src/cpu_map/sync_qemu_features_i386.py b/src/cpu_map/sync_qemu= _features_i386.py index 21df37e9d6..b658b864f2 100755 --- a/src/cpu_map/sync_qemu_features_i386.py +++ b/src/cpu_map/sync_qemu_features_i386.py @@ -30,17 +30,6 @@ FEATURES_IGNORE =3D ( "kvmclock-stable-bit", "kvmclock2", =20 - "xstore", - "xstore-en", - "xcrypt", - "xcrypt-en", - "ace2", - "ace2-en", - "phe", - "phe-en", - "pmm", - "pmm-en", - "full-width-write", ) =20 diff --git a/src/cpu_map/sync_qemu_models_i386.py b/src/cpu_map/sync_qemu_m= odels_i386.py index 2b66c2522f..20d2b36844 100755 --- a/src/cpu_map/sync_qemu_models_i386.py +++ b/src/cpu_map/sync_qemu_models_i386.py @@ -136,6 +136,16 @@ def translate_feature(name, model): "CPUID_8000_0021_EAX_IBPB_BRTYPE": "ibpb-brtype", "CPUID_8000_0021_EAX_SRSO_USER_KERNEL_NO": "srso-user-kernel-no", "CPUID_8000_0022_EAX_PERFMON_V2": "perfmon-v2", + "CPUID_C000_0001_EDX_XSTORE": "xstore", + "CPUID_C000_0001_EDX_XSTORE_EN": "xstore-en", + "CPUID_C000_0001_EDX_XCRYPT": "xcrypt", + "CPUID_C000_0001_EDX_XCRYPT_EN": "xcrypt-en", + "CPUID_C000_0001_EDX_ACE2": "ace2", + "CPUID_C000_0001_EDX_ACE2_EN": "ace2-en", + "CPUID_C000_0001_EDX_PHE": "phe", + "CPUID_C000_0001_EDX_PHE_EN": "phe-en", + "CPUID_C000_0001_EDX_PMM": "pmm", + "CPUID_C000_0001_EDX_PMM_EN": "pmm-en", "CPUID_ACPI": "acpi", "CPUID_APIC": "apic", "CPUID_CLFLUSH": "clflush", diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index 06391f4698..5220a3d172 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -850,6 +850,38 @@ =20 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --=20 2.51.0