From nobody Mon Nov 23 04:26:36 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.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; dmarc=pass(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1795115126; cv=none; d=zohomail.com; s=zohoarc; b=LqYYHty4i4jn+kYov54iGk19z8fG6qCM3vUf6aLXELdrOkKvixMQDie2mvRhxFJlkvC/bqOujVx10io9RBBUBU8ZNl9Mntq7nyM3FFiXmzkASAboQI01akbWBBgplENXGSyq3AMUtv0paPMTgG3GiPqqTs19nD5+GcFsHbhmcQU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1795115126; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=/37+V32KKQhxoO6VTh6kEw6iqWWm7AxhveD8srrgA+o=; b=EVRe7FGszruxIlkgETld7C2WQj/Lb85npQMIAElODlrhgCn/pm70a5lBzOmq9ROOhPdAi//8APlCzYPj5wf1cztyY3TPrbYcb/Zdr2onJX3S7ZkPaUnO+ATbNWs0bPG/uoMgEGr8tbhzgliXkJqkRIKGhH5Xj57cwEdLk/csMyM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.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; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1795115126768227.46802303380616; Thu, 19 Nov 2026 11:05:26 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xU7RB-0000GB-N6; Thu, 19 Nov 2026 14:04:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xU7RA-0000Fx-6l; Thu, 19 Nov 2026 14:04:48 -0500 Received: from mgamail.intel.com ([192.198.163.14]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xU7R8-0002Hd-4c; Thu, 19 Nov 2026 14:04:47 -0500 Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Nov 2026 11:04:42 -0800 Received: from chang-linux-3.sc.intel.com (HELO chang-linux-3) ([172.25.66.174]) by fmviesa006.fm.intel.com with ESMTP; 19 Nov 2026 11:04:41 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1795115086; x=1826651086; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Tk0rmUlFS5C2Sx+tSxdwEpYiwwTI+GAQnZaBagHpXw8=; b=WpHfu2ispum98qpMqJuWkBAtdZa0C4MqxbUxt6Kr0rT3O5t/Kdqv6SnD hqjL0NicIaZgNjSkWvNM2yFG4IcimCbUhSH9eOyPDLxu6KcBA3ykt2F6q mrvZ7CRN1PkK5OC8LuUnNHXFDxz2i5RqGIEOiGAmOy3/GLkvS2M76VYb6 f6hZx2hgFwvshORdGtV3UDccswH+c75fGMCQigjlD4bEvb5apkw2fOCOE Gbdvq8Ttbbr0Ly4+lSUr07PZVYzg3Kbxq/eXuoFOHKjmS1OodpUXh8Emy EYlMgyllBy9YNrAzwo371GNRrN5LprQn06OrQee9968LlWFW3e5WyjXRg A==; X-CSE-ConnectionGUID: vOkKYuajTs++Sv34JK/NHA== X-CSE-MsgGUID: GyF+C8SoQQqaclhLh3z1Kw== X-IronPort-AV: E=McAfee;i="6800,10657,11971"; a="3868096" X-IronPort-AV: E=Sophos;i="6.27,221,1787036400"; d="scan'208";a="3868096" X-CSE-ConnectionGUID: GNXPMJFTRE6Arcrn/bD7Kw== X-CSE-MsgGUID: Ls9ZdQaxT7q7diFgy++7uw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,221,1787036400"; d="scan'208";a="10846185" From: "Chang S. Bae" To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, berrange@redhat.com, zhao1.liu@intel.com, chang.seok.bae@intel.com, qemu-stable@nongnu.org Subject: [PATCH v3] i386/cpu: Remove AMX-TF32 CPUID bit from Diamond Rapids Date: Thu, 19 Nov 2026 18:37:17 +0000 Message-ID: <20261119183717.962303-1-chang.seok.bae@intel.com> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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=lists1p.gnu.org; Received-SPF: pass client-ip=192.198.163.14; envelope-from=chang.seok.bae@intel.com; helo=mgamail.intel.com X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) AC_FROM_MANY_DOTS=0.135, BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @intel.com) X-ZM-MESSAGEID: 1795115129541158500 Content-Type: text/plain; charset="utf-8" A recent update (rev. 62) to the Intel document [1] clarifies that the feature will not be implemented on Diamond Rapids. Listing it would result in spurious warnings due to the mismatch. Remove the feature from the CPU model. Note [1] (rev. 63) now clarifies that the CPUID bit is reserved rather than removed. So, the existing CPUID bit enumeration does not conflict with it and can be retained. [1] Intel Architecture Instruction Set Extensions and Future Features Cc: qemu-stable@nongnu.org # v11.0+ Reviewed-by: Zhao Liu Signed-off-by: Chang S. Bae --- V2 -> V3: Remove it from DMR only. --- target/i386/cpu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 5805d33ab92d..5460ad4494a9 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -5726,8 +5726,7 @@ static const X86CPUDefinition builtin_x86_defs[] =3D { CPUID_1E_1_EAX_AMX_INT8_ALIAS | CPUID_1E_1_EAX_AMX_BF16_ALIAS | CPUID_1E_1_EAX_AMX_COMPLEX_ALIAS | CPUID_1E_1_EAX_AMX_FP16_ALIAS | CPUID_1E_1_EAX_AMX_FP8 | - CPUID_1E_1_EAX_AMX_TF32 | CPUID_1E_1_EAX_AMX_AVX512 | - CPUID_1E_1_EAX_AMX_MOVRS, + CPUID_1E_1_EAX_AMX_AVX512 | CPUID_1E_1_EAX_AMX_MOVRS, .features[FEAT_29_0_EBX] =3D CPUID_29_0_EBX_APX_NCI_NDD_NF, /* * Though this bit will be set by avx_version=3D2, it's better to --=20 2.53.0