diff options
| author | Dapeng Mi <dapeng1.mi@linux.intel.com> | 2026-03-11 15:52:00 +0800 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-03-12 11:29:16 +0100 |
| commit | e7fcc54524f04e42641de99028edd9c69dc19f8c (patch) | |
| tree | 535e27eb9d4c5f9757240b1aa3e810428de58d8b /Documentation/console/git@git.tavy.me:linux.git | |
| parent | 1d07bbd7ea36ea0b8dfa8068dbe67eb3a32d9590 (diff) | |
perf/x86/intel: Fix OMR snoop information parsing issues
When omr_source is 0x2, the omr_snoop (bit[6]) and omr_promoted (bit[7])
fields are combined to represent the snoop information. However, the
omr_promoted field was not left-shifted by 1 bit, resulting in incorrect
snoop information.
Besides, the snoop information parsing is not accurate for some OMR
sources, like the snoop information should be SNOOP_NONE for these memory
access (omr_source >= 7) instead of SNOOP_HIT.
Fix these issues.
Closes: https://lore.kernel.org/all/CAP-5=fW4zLWFw1v38zCzB9-cseNSTTCtup=p2SDxZq7dPayVww@mail.gmail.com/
Fixes: d2bdcde9626c ("perf/x86/intel: Add support for PEBS memory auxiliary info field in DMR")
Reported-by: Ian Rogers <irogers@google.com>
Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Ian Rogers <irogers@google.com>
Link: https://patch.msgid.link/20260311075201.2951073-1-dapeng1.mi@linux.intel.com
Diffstat (limited to 'Documentation/console/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
