From nobody Sat Feb 7 10:50:19 2026 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=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1663097610; cv=none; d=zohomail.com; s=zohoarc; b=erhVk1fu2U6+CpDBwGkCyTVb+9OHrXe6ehsAsEiLpFkh6kQXtucj68eV/tekBGOwELKuRV7Ahqw7Nz5E5BefSxKH2CS24ohcuZnr9X3F+J/JqbB1xY/0RtPVY3xihyBFG6ORdmm3wgd1yyBN+drpbgI/hFuyW/UhaUzGmYizNXA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663097610; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=HGpEnkSgiE4TN+2Yj6a2s7J90T5gYRRnBfuDdEOV0+s=; b=hvWcRPkCbW35aE8RDAKrlVRQBhuSKOhfWaX5lnRcwSzHsWMxY2B5IXz0hRAXV9lCkvU8KiRBHh44geEDGcfrbQo9Hg3dpXKmVlRC5Oj7dIFEgTfScjT7JJIlBmyw9Ldk+uOoEffmTgUPamCprCSjcoIGjTBf3zKgqLzWQk1jtWc= 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=fail 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 1663097610465890.1509544455353; Tue, 13 Sep 2022 12:33:30 -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-664-wD_IHVj2OkugkJIsTViMjw-1; Tue, 13 Sep 2022 15:33:24 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8E127185A7A4; Tue, 13 Sep 2022 19:33:22 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 989462087442; Tue, 13 Sep 2022 19:33:20 +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 7228C1946A47; Tue, 13 Sep 2022 19:33:20 +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 8A69B1946A43 for ; Tue, 13 Sep 2022 19:33:19 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 74EF1492B05; Tue, 13 Sep 2022 19:33:19 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast09.extmail.prod.ext.rdu2.redhat.com [10.11.55.25]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 713BF492B04 for ; Tue, 13 Sep 2022 19:33:19 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 57E052999B52 for ; Tue, 13 Sep 2022 19:33:19 +0000 (UTC) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-37-hq7pL5Q7MACDIrCoXe9rIw-1; Tue, 13 Sep 2022 15:30:33 -0400 Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Sep 2022 12:30:32 -0700 Received: from b49691a75f52.jf.intel.com ([10.165.9.119]) by fmsmga004.fm.intel.com with ESMTP; 13 Sep 2022 12:30:32 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1663097609; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=HGpEnkSgiE4TN+2Yj6a2s7J90T5gYRRnBfuDdEOV0+s=; b=WRG8lDx3vJw4DaWhtyz57pRiOJBavLK7Ew/7UZ3TLo5HP99ymJORIEIv/cVORofQrzFi2s wk1EQ1JXwbDE/8V2oina2aQJOKWQtUVhrXrX3X2Mz5cXf6pDlS9P+csufRxFCwKoXshT/W Uzp8XEvfcYSKsgZyA/RXDKsOkxf4n4Y= X-MC-Unique: wD_IHVj2OkugkJIsTViMjw-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: hq7pL5Q7MACDIrCoXe9rIw-1 X-IronPort-AV: E=McAfee;i="6500,9779,10469"; a="296969534" X-IronPort-AV: E=Sophos;i="5.93,313,1654585200"; d="scan'208";a="296969534" X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,313,1654585200"; d="scan'208";a="684994616" From: Lin Yang To: libvir-list@redhat.com, lin.a.yang@intel.com Subject: [PATCH] cpu_map: Add cpu feature amx Date: Tue, 13 Sep 2022 12:30:31 -0700 Message-Id: <20220913193031.13543-1-lin.a.yang@intel.com> MIME-Version: 1.0 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false 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: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 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: 1663097611092100001 Content-Type: text/plain; charset="utf-8"; x-default="true" AMX was introduced in QEMU commit 1f16764f7d4515bfd5e4ae0aae814fa280a7d0c8 and following commits. Reviewed-by: Martin Kletzander --- src/cpu_map/sync_qemu_i386.py | 3 +++ src/cpu_map/x86_features.xml | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/src/cpu_map/sync_qemu_i386.py b/src/cpu_map/sync_qemu_i386.py index 4dd9f3b84d..6a46f87cff 100755 --- a/src/cpu_map/sync_qemu_i386.py +++ b/src/cpu_map/sync_qemu_i386.py @@ -72,6 +72,9 @@ def translate_feature(name): "CPUID_7_0_EDX_SPEC_CTRL": "spec-ctrl", "CPUID_7_0_EDX_SPEC_CTRL_SSBD": "ssbd", "CPUID_7_0_EDX_STIBP": "stibp", + "CPUID_7_0_EDX_AMX_BF16": "amx-bf16", + "CPUID_7_0_EDX_AMX_TILE": "amx-tile", + "CPUID_7_0_EDX_AMX_INT8": "amx-int8", "CPUID_7_1_EAX_AVX512_BF16": "avx512-bf16", "CPUID_7_1_EAX_AVX_VNNI": "avx-vnni", "CPUID_8000_0008_EBX_AMD_SSBD": "amd-ssbd", diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index 4cf3ff0804..102d39f626 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -347,6 +347,15 @@ + + + + + + + + + --=20 2.34.1