pmc_core: cover the PkgC LTR blocker counters
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest3 patches 1 replyIn review
- v53 patches 5 repliesSuperseded
- v43 patches 0 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 3 patches | 1 reply | Superseded | |
| v2 | 3 patches | 1 reply | Superseded | |
| v1 | 3 patches | 5 replies | Superseded |
Changes in v6 from the cover letter
- Both tests set .needs_root themselves and drop .tags.
- New SAFE_SCHED_GETAFFINITY() and SAFE_SCHED_SETAFFINITY().
- pkgc_ltr_blocker_show: strtoull() end pointer check, no global fails counter, count check moved into second_sample_differs().
- ltr_counter: idle phase bounded by .runtime, TCONF in a VM or with a restricted affinity mask, two burst periods of silence required.
- Dropped the claim that the tests catch a wrong telemetry offset.
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | pmc_core: add test for pkgc_ltr_blocker_showruntest/ testcases/ testcases/ | +293 | 1 reply | |
| 2/3 | lib: add SAFE_SCHED_GETAFFINITY() and SAFE_SCHED_SETAFFINITY()doc/ include/ | +87 | 0 replies | |
| 3/3 | pmc_core: add ltr_counter testruntest/ testcases/ testcases/ | +365 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Claude Fable 5.2 |
|---|---|
| 1/3 | Co-Authored-By |
| 2/3 | Co-Authored-By |
| 3/3 | Co-Authored-By |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [LTP] [PATCH v6 0/3] pmc_core: cover the PkgC LTR blocker counters
Tests for the pkgc_ltr_blocker_show debugfs file of intel_pmc_core (kernel v7.2). Depends on "lib: add tst_test.needs_debugfs flag" (v5 1/3) with the implied needs_root removed, which is not resent here.
Tested on Nova Lake-S running 7.4.0-rc1.
v5 -> v6:
- Both tests set .needs_root themselves and drop .tags.
- New SAFE_SCHED_GETAFFINITY() and SAFE_SCHED_SETAFFINITY().
- pkgc_ltr_blocker_show: strtoull() end pointer check, no global fails counter, count check moved into second_sample_differs().
- ltr_counter: idle phase bounded by .runtime, TCONF in a VM or with a restricted affinity mask, two burst periods of silence required.
- Dropped the claim that the tests catch a wrong telemetry offset.
Piotr Kubaj (3):
pmc_core: add test for pkgc_ltr_blocker_show
lib: add SAFE_SCHED_GETAFFINITY() and SAFE_SCHED_SETAFFINITY()
pmc_core: add ltr_counter test
doc/developers/api_c_tests.rst | 4 + include/tst_safe_sched.h | 83 ++++ runtest/power_management_tests | 2 + testcases/kernel/power_management/.gitignore | 2 + .../kernel/power_management/ltr_counter.c | 363 ++++++++++++++++++ .../power_management/pkgc_ltr_blocker_show.c | 291 ++++++++++++++ 6 files changed, 745 insertions(+) create mode 100644 include/tst_safe_sched.h create mode 100644 testcases/kernel/power_management/ltr_counter.c create mode 100644 testcases/kernel/power_management/pkgc_ltr_blocker_show.c
base-commit: 0e2b5ce4294ec8642853688ef47c35eb0e35da08
prerequisite-patch-id: 1d5717365b9b15d4bd8f5e80d78a0498f8ef70c5
Signature · 13 lines
2.47.3 --------------------------------------------------------------------- Intel Technology Poland sp. z o.o. ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN. Spolka oswiadcza, ze posiada status duzego przedsiebiorcy w rozumieniu ustawy z dnia 8 marca 2013 r. o przeciwdzialaniu nadmiernym opoznieniom w transakcjach handlowych. Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek przegladanie lub rozpowszechnianie jest zabronione. This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited. -- Mailing list info: https://lists.linux.it/listinfo/ltp