Commit 7d35988
Peter Zijlstra
perf/x86/core: Set pebs_capable and PMU_FL_PEBS_ALL for the Baseline
The SDM explicitly states that PEBS Baseline implies Extended PEBS.
For cpu model forward compatibility (e.g. on ICX, SPR, ADL), it's
safe to stop doing FMS table thing such as setting pebs_capable and
PMU_FL_PEBS_ALL since it's already set in the intel_ds_init().
The Goldmont Plus is the only platform which supports extended PEBS
but doesn't have Baseline. Keep the status quo.
Reported-by: Like Xu <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Kan Liang <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]1 parent 32ba156 commit 7d35988
2 files changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6291 | 6291 | | |
6292 | 6292 | | |
6293 | 6293 | | |
6294 | | - | |
6295 | 6294 | | |
6296 | 6295 | | |
6297 | | - | |
6298 | 6296 | | |
6299 | 6297 | | |
6300 | 6298 | | |
| |||
6337 | 6335 | | |
6338 | 6336 | | |
6339 | 6337 | | |
6340 | | - | |
6341 | 6338 | | |
6342 | 6339 | | |
6343 | | - | |
6344 | 6340 | | |
6345 | 6341 | | |
6346 | 6342 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2262 | 2262 | | |
2263 | 2263 | | |
2264 | 2264 | | |
| 2265 | + | |
2265 | 2266 | | |
2266 | 2267 | | |
2267 | 2268 | | |
| |||
0 commit comments