Skip to contentSkip to conversation

perf/x86/amd/ibs: Fix comment typo in ibs_op_data

PATCH Superseded [email protected] 3 participants 6 messages Jan 13 – Mar 6 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf/x86/amd/ibs: Fix comment typo in ibs_op_data

The comment for tag_to_ret_ctr in ibs_op_data says "15-31" but it should be "16-31".

This just fixes the misleading comment. No functional changes.

---
 arch/x86/include/asm/amd/ibs.h       | 2 +-
 tools/arch/x86/include/asm/amd/ibs.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/include/asm/amd/ibs.h +1 -1
index 3ee5903982c2..7d44881d1a28 100644
@@ -77,7 +77,7 @@ union ibs_op_data {
 	__u64 val;
 	struct {
 		__u64	comp_to_ret_ctr:16,	/* 0-15: op completion to retire count */
-			tag_to_ret_ctr:16,	/* 15-31: op tag to retire count */
+			tag_to_ret_ctr:16,	/* 16-31: op tag to retire count */
 			reserved1:2,		/* 32-33: reserved */
 			op_return:1,		/* 34: return op */
 			op_brn_taken:1,		/* 35: taken branch op */
tools/arch/x86/include/asm/amd/ibs.h +1 -1
index cbce54fec7b9..25c00000f698 100644
@@ -77,7 +77,7 @@ union ibs_op_data {
 	__u64 val;
 	struct {
 		__u64	comp_to_ret_ctr:16,	/* 0-15: op completion to retire count */
-			tag_to_ret_ctr:16,	/* 15-31: op tag to retire count */
+			tag_to_ret_ctr:16,	/* 16-31: op tag to retire count */
 			reserved1:2,		/* 32-33: reserved */
 			op_return:1,		/* 34: return op */
 			op_brn_taken:1,		/* 35: taken branch op */
Signature · 1 line
2.52.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · On Tue, Jan 13, 2026 at 08:50:04PM +0800, [email protected] wrote:

The comment for tag_to_ret_ctr in ibs_op_data says "15-31" but it should be "16-31".

This just fixes the misleading comment. No functional changes.

s/This just fixes/Fix/

Quoted 5 lines
---
 arch/x86/include/asm/amd/ibs.h       | 2 +-
 tools/arch/x86/include/asm/amd/ibs.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 4 lines
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
#2 lore raw

PATCH v2 1/1 perf/x86/amd/ibs: Fix comment typo in ibs_op_data

In reply to [email protected]

The comment for tag_to_ret_ctr in ibs_op_data says "15-31" but it should be "16-31".

Fix the misleading comment. No functional changes.

---
v1 -> v2
I took Borislav's advice to fix commit message.

v1

 arch/x86/include/asm/amd/ibs.h       | 2 +-
 tools/arch/x86/include/asm/amd/ibs.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/include/asm/amd/ibs.h +1 -1
index 3ee5903982c2..7d44881d1a28 100644
@@ -77,7 +77,7 @@ union ibs_op_data {
 	__u64 val;
 	struct {
 		__u64	comp_to_ret_ctr:16,	/* 0-15: op completion to retire count */
-			tag_to_ret_ctr:16,	/* 15-31: op tag to retire count */
+			tag_to_ret_ctr:16,	/* 16-31: op tag to retire count */
 			reserved1:2,		/* 32-33: reserved */
 			op_return:1,		/* 34: return op */
 			op_brn_taken:1,		/* 35: taken branch op */
tools/arch/x86/include/asm/amd/ibs.h +1 -1
index cbce54fec7b9..25c00000f698 100644
@@ -77,7 +77,7 @@ union ibs_op_data {
 	__u64 val;
 	struct {
 		__u64	comp_to_ret_ctr:16,	/* 0-15: op completion to retire count */
-			tag_to_ret_ctr:16,	/* 15-31: op tag to retire count */
+			tag_to_ret_ctr:16,	/* 16-31: op tag to retire count */
 			reserved1:2,		/* 32-33: reserved */
 			op_return:1,		/* 34: return op */
 			op_brn_taken:1,		/* 35: taken branch op */
Signature · 1 line
2.52.0
#3 lore raw

Hi boris,

Gentle ping.
Let me know if you need any changes.

Thanks.

#4 lore raw
In reply to [email protected]
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:     f78f6b5bb82b6c430d649574fc85441f1a3c998e
Gitweb:        https://git.kernel.org/tip/f78f6b5bb82b6c430d649574fc85441f1a3c998e
Author:        [email protected] <[email protected]>
AuthorDate:    Tue, 13 Jan 2026 22:18:30 +08:00
Committer:     Peter Zijlstra <[email protected]>
CommitterDate: Wed, 04 Mar 2026 17:06:13 +01:00

perf/x86/amd/ibs: Fix comment typo in ibs_op_data

The comment for tag_to_ret_ctr in ibs_op_data says "15-31" but it should be "16-31".

Fix the misleading comment. No functional changes.

---
 arch/x86/include/asm/amd/ibs.h       | 2 +-
 tools/arch/x86/include/asm/amd/ibs.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/include/asm/amd/ibs.h +1 -1
index 4eac36c..68e24a1 100644
@@ -77,7 +77,7 @@ union ibs_op_data {
 	__u64 val;
 	struct {
 		__u64	comp_to_ret_ctr:16,	/* 0-15: op completion to retire count */
-			tag_to_ret_ctr:16,	/* 15-31: op tag to retire count */
+			tag_to_ret_ctr:16,	/* 16-31: op tag to retire count */
 			reserved1:2,		/* 32-33: reserved */
 			op_return:1,		/* 34: return op */
 			op_brn_taken:1,		/* 35: taken branch op */
tools/arch/x86/include/asm/amd/ibs.h +1 -1
index cbce54f..25c0000 100644
@@ -77,7 +77,7 @@ union ibs_op_data {
 	__u64 val;
 	struct {
 		__u64	comp_to_ret_ctr:16,	/* 0-15: op completion to retire count */
-			tag_to_ret_ctr:16,	/* 15-31: op tag to retire count */
+			tag_to_ret_ctr:16,	/* 16-31: op tag to retire count */
 			reserved1:2,		/* 32-33: reserved */
 			op_return:1,		/* 34: return op */
 			op_brn_taken:1,		/* 35: taken branch op */
merge bot Applied
#5 lore raw
In reply to [email protected]
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:     73cee0aad1ee2479fde2c9b753a1b66acb7d1b9a
Gitweb:        https://git.kernel.org/tip/73cee0aad1ee2479fde2c9b753a1b66acb7d1b9a
Author:        Yen-Hsiang Hsu <[email protected]>
AuthorDate:    Tue, 13 Jan 2026 22:18:30 +08:00
Committer:     Peter Zijlstra <[email protected]>
CommitterDate: Fri, 06 Mar 2026 11:37:59 +01:00

perf/x86/amd/ibs: Fix comment typo in ibs_op_data

The comment for tag_to_ret_ctr in ibs_op_data says "15-31" but it should be "16-31".

Fix the misleading comment. No functional changes.

---
 arch/x86/include/asm/amd/ibs.h       | 2 +-
 tools/arch/x86/include/asm/amd/ibs.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/include/asm/amd/ibs.h +1 -1
index 4eac36c..68e24a1 100644
@@ -77,7 +77,7 @@ union ibs_op_data {
 	__u64 val;
 	struct {
 		__u64	comp_to_ret_ctr:16,	/* 0-15: op completion to retire count */
-			tag_to_ret_ctr:16,	/* 15-31: op tag to retire count */
+			tag_to_ret_ctr:16,	/* 16-31: op tag to retire count */
 			reserved1:2,		/* 32-33: reserved */
 			op_return:1,		/* 34: return op */
 			op_brn_taken:1,		/* 35: taken branch op */
tools/arch/x86/include/asm/amd/ibs.h +1 -1
index cbce54f..25c0000 100644
@@ -77,7 +77,7 @@ union ibs_op_data {
 	__u64 val;
 	struct {
 		__u64	comp_to_ret_ctr:16,	/* 0-15: op completion to retire count */
-			tag_to_ret_ctr:16,	/* 15-31: op tag to retire count */
+			tag_to_ret_ctr:16,	/* 16-31: op tag to retire count */
 			reserved1:2,		/* 32-33: reserved */
 			op_return:1,		/* 34: return op */
 			op_brn_taken:1,		/* 35: taken branch op */