Skip to content

Commit 160ae99

Browse files
Ravi Bangoriaacmel
authored andcommitted
perf amd ibs: Sync arch/x86/include/asm/amd-ibs.h header with the kernel
Although new details added into this header is currently used by kernel only, tools copy needs to be in sync with kernel file to avoid tools/perf/check-headers.sh warnings. Signed-off-by: Ravi Bangoria <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ali Saidi <[email protected]> Cc: Ananth Narayan <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Dave Hansen <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Joe Mario <[email protected]> Cc: Kan Liang <[email protected]> Cc: Kim Phillips <[email protected]> Cc: Leo Yan <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Sandipan Das <[email protected]> Cc: Santosh Shukla <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent b7ddd38 commit 160ae99

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

tools/arch/x86/include/asm/amd-ibs.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@
66

77
#include "msr-index.h"
88

9+
/* IBS_OP_DATA2 DataSrc */
10+
#define IBS_DATA_SRC_LOC_CACHE 2
11+
#define IBS_DATA_SRC_DRAM 3
12+
#define IBS_DATA_SRC_REM_CACHE 4
13+
#define IBS_DATA_SRC_IO 7
14+
15+
/* IBS_OP_DATA2 DataSrc Extension */
16+
#define IBS_DATA_SRC_EXT_LOC_CACHE 1
17+
#define IBS_DATA_SRC_EXT_NEAR_CCX_CACHE 2
18+
#define IBS_DATA_SRC_EXT_DRAM 3
19+
#define IBS_DATA_SRC_EXT_FAR_CCX_CACHE 5
20+
#define IBS_DATA_SRC_EXT_PMEM 6
21+
#define IBS_DATA_SRC_EXT_IO 7
22+
#define IBS_DATA_SRC_EXT_EXT_MEM 8
23+
#define IBS_DATA_SRC_EXT_PEER_AGENT_MEM 12
24+
925
/*
1026
* IBS Hardware MSRs
1127
*/

0 commit comments

Comments
 (0)