Skip to contentSkip to conversation

x86/ibs: Fix typo in dc_l2tlb_miss comment

PATCH Applied Xiang-Bin Shi 2 participants 2 messages Jan 23 – Feb 2 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/ibs: Fix typo in dc_l2tlb_miss comment

The comment for dc_l2tlb_miss incorrectly describes it as a "hit". This contradicts the field name and the actual bit definition.

Fix the comment to correctly describe it as a "miss".

---
 arch/x86/include/asm/amd/ibs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/include/asm/amd/ibs.h +1 -1
index 3ee5903982c2..fcc8a5abe54e 100644
@@ -110,7 +110,7 @@ union ibs_op_data3 {
 		__u64	ld_op:1,			/* 0: load op */
 			st_op:1,			/* 1: store op */
 			dc_l1tlb_miss:1,		/* 2: data cache L1TLB miss */
-			dc_l2tlb_miss:1,		/* 3: data cache L2TLB hit in 2M page */
+			dc_l2tlb_miss:1,		/* 3: data cache L2TLB miss in 2M page */
 			dc_l1tlb_hit_2m:1,		/* 4: data cache L1TLB hit in 2M page */
 			dc_l1tlb_hit_1g:1,		/* 5: data cache L1TLB hit in 1G page */
 			dc_l2tlb_hit_2m:1,		/* 6: data cache L2TLB hit in 2M page */
Signature · 1 line
2.34.1
merge bot Applied
#1 lore raw
The following commit has been merged into the perf/core branch of tip:

The following commit has been merged into the perf/core branch of tip:

Commit-ID:     171efc70097a9f5f207461bed03478a1b0a3dfa6
Gitweb:        https://git.kernel.org/tip/171efc70097a9f5f207461bed03478a1b0a3dfa6
Author:        Xiang-Bin Shi <[email protected]>
AuthorDate:    Fri, 23 Jan 2026 15:57:19 +08:00
Committer:     Peter Zijlstra <[email protected]>
CommitterDate: Mon, 02 Feb 2026 22:01:07 +01:00

x86/ibs: Fix typo in dc_l2tlb_miss comment

The comment for dc_l2tlb_miss incorrectly describes it as a "hit". This contradicts the field name and the actual bit definition.

Fix the comment to correctly describe it as a "miss".

---
 arch/x86/include/asm/amd/ibs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/include/asm/amd/ibs.h +1 -1
index 3ee5903..fcc8a5a 100644
@@ -110,7 +110,7 @@ union ibs_op_data3 {
 		__u64	ld_op:1,			/* 0: load op */
 			st_op:1,			/* 1: store op */
 			dc_l1tlb_miss:1,		/* 2: data cache L1TLB miss */
-			dc_l2tlb_miss:1,		/* 3: data cache L2TLB hit in 2M page */
+			dc_l2tlb_miss:1,		/* 3: data cache L2TLB miss in 2M page */
 			dc_l1tlb_hit_2m:1,		/* 4: data cache L1TLB hit in 2M page */
 			dc_l1tlb_hit_1g:1,		/* 5: data cache L1TLB hit in 1G page */
 			dc_l2tlb_hit_2m:1,		/* 6: data cache L2TLB hit in 2M page */