From nobody Mon Jun 8 07:23:00 2026 Received: from mail-244122.protonmail.ch (mail-244122.protonmail.ch [109.224.244.122]) (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 BC4DC472793 for ; Wed, 3 Jun 2026 12:02:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=109.224.244.122 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780488172; cv=none; b=fXZBikV1ESLE/1w5hxsNjUbNUizLN3H0taJG1CJpLRhhpBh+HfGxRmhVWbZ4GfIWLUw3cyYB24dV9P8lYOwCAyDb3KEzKcApF2XzoyF6cDUqBO3Sqi/WvGDuVjKCpIjTk0on/Yhi5Gf+cw9XC1/9YnQvjD6uyiXLE1PQDxOfwpQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780488172; c=relaxed/simple; bh=Ekp05GALZz8ODCTTqQhSaz01+x6hiv8LZLyq2m5MHTs=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=sicIPYRnGAC1YB04ItRFz0Re2TEYfjQjEtpGMjyNZJAJjjP5gaY44eb4m/TFUL6G5ZNV4OfkIkMjJp2s4TOtAdoUTh15Y5UInV4F2XcK0Sxe8DrzbL0ytoLhJDI30hm14OhLWpKBYKER4VbNeoOouzldAM3Nr+2SmOCrAI2U83M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=pm.me; spf=pass smtp.mailfrom=pm.me; dkim=pass (2048-bit key) header.d=pm.me header.i=@pm.me header.b=MoOnCZzd; arc=none smtp.client-ip=109.224.244.122 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=pm.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pm.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pm.me header.i=@pm.me header.b="MoOnCZzd" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1780488162; x=1780747362; bh=OZqD/KhWk1D0S2VkBNLD1mZ2qg8N1RH4VwYDalBUInU=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=MoOnCZzdMpo3Wq8US5l9kWBJ7z7wPJNHcJOGDog/pFrpRWm5y5agGfgaB7+zEHB99 FDmPREDlSZhQSEJ5rIVlgqMNX/ZxL/LQtH+7Zqo0UI0UVs8RVil8yNJxsEWNETlGQt hwvyrI/duJLZ1rONFCUpNKLcOkGAmHLbpsi/uiZFiI7Yxkd4+A/DmWXDHosJBWziAR mjbTgxsw7dq6F5vyW93OLnk54uv/MCXju3nUomC3Q0bOJfiePTh21AEKb2llEbjmbB +rIgzkZvqHrUk88kExdDVPlzbkZILXrC9e2m67u8Mm8oDoNCndeDlFpeIi8lNxsmyz J/w1hDexv4hKg== Date: Wed, 03 Jun 2026 12:02:18 +0000 To: mingo@redhat.com, dave.hansen@linux.intel.com, bp@alien8.de From: Maciej Wieczor-Retman Cc: hpa@zytor.com, darwi@linutronix.de, tglx@kernel.org, sohil.mehta@intel.com, andrew.cooper3@citrix.com, linux-kernel@vger.kernel.org, x86@kernel.org, m.wieczorretman@pm.me, john.ogness@linutronix.de, ludloff@gmail.com, maciej.wieczor-retman@intel.com, x86-cpuid@lists.linux.dev Subject: [PATCH v1 1/2] x86/cpuid: Fix typos Message-ID: <7d4b42bb1f77a74e257850b466140ac1a5fee821.1780487165.git.m.wieczorretman@pm.me> In-Reply-To: References: Feedback-ID: 164464600:user:proton X-Pm-Message-ID: 0660bb951dde6bf3ce7e9943b89e92be535e692f Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Maciej Wieczor-Retman Fix a few typos that were found during the kernel CPUID data model review. Link: https://lore.kernel.org/all/ah2WBnBkz8KQrph0@wieczorr-mobl1.localdoma= in/ Signed-off-by: Maciej Wieczor-Retman --- arch/x86/include/asm/cpuid/leaf_types.h | 6 +++--- tools/arch/x86/kcpuid/cpuid.csv | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/x86/include/asm/cpuid/leaf_types.h b/arch/x86/include/asm= /cpuid/leaf_types.h index 5b0008e455e2..b89435a3277d 100644 --- a/arch/x86/include/asm/cpuid/leaf_types.h +++ b/arch/x86/include/asm/cpuid/leaf_types.h @@ -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 @@ -1380,7 +1380,7 @@ 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 diff --git a/tools/arch/x86/kcpuid/cpuid.csv b/tools/arch/x86/kcpuid/cpuid.= csv index 9f5155c825ca..d25346733aac 100644 --- a/tools/arch/x86/kcpuid/cpuid.csv +++ b/tools/arch/x86/kcpuid/cpuid.csv @@ -433,7 +433,7 @@ 0x12, 1, eax, 7, secs_attr_kss , Key Sepa= ration and Sharing 0x12, 1, eax, 10, secs_attr_aexnotify , Enclave = threads: AEX notifications 0x12, 1, ecx, 0, xfrm_x87 , Enclave = XFRM.X87 - 0x12, 1, ecx, 1, xfrm_sse , Enclave = XFRM.SEE + 0x12, 1, ecx, 1, xfrm_sse , Enclave = XFRM.SSE 0x12, 1, ecx, 2, xfrm_avx , Enclave = XFRM.AVX 0x12, 1, ecx, 3, xfrm_mpx_bndregs , Enclave = XFRM.BNDREGS (MPX BND0-BND3 registers) 0x12, 1, ecx, 4, xfrm_mpx_bndcsr , Enclave = XFRM.BNDCSR (MPX BNDCFGU/BNDSTATUS registers) @@ -466,7 +466,7 @@ 0x14, 0, ecx, 0, topa_output , ToPA out= put scheme 0x14, 0, ecx, 1, topa_multiple_entries , ToPA tab= les can hold multiple entries 0x14, 0, ecx, 2, single_range_output , Single-r= ange output - 0x14, 0, ecx, 3, trance_transport_output, Trace Tr= ansport subsystem output + 0x14, 0, ecx, 3, trace_transport_output , Trace Tr= ansport subsystem output 0x14, 0, ecx, 31, ip_payloads_lip , IP paylo= ads have LIP values (CS base included) 0x14, 1, eax, 2:0, num_address_ranges , Number o= f configurable Address Ranges 0x14, 1, eax, 31:16, mtc_periods_bmp , MTC peri= od encodings bitmap --=20 2.54.0 From nobody Mon Jun 8 07:23:00 2026 Received: from mail-43101.protonmail.ch (mail-43101.protonmail.ch [185.70.43.101]) (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 33F3046AECF for ; Wed, 3 Jun 2026 12:02:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.101 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780488160; cv=none; b=oC0EyE1pSG0+iWnBIQHZmjHETdzXF7ryj1PVW18iUltGj9rQ6mPvQAesKO7bX1viUfZYP+O8j6o0ozuJVnKbWMcb0WbxuXbZWhl+UJje+u4OfvjN4Rx6AfWM+hs3NW9BCjBfl/SaBFodpMW+ir6AJNhLuohO80CoaH5wATDM5a4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780488160; c=relaxed/simple; bh=Z5Dgiv42bWJo207Od0SaYrLrfI3zWR8kQX4mo6wurk4=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=F82Y/+PL8gqogKxOHtM22gYPKoML311PnQkVgqBVdEenSHN9jkisdEsqe8Hggh55y4YAfd63wRVzbY0ezgT8WCPMK9va7fX8ZLdzC2f/iHZu4tI1puFL8UnD3fOguPNQjGnuWONuDTvzrJUFurJCXWU2CNusEOaKYjM5GHKqZs8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=pm.me; spf=pass smtp.mailfrom=pm.me; dkim=pass (2048-bit key) header.d=pm.me header.i=@pm.me header.b=bZNiebKi; arc=none smtp.client-ip=185.70.43.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=pm.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pm.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pm.me header.i=@pm.me header.b="bZNiebKi" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1780488149; x=1780747349; bh=uM8z9ouv5imJ3kpwf2Zu/l+ZMBzZnO7ZywGg/CRRJ/g=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=bZNiebKiiw67O8iENlBSiEyVBozrE01go5G0L10Fy2URPh+CEBRlqXDRLtYEYd4pg uzmg+hNB8jliodUn2zBsgTbi2uO0swA3tPOb0s8+1LFgCUWR0Phi89UNvcrPF9E/gd zGRcbbx2vJkJ6HH0s9yfhJX6V5SW6IPO8enZajQNpQ+bYTKe28nU44tJluZPw2qCH1 ADG3KGg7C4gUQV7S4/qvQ9+1F1YPTnqzdV3WSNzV2h1lXiUp9YPRgnYwx7G6sKC5Xa w89/i8ULGjmrzaxu7T8COmMkeXhLBOWSjBzT8A9g1TXZ9qZ3ckyZRcjdSK/0hftcYe AHjmoxQ0zkDLQ== Date: Wed, 03 Jun 2026 12:02:25 +0000 To: mingo@redhat.com, dave.hansen@linux.intel.com, bp@alien8.de From: Maciej Wieczor-Retman Cc: hpa@zytor.com, darwi@linutronix.de, tglx@kernel.org, sohil.mehta@intel.com, andrew.cooper3@citrix.com, linux-kernel@vger.kernel.org, x86@kernel.org, m.wieczorretman@pm.me, john.ogness@linutronix.de, ludloff@gmail.com, maciej.wieczor-retman@intel.com, x86-cpuid@lists.linux.dev Subject: [PATCH v1 2/2] x86/cpuid: Fix a few more typos Message-ID: <237c2be340be63e67263c76f065b3aaa9fb1fbbe.1780487165.git.m.wieczorretman@pm.me> In-Reply-To: References: Feedback-ID: 164464600:user:proton X-Pm-Message-ID: 9a94f607e284432905be27c503639dd95454ff0b Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Ahmed S. Darwish As identified by an LLM agent run over the generated C kernel header. Note, for CPUID(0x6) thrd_director_nclasses, it was written this way because the project does not support bitfields names with more letters. Name it as hw_feedback_nclasses, which is what's in the Intel manuals. Signed-off-by: Ahmed S. Darwish Signed-off-by: Maciej Wieczor-Retman --- arch/x86/include/asm/cpuid/leaf_types.h | 56 ++++++++++++------------- tools/arch/x86/kcpuid/cpuid.csv | 48 ++++++++++----------- 2 files changed, 52 insertions(+), 52 deletions(-) diff --git a/arch/x86/include/asm/cpuid/leaf_types.h b/arch/x86/include/asm= /cpuid/leaf_types.h index b89435a3277d..222d2d2682c8 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 @@ -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 @@ -1384,7 +1384,7 @@ struct leaf_0x4c780002_0 { 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 /* diff --git a/tools/arch/x86/kcpuid/cpuid.csv b/tools/arch/x86/kcpuid/cpuid.= csv index d25346733aac..45a876d3519f 100644 --- a/tools/arch/x86/kcpuid/cpuid.csv +++ b/tools/arch/x86/kcpuid/cpuid.csv @@ -1,5 +1,5 @@ # SPDX-License-Identifier: CC0-1.0 -# Generator: x86-cpuid-db v3.0 +# Generator: x86-cpuid-db v3.1 =20 # # Auto-generated file. @@ -177,7 +177,7 @@ 0x6, 0, ebx, 3:0, n_therm_thresholds , Digital = thermometer thresholds 0x6, 0, ecx, 0, aperfmperf , MPERF/AP= ERF MSRs (effective frequency interface) 0x6, 0, ecx, 3, epb , IA32_ENE= RGY_PERF_BIAS MSR - 0x6, 0, ecx, 15:8, thrd_director_nclasses , Number o= f classes, Intel thread director + 0x6, 0, ecx, 15:8, hw_feedback_nclasses , Number o= f Intel Thread Director classes 0x6, 0, edx, 0, perfcap_reporting , Performa= nce capability reporting 0x6, 0, edx, 1, encap_reporting , Energy e= fficiency capability reporting 0x6, 0, edx, 11:8, feedback_sz , Feedback= interface structure size, in 4K pages @@ -247,10 +247,10 @@ 0x7, 0, edx, 1, sgx_keys , Intel SG= X attestation services 0x7, 0, edx, 2, avx512_4vnniw , AVX-512 = neural network instructions 0x7, 0, edx, 3, avx512_4fmaps , AVX-512 = multiply accumulation single precision - 0x7, 0, edx, 4, fsrm , Fast sho= rt REP MOV + 0x7, 0, edx, 4, fsrm , Fast sho= rt REP MOVSB 0x7, 0, edx, 5, uintr , User int= errupts 0x7, 0, edx, 8, avx512_vp2intersect , VP2INTER= SECT{D,Q} instructions - 0x7, 0, edx, 9, srdbs_ctrl , SRBDS mi= tigation MSR + 0x7, 0, edx, 9, srbds_ctrl , SRBDS mi= tigation MSR 0x7, 0, edx, 10, md_clear , VERW MD_= CLEAR microcode 0x7, 0, edx, 11, rtm_always_abort , XBEGIN (= RTM transaction) always aborts 0x7, 0, edx, 13, tsx_force_abort , MSR TSX_= FORCE_ABORT, RTM_ABORT bit @@ -296,8 +296,8 @@ 0x7, 2, edx, 0, intel_psfd , Intel pr= edictive store forward disable 0x7, 2, edx, 1, ipred_ctrl , MSR bits= IA32_SPEC_CTRL.IPRED_DIS_{U,S} 0x7, 2, edx, 2, rrsba_ctrl , MSR bits= IA32_SPEC_CTRL.RRSBA_DIS_{U,S} - 0x7, 2, edx, 3, ddp_ctrl , MSR bit = IA32_SPEC_CTRL.DDPD_U - 0x7, 2, edx, 4, bhi_ctrl , MSR bit = IA32_SPEC_CTRL.BHI_DIS_S + 0x7, 2, edx, 3, ddp_ctrl , MSR bit = IA32_SPEC_CTRL.DDPD_U + 0x7, 2, edx, 4, bhi_ctrl , MSR bit = IA32_SPEC_CTRL.BHI_DIS_S 0x7, 2, edx, 5, mcdt_no , MCDT mit= igation not needed 0x7, 2, edx, 6, uclock_disable , UC-lock = disable =20 @@ -368,7 +368,7 @@ 0xd, 1, ecx, 8, xss_pt , PT state 0xd, 1, ecx, 10, xss_pasid , PASID st= ate 0xd, 1, ecx, 11, xss_cet_u , CET user= state - 0xd, 1, ecx, 12, xss_cet_p , CET supe= rvisor state + 0xd, 1, ecx, 12, xss_cet_s , CET supe= rvisor state 0xd, 1, ecx, 13, xss_hdc , HDC state 0xd, 1, ecx, 14, xss_uintr , UINTR st= ate 0xd, 1, ecx, 15, xss_lbr , LBR state @@ -468,7 +468,7 @@ 0x14, 0, ecx, 2, single_range_output , Single-r= ange output 0x14, 0, ecx, 3, trace_transport_output , Trace Tr= ansport subsystem output 0x14, 0, ecx, 31, ip_payloads_lip , IP paylo= ads have LIP values (CS base included) - 0x14, 1, eax, 2:0, num_address_ranges , Number o= f configurable Address Ranges + 0x14, 1, eax, 2:0, num_address_ranges , Number o= f configurable address ranges 0x14, 1, eax, 31:16, mtc_periods_bmp , MTC peri= od encodings bitmap 0x14, 1, ebx, 15:0, cycle_thresholds_bmp , Cycle Th= reshold encodings bitmap 0x14, 1, ebx, 31:16, psb_periods_bmp , Configur= able PSB frequency encodings bitmap @@ -494,7 +494,7 @@ 0x17, 0, ebx, 15:0, soc_vendor_id , SoC vend= or ID 0x17, 0, ebx, 16, is_vendor_scheme , Assigned= by industry enumeration scheme (not Intel) 0x17, 0, ecx, 31:0, soc_proj_id , SoC proj= ect ID, assigned by vendor - 0x17, 0, edx, 31:0, soc_stepping_id , Soc proj= ect stepping ID, assigned by vendor + 0x17, 0, edx, 31:0, soc_stepping_id , SoC proj= ect stepping ID, assigned by vendor 0x17, 3:1, eax, 31:0, vendor_brand_a , Vendor B= rand ID string, bytes subleaf_nr * (0 -> 3) 0x17, 3:1, ebx, 31:0, vendor_brand_b , Vendor B= rand ID string, bytes subleaf_nr * (4 -> 7) 0x17, 3:1, ecx, 31:0, vendor_brand_c , Vendor B= rand ID string, bytes subleaf_nr * (8 -> 11) @@ -514,12 +514,12 @@ 0x18, 31:0, edx, 4:0, tlb_type , Translat= ion cache type (TLB type) 0x18, 31:0, edx, 7:5, tlb_cache_level , Translat= ion cache level (1-based) 0x18, 31:0, edx, 8, is_fully_associative , Fully-as= sociative - 0x18, 31:0, edx, 25:14, tlb_max_addressible_ids, Max numb= er of addressable IDs - 1 + 0x18, 31:0, edx, 25:14, tlb_max_addressable_ids, Max numb= er of addressable IDs - 1 =20 # Leaf 19H # Intel key locker =20 - 0x19, 0, eax, 0, kl_cpl0_only , CPL0-onl= y key Locker restriction + 0x19, 0, eax, 0, kl_cpl0_only , CPL0-onl= y key locker restriction 0x19, 0, eax, 1, kl_no_encrypt , No-encry= pt key locker restriction 0x19, 0, eax, 2, kl_no_decrypt , No-decry= pt key locker restriction 0x19, 0, ebx, 0, aes_keylocker , AES key = locker instructions @@ -546,7 +546,7 @@ # Intel LBR (Last Branch Record) =20 0x1c, 0, eax, 7:0, lbr_depth_mask , Max LBR = stack depth bitmask - 0x1c, 0, eax, 30, lbr_deep_c_reset , LBRs may= be cleared on MWAIT C-state > C1 + 0x1c, 0, eax, 30, lbr_deep_c_reset , LBRs may= be cleared on MWAIT C-state > C1 0x1c, 0, eax, 31, lbr_ip_is_lip , LBR IP c= ontain Last IP (otherwise effective IP) 0x1c, 0, ebx, 0, lbr_cpl , CPL filt= ering 0x1c, 0, ebx, 1, lbr_branch_filter , Branch f= iltering @@ -591,8 +591,8 @@ # Intel TD (Trust Domain) =20 0x21, 0, ebx, 31:0, tdx_vendorid_0 , TDX vend= or ID string bytes 0 - 3 - 0x21, 0, ecx, 31:0, tdx_vendorid_2 , CPU vend= or ID string bytes 8 - 11 - 0x21, 0, edx, 31:0, tdx_vendorid_1 , CPU vend= or ID string bytes 4 - 7 + 0x21, 0, ecx, 31:0, tdx_vendorid_2 , TDX vend= or ID string bytes 8 - 11 + 0x21, 0, edx, 31:0, tdx_vendorid_1 , TDX vend= or ID string bytes 4 - 7 =20 # Leaf 23H # Intel Architectural Performance Monitoring Extended (ArchPerfmonExt) @@ -857,7 +857,7 @@ 0x8000000a, 0, edx, 1, lbrv , LBR virt= ualization 0x8000000a, 0, edx, 2, svm_lock , SVM lock 0x8000000a, 0, edx, 3, nrip_save , NRIP sav= e support on #VMEXIT -0x8000000a, 0, edx, 4, tsc_scale , MSR base= d TSC rate control +0x8000000a, 0, edx, 4, tsc_scale , MSR-base= d TSC rate control 0x8000000a, 0, edx, 5, vmcb_clean , VMCB cle= an bits support 0x8000000a, 0, edx, 6, flushbyasid , Flush by= ASID + Extended VMCB TLB_Control 0x8000000a, 0, edx, 7, decodeassists , Decode A= ssists support @@ -895,7 +895,7 @@ =20 0x8000001a, 0, eax, 0, fp_128 , Internal= FP/SIMD exec data path is 128-bits wide 0x8000001a, 0, eax, 1, movu_preferred , SSE: MOV= U* better than MOVL*/MOVH* -0x8000001a, 0, eax, 2, fp_256 , internal= FP/SSE exec data path is 256-bits wide +0x8000001a, 0, eax, 2, fp_256 , Internal= FP/SSE exec data path is 256-bits wide =20 # Leaf 8000001BH # AMD IBS (Instruction-Based Sampling) @@ -917,7 +917,7 @@ # AMD LWP (Lightweight Profiling) =20 0x8000001c, 0, eax, 0, os_lwp_avail , OS: LWP = is available to application programs -0x8000001c, 0, eax, 1, os_lpwval , OS: LWPV= AL instruction +0x8000001c, 0, eax, 1, os_lwpval , OS: LWPV= AL instruction 0x8000001c, 0, eax, 2, os_lwp_ire , OS: Inst= ructions Retired Event 0x8000001c, 0, eax, 3, os_lwp_bre , OS: Bran= ch Retired Event 0x8000001c, 0, eax, 4, os_lwp_dme , OS: Dcac= he Miss Event @@ -934,13 +934,13 @@ 0x8000001c, 0, ecx, 5, lwp_data_addr , Cache mi= ss events report data cache address 0x8000001c, 0, ecx, 8:6, lwp_latency_rnd , Cache la= tency rounding amount 0x8000001c, 0, ecx, 15:9, lwp_version , LWP vers= ion -0x8000001c, 0, ecx, 23:16, lwp_buf_min_sz , LWP even= t ring buffer min size, 32 event records units +0x8000001c, 0, ecx, 23:16, lwp_buf_min_sz , LWP even= t ring buffer min size, 32 event record units 0x8000001c, 0, ecx, 28, lwp_branch_predict , Branches= Retired events can be filtered 0x8000001c, 0, ecx, 29, lwp_ip_filtering , IP filte= ring (IPI, IPF, BaseIP, and LimitIP @ LWPCP) 0x8000001c, 0, ecx, 30, lwp_cache_levels , Cache-re= lated events: filter by cache level 0x8000001c, 0, ecx, 31, lwp_cache_latency , Cache-re= lated events: filter by latency 0x8000001c, 0, edx, 0, hw_lwp_avail , HW: LWP = available -0x8000001c, 0, edx, 1, hw_lpwval , HW: LWPV= AL available +0x8000001c, 0, edx, 1, hw_lwpval , HW: LWPV= AL available 0x8000001c, 0, edx, 2, hw_lwp_ire , HW: Inst= ructions Retired Event 0x8000001c, 0, edx, 3, hw_lwp_bre , HW: Bran= ch Retired Event 0x8000001c, 0, edx, 4, hw_lwp_dme , HW: Dcac= he Miss Event @@ -1040,8 +1040,8 @@ 0x80000021, 0, eax, 7, upper_addr_ignore , EFER MSR= Upper Address Ignore 0x80000021, 0, eax, 8, autoibrs , EFER MSR= Automatic IBRS 0x80000021, 0, eax, 9, no_smm_ctl_msr , SMM_CTL = MSR not available -0x80000021, 0, eax, 10, fsrs , Fast Sho= rt Rep STOSB -0x80000021, 0, eax, 11, fsrc , Fast Sho= rt Rep CMPSB +0x80000021, 0, eax, 10, fsrs , Fast Sho= rt REP STOSB +0x80000021, 0, eax, 11, fsrc , Fast Sho= rt REP CMPSB 0x80000021, 0, eax, 13, prefetch_ctl_msr , Prefetch= control MSR 0x80000021, 0, eax, 16, opcode_reclaim , Reserves= opcode space 0x80000021, 0, eax, 17, user_cpuid_disable , #GP when= executing CPUID at CPL > 0 @@ -1093,9 +1093,9 @@ # Maximum Transmeta leaf + CPU vendor string =20 0x80860000, 0, eax, 31:0, max_tra_leaf , Maximum = Transmeta leaf -0x80860000, 0, ebx, 31:0, cpu_vendorid_0 , Transmet= a Vendor ID string bytes 0 - 3 -0x80860000, 0, ecx, 31:0, cpu_vendorid_2 , Transmet= a Vendor ID string bytes 8 - 11 -0x80860000, 0, edx, 31:0, cpu_vendorid_1 , Transmet= a Vendor ID string bytes 4 - 7 +0x80860000, 0, ebx, 31:0, cpu_vendorid_0 , Transmet= a vendor ID string bytes 0 - 3 +0x80860000, 0, ecx, 31:0, cpu_vendorid_2 , Transmet= a vendor ID string bytes 8 - 11 +0x80860000, 0, edx, 31:0, cpu_vendorid_1 , Transmet= a vendor ID string bytes 4 - 7 =20 # Leaf 80860001H # Transmeta extended CPU features --=20 2.54.0