Revert "perf powerpc: Add encodings to represent data based on newer composite PERF_MEM_LVLNUM* fields"

This was in a patchkit mixing up kernel with tools/ parts and I
mistakenly got it merged in the perf tools tree, revert it, it'll go via
the PowerPC kernel tree.

This reverts commit 0ebce3d65f.

Cc: kajoljain <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
This commit is contained in:
Arnaldo Carvalho de Melo committed 2022-01-12 14:28:21 -03:00
1 parent 62942e9fda
commit 8de78328f0
1 file changed
+3 -3
+3 -3
View File
@@ -220,13 +220,13 @@ static inline u64 isa207_find_source(u64 idx, u32 sub_idx)
/* Nothing to do */
break;
case 1:
ret = PH(LVL, L1) | LEVEL(L1) | P(SNOOP, HIT);
ret = PH(LVL, L1);
break;
case 2:
ret = PH(LVL, L2) | LEVEL(L2) | P(SNOOP, HIT);
ret = PH(LVL, L2);
break;
case 3:
ret = PH(LVL, L3) | LEVEL(L3) | P(SNOOP, HIT);
ret = PH(LVL, L3);
break;
case 4:
if (cpu_has_feature(CPU_FTR_ARCH_31)) {