Commit a6742cb
perf/x86/intel: Fix the FRONTEND encoding on GNR and MTL
When counting a FRONTEND event, the MSR_PEBS_FRONTEND is not correctly
set on GNR and MTL p-core.
The umask value for the FRONTEND events is changed on GNR and MTL. The
new umask is missing in the extra_regs[] table.
Add a dedicated intel_gnr_extra_regs[] for GNR and MTL p-core.
Fixes: bc4000f ("perf/x86/intel: Add Granite Rapids")
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20230615173242.3726364-1-kan.liang@linux.intel.com1 parent b50f26a commit a6742cb
1 file changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
352 | 362 | | |
353 | 363 | | |
354 | 364 | | |
| |||
6496 | 6506 | | |
6497 | 6507 | | |
6498 | 6508 | | |
| 6509 | + | |
6499 | 6510 | | |
6500 | 6511 | | |
6501 | 6512 | | |
| |||
6506 | 6517 | | |
6507 | 6518 | | |
6508 | 6519 | | |
6509 | | - | |
| 6520 | + | |
| 6521 | + | |
6510 | 6522 | | |
6511 | 6523 | | |
6512 | 6524 | | |
| |||
6650 | 6662 | | |
6651 | 6663 | | |
6652 | 6664 | | |
| 6665 | + | |
6653 | 6666 | | |
6654 | 6667 | | |
6655 | 6668 | | |
| |||
0 commit comments