lib/igt_power: Ensure RAPL reads on correct CPU
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew
- v12 patches 1 replySuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | lib/igt_power: Ensure RAPL reads on correct CPUlib/ lib/ lib/ +1 more | +67 | 0 replies | |
| 2/2 | HAX: Add toggle-gt-c6 test to fast feedback listtests/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] lib/igt_power: Ensure RAPL reads on correct CPU
Adapt to kernel changes that require RAPL MSR reads to occur on the same CPU where the perf event was opened. Pin the thread to the target CPU before reading, then restore original affinity.
This fixes compatibility with kernel changes which enforces CPU matching for MSR-based RAPL operations.
KMD changes: https://gitlab.freedesktop.org/drm/tip/-/commit/1d6c915819f5b805c35487b6ce5923e31a28266b
v2: Cosmetic changes (Kamil)
Add description & debug info (Kamil)
Sk Anirban (2):
lib/igt_power: Ensure RAPL reads on correct CPU
HAX: Add toggle-gt-c6 test to fast feedback list
lib/igt_perf.c | 43 ++++++++++++++++++++++++ lib/igt_perf.h | 1 + lib/igt_power.c | 24 +++++++++++-- lib/igt_power.h | 1 + tests/intel-ci/xe.fast-feedback.testlist | 1 + 5 files changed, 68 insertions(+), 2 deletions(-)
Signature · 1 line
2.43.0