From nobody Mon Jun 8 09:49:32 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 154C13AC0EF; Thu, 4 Jun 2026 02:55:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780541738; cv=none; b=diY2UvlmVKEu6p/GtcwJ3m3Eyjc2odSY5gtQqfy2H9vN25hNeOlwOrU+8CDqAXcAQx4sampYW4ZU7N82M0efDL6sOyuNUc+Ka7HmaxGOd7naWNsGixGOBA/L8Z23vrGF2Yb6eJeREPJ6oDiD6i466EjDjZD/WfRH7HNEoTFk/7c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780541738; c=relaxed/simple; bh=WwIqwHH5oMujgzb/cevBK/41KEr5CilhDf4zWAtgZ2o=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=F/G4LOIzOXqUWZVAz6xufhvHIli4Uengr5gRFKvYWHAaAv9PoGV9F64eyjAhASYZIBSMsL/JfdLcfWm6oGuM+TNyn35W0IG9Fq/aES5rupUGMVKYkrOuH0YrBFupQ7DT0TcvXcZ+1KDvTv/Dy1cH5CYiFFRRDTrJiu6VVSS9NaA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=gUrQUCVd; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Mi72RXOp; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="gUrQUCVd"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Mi72RXOp" Date: Thu, 04 Jun 2026 02:55:33 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1780541735; h=from:from:sender:sender:reply-to: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=c9kSnTDlCghrh4S/POmrFOK569bH8gmDtSVbvBaf4GU=; b=gUrQUCVdneSDekO29k3GMqZvtE934WB/QAXzcll6rj+OFo7qrIroSHBphINZDYxD7lZ7VW 16UviUZikUaD6AXG2mkyKSDipgOZf+hPfmdErCRyDecPIl/ggoSsIMp+bzQpv9uD7LaSfi tfdL8Pd5btcSTv9vlu8SyIiFsW6sG5Cu3Z8gYSCmCPm/5GHf+P4zHqq8Mle9wP1L22i3B0 7fahLr38e/HTUkenlMOPxsiA3GSTRXwzNIeZWiRHesXHyQ2nqzdYC2kE3UhKLx/K7a8Yod ObXiSzpQevUZZT4CUUBBfnPMdFyEKd8NAW/tlSEnGiD6zr+yWG5NE0+p3QuQZA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1780541735; h=from:from:sender:sender:reply-to: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=c9kSnTDlCghrh4S/POmrFOK569bH8gmDtSVbvBaf4GU=; b=Mi72RXOps4fguVteEXIYKvOCy2UUb7CG3OEipqFOzqejiyP68yXp1h7t+J/uIdDKV1kjej QrpkzK816nWnycDg== From: "tip-bot2 for Maciej Wieczor-Retman" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cpu] x86/cpuid: Update bitfields to x86-cpuid-db v3.1 Cc: "Maciej Wieczor-Retman" , "Borislav Petkov (AMD)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: =?utf-8?q?=3C9653d8690ec7093c8190b12d1fa8c689c4da50fe=2E1780506?= =?utf-8?q?200=2Egit=2Em=2Ewieczorretman=40pm=2Eme=3E?= References: =?utf-8?q?=3C9653d8690ec7093c8190b12d1fa8c689c4da50fe=2E17805062?= =?utf-8?q?00=2Egit=2Em=2Ewieczorretman=40pm=2Eme=3E?= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178054173352.710.3619939511455826667.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the x86/cpu branch of tip: Commit-ID: eabf869d795173a107ad8965e4fb1711d82544b6 Gitweb: https://git.kernel.org/tip/eabf869d795173a107ad8965e4fb1711d= 82544b6 Author: Maciej Wieczor-Retman AuthorDate: Wed, 03 Jun 2026 17:10:57=20 Committer: Borislav Petkov (AMD) CommitterDate: Wed, 03 Jun 2026 19:05:58 -07:00 x86/cpuid: Update bitfields to x86-cpuid-db v3.1 Update leaf_types.h to version 3.1, as generated by x86-cpuid-db. Summary of the v3.1 changes: * Fix a few typos that were found during the kernel CPUID data model review. Also include fixes found using an LLM agent review, from Ahmed. * Rename thrd_director_nclasses to hw_feedback_nclasses as it's the name used in Intel SDM. See https://gitlab.com/x86-cpuid.org/x86-cpuid-db/-/blob/v3.1/CHANGELOG.rst for more info. Signed-off-by: Maciej Wieczor-Retman Signed-off-by: Borislav Petkov (AMD) Link: https://patch.msgid.link/9653d8690ec7093c8190b12d1fa8c689c4da50fe.178= 0506200.git.m.wieczorretman@pm.me --- arch/x86/include/asm/cpuid/leaf_types.h | 62 ++++++++++++------------ 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/arch/x86/include/asm/cpuid/leaf_types.h b/arch/x86/include/asm= /cpuid/leaf_types.h index 5b0008e..222d2d2 100644 --- a/arch/x86/include/asm/cpuid/leaf_types.h +++ b/arch/x86/include/asm/cpuid/leaf_types.h @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: MIT */ -/* Generator: x86-cpuid-db v3.0 */ +/* Generator: x86-cpuid-db v3.1 */ =20 /* * Auto-generated file. @@ -246,7 +246,7 @@ struct leaf_0x6_0 { : 2, // Reserved energy_perf_bias : 1, // IA32_ENERGY_PERF_BIAS MSR : 4, // Reserved - thrd_director_nclasses : 8, // Number of classes, Intel thread director + hw_feedback_nclasses : 8, // Number of Intel Thread Director classes : 16; // Reserved // edx u32 perfcap_reporting : 1, // Performance capability reporting @@ -332,11 +332,11 @@ struct leaf_0x7_0 { sgx_keys : 1, // Intel SGX attestation services avx512_4vnniw : 1, // AVX-512 neural network instructions avx512_4fmaps : 1, // AVX-512 multiply accumulation single precision - fsrm : 1, // Fast short REP MOV + fsrm : 1, // Fast short REP MOVSB uintr : 1, // User interrupts : 2, // Reserved avx512_vp2intersect : 1, // VP2INTERSECT{D,Q} instructions - srdbs_ctrl : 1, // SRBDS mitigation MSR + srbds_ctrl : 1, // SRBDS mitigation MSR md_clear : 1, // VERW MD_CLEAR microcode rtm_always_abort : 1, // XBEGIN (RTM transaction) always aborts : 1, // Reserved @@ -379,7 +379,7 @@ struct leaf_0x7_1 { wrmsrns : 1, // WRMSRNS instruction (WRMSR-non-serializing) nmi_src : 1, // NMI-source reporting with FRED event data amx_fp16 : 1, // AMX-FP16: FP16 tile operations - hreset : 1, // HRESET (Thread director history reset) + hreset : 1, // HRESET (Thread director history reset) avx_ifma : 1, // Integer fused multiply add : 2, // Reserved lam : 1, // Linear address masking @@ -414,8 +414,8 @@ struct leaf_0x7_2 { u32 intel_psfd : 1, // Intel predictive store forward disable ipred_ctrl : 1, // MSR bits IA32_SPEC_CTRL.IPRED_DIS_{U,S} rrsba_ctrl : 1, // MSR bits IA32_SPEC_CTRL.RRSBA_DIS_{U,S} - ddp_ctrl : 1, // MSR bit IA32_SPEC_CTRL.DDPD_U - bhi_ctrl : 1, // MSR bit IA32_SPEC_CTRL.BHI_DIS_S + ddp_ctrl : 1, // MSR bit IA32_SPEC_CTRL.DDPD_U + bhi_ctrl : 1, // MSR bit IA32_SPEC_CTRL.BHI_DIS_S mcdt_no : 1, // MCDT mitigation not needed uclock_disable : 1, // UC-lock disable : 25; // Reserved @@ -547,7 +547,7 @@ struct leaf_0xd_1 { : 1, // Reserved xss_pasid : 1, // PASID state xss_cet_u : 1, // CET user state - xss_cet_p : 1, // CET supervisor state + xss_cet_s : 1, // CET supervisor state xss_hdc : 1, // HDC state xss_uintr : 1, // UINTR state xss_lbr : 1, // LBR state @@ -711,7 +711,7 @@ struct leaf_0x12_1 { u32 : 32; // Reserved // ecx u32 xfrm_x87 : 1, // Enclave XFRM.X87 - xfrm_sse : 1, // Enclave XFRM.SEE + xfrm_sse : 1, // Enclave XFRM.SSE xfrm_avx : 1, // Enclave XFRM.AVX xfrm_mpx_bndregs : 1, // Enclave XFRM.BNDREGS (MPX BND0-BND3 registers) xfrm_mpx_bndcsr : 1, // Enclave XFRM.BNDCSR (MPX BNDCFGU/BNDSTATUS re= gisters) @@ -771,7 +771,7 @@ struct leaf_0x14_0 { u32 topa_output : 1, // ToPA output scheme topa_multiple_entries : 1, // ToPA tables can hold multiple entries single_range_output : 1, // Single-range output - trance_transport_output : 1, // Trace Transport subsystem output + trace_transport_output : 1, // Trace Transport subsystem output : 27, // Reserved ip_payloads_lip : 1; // IP payloads have LIP values (CS base included) // edx @@ -780,7 +780,7 @@ struct leaf_0x14_0 { =20 struct leaf_0x14_1 { // eax - u32 num_address_ranges : 3, // Number of configurable Address Ranges + u32 num_address_ranges : 3, // Number of configurable address ranges : 13, // Reserved mtc_periods_bmp : 16; // MTC period encodings bitmap // ebx @@ -842,7 +842,7 @@ struct leaf_0x17_0 { // ecx u32 soc_proj_id : 32; // SoC project ID, assigned by vendor // edx - u32 soc_stepping_id : 32; // Soc project stepping ID, assigned by vendor + u32 soc_stepping_id : 32; // SoC project stepping ID, assigned by vendor }; =20 struct leaf_0x17_n { @@ -883,7 +883,7 @@ struct leaf_0x18_n { tlb_cache_level : 3, // Translation cache level (1-based) is_fully_associative : 1, // Fully-associative : 5, // Reserved - tlb_max_addressible_ids : 12, // Max number of addressable IDs - 1 + tlb_max_addressable_ids : 12, // Max number of addressable IDs - 1 : 6; // Reserved }; =20 @@ -897,7 +897,7 @@ struct leaf_0x18_n { =20 struct leaf_0x19_0 { // eax - u32 kl_cpl0_only : 1, // CPL0-only key Locker restriction + u32 kl_cpl0_only : 1, // CPL0-only key locker restriction kl_no_encrypt : 1, // No-encrypt key locker restriction kl_no_decrypt : 1, // No-decrypt key locker restriction : 29; // Reserved @@ -962,7 +962,7 @@ struct leaf_0x1c_0 { // eax u32 lbr_depth_mask : 8, // Max LBR stack depth bitmask : 22, // Reserved - lbr_deep_c_reset : 1, // LBRs maybe cleared on MWAIT C-state > C1 + lbr_deep_c_reset : 1, // LBRs may be cleared on MWAIT C-state > C1 lbr_ip_is_lip : 1; // LBR IP contain Last IP (otherwise effective IP) // ebx u32 lbr_cpl : 1, // CPL filtering @@ -1079,9 +1079,9 @@ struct leaf_0x21_0 { // ebx u32 tdx_vendorid_0 : 32; // TDX vendor ID string bytes 0 - 3 // ecx - u32 tdx_vendorid_2 : 32; // CPU vendor ID string bytes 8 - 11 + u32 tdx_vendorid_2 : 32; // TDX vendor ID string bytes 8 - 11 // edx - u32 tdx_vendorid_1 : 32; // CPU vendor ID string bytes 4 - 7 + u32 tdx_vendorid_1 : 32; // TDX vendor ID string bytes 4 - 7 }; =20 /* @@ -1281,12 +1281,12 @@ struct leaf_0x4c780001_0 { flexpriority : 1, // Intel FlexPriority ept : 1, // Intel Extended Page Table vpid : 1, // Intel Virtual Processor ID - coherency_sfw_no : 1, // SNP cache coherency software work around not = needed + coherency_sfw_no : 1, // SNP cache coherency software workaround not n= eeded : 10, // Reserved vmmcall : 1, // Prefer VMMCALL to VMCALL xenpv : 1, // Xen paravirtual guest ept_ad : 1, // Intel Extended Page Table access-dirty bit - VMCALL : 1, // Hypervisor supports the VMCALL instruction + vmcall : 1, // Hypervisor supports the VMCALL instruction vmw_vmmcall : 1, // VMware prefers the VMMCALL instruction pvunlock : 1, // PV unlock function vcpupreempt : 1, // PV vcpu_is_preempted function @@ -1380,11 +1380,11 @@ struct leaf_0x4c780002_0 { amd_e400 : 1, // CPU is among the affected by Erratum 400 cpu_meltdown : 1, // CPU affected by meltdown; needs kernel page tabl= e isolation spectre_v1 : 1, // CPU affected by Spectre variant 1 with conditional= branches - specture_v2 : 1, // CPU affected by Spectre variant 2 with indirect b= ranches + spectre_v2 : 1, // CPU affected by Spectre variant 2 with indirect br= anches spec_store_bypass : 1, // CPU affected by speculative store bypass att= ack l1tf : 1, // CPU affected by L1 Terminal Fault mds : 1, // CPU affected by Microarchitectural data sampling - msbds_only : 1, // Microarchitectural data sampling: CPU only affecte= d by the MSDBS variant + msbds_only : 1, // Microarchitectural data sampling: CPU only affecte= d by the MSBDS variant swapgs : 1, // CPU affected by speculation through SWAPGS taa : 1, // CPU is affected by TSX Async Abort (TAA) itlb_multihit : 1, // CPU may incur MCE during certain page attribute= changes @@ -1732,7 +1732,7 @@ struct leaf_0x8000000a_0 { lbr_virt : 1, // LBR virtualization svm_lock : 1, // SVM lock nrip_save : 1, // NRIP save support on #VMEXIT - tsc_rate_msr : 1, // MSR based TSC rate control + tsc_rate_msr : 1, // MSR-based TSC rate control vmcb_clean : 1, // VMCB clean bits support flush_by_asid : 1, // Flush by ASID + Extended VMCB TLB_Control decode_assists : 1, // Decode Assists support @@ -1790,7 +1790,7 @@ struct leaf_0x8000001a_0 { // eax u32 fp_128 : 1, // Internal FP/SIMD exec data path is 128-bits wide movu_preferred : 1, // SSE: MOVU* better than MOVL*/MOVH* - fp_256 : 1, // internal FP/SSE exec data path is 256-bits wide + fp_256 : 1, // Internal FP/SSE exec data path is 256-bits wide : 29; // Reserved // ebx u32 : 32; // Reserved @@ -1836,7 +1836,7 @@ struct leaf_0x8000001b_0 { struct leaf_0x8000001c_0 { // eax u32 os_lwp_avail : 1, // OS: LWP is available to application programs - os_lpwval : 1, // OS: LWPVAL instruction + os_lwpval : 1, // OS: LWPVAL instruction os_lwp_ire : 1, // OS: Instructions Retired Event os_lwp_bre : 1, // OS: Branch Retired Event os_lwp_dme : 1, // OS: Dcache Miss Event @@ -1856,7 +1856,7 @@ struct leaf_0x8000001c_0 { lwp_data_addr : 1, // Cache miss events report data cache address lwp_latency_rnd : 3, // Cache latency rounding amount lwp_version : 7, // LWP version - lwp_buf_min_sz : 8, // LWP event ring buffer min size, 32 event recor= ds units + lwp_buf_min_sz : 8, // LWP event ring buffer min size, 32 event recor= d units : 4, // Reserved lwp_branch_predict : 1, // Branches Retired events can be filtered lwp_ip_filtering : 1, // IP filtering (IPI, IPF, BaseIP, and LimitIP @= LWPCP) @@ -1864,7 +1864,7 @@ struct leaf_0x8000001c_0 { lwp_cache_latency : 1; // Cache-related events: filter by latency // edx u32 hw_lwp_avail : 1, // HW: LWP available - hw_lpwval : 1, // HW: LWPVAL available + hw_lwpval : 1, // HW: LWPVAL available hw_lwp_ire : 1, // HW: Instructions Retired Event hw_lwp_bre : 1, // HW: Branch Retired Event hw_lwp_dme : 1, // HW: Dcache Miss Event @@ -2051,8 +2051,8 @@ struct leaf_0x80000021_0 { upper_addr_ignore : 1, // EFER MSR Upper Address Ignore auto_ibrs : 1, // EFER MSR Automatic IBRS no_smm_ctl_msr : 1, // SMM_CTL MSR not available - fsrs : 1, // Fast Short Rep STOSB - fsrc : 1, // Fast Short Rep CMPSB + fsrs : 1, // Fast Short REP STOSB + fsrc : 1, // Fast Short REP CMPSB : 1, // Reserved prefetch_ctl_msr : 1, // Prefetch control MSR : 2, // Reserved @@ -2157,11 +2157,11 @@ struct leaf_0x80860000_0 { // eax u32 max_tra_leaf : 32; // Maximum Transmeta leaf // ebx - u32 cpu_vendorid_0 : 32; // Transmeta Vendor ID string bytes 0 - 3 + u32 cpu_vendorid_0 : 32; // Transmeta vendor ID string bytes 0 - 3 // ecx - u32 cpu_vendorid_2 : 32; // Transmeta Vendor ID string bytes 8 - 11 + u32 cpu_vendorid_2 : 32; // Transmeta vendor ID string bytes 8 - 11 // edx - u32 cpu_vendorid_1 : 32; // Transmeta Vendor ID string bytes 4 - 7 + u32 cpu_vendorid_1 : 32; // Transmeta vendor ID string bytes 4 - 7 }; =20 /*