Skip to content

selftests/resctrl: Fix resctrl selftests issues on aarch64

Richard Cheng linux-kselftest lkml 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest posting 2/22 patches 20 repliesIn review
  2. v5 posting 1/21 patch 2 repliesSuperseded
  3. v43 patches 6 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v33 patches7 repliesSuperseded
v23 patches2 repliesSuperseded
v11 patch1 replySuperseded

Changes in v5 from the cover letter

- Drop v4 patch 1/3, which was applied to linux-kselftest/next.
- Rebase the remaining patches onto linux-kselftest/next and renumber v4 patches 2/3 and 3/3 as patches 1/2 and 2/2. No code changes to the remaining patches.

Patches in v5 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2selftests/resctrl: Implement cl_flush() and sb() for aarch64tools/testing/selftests/resctrl/fill_buf.c+11 -016 replies
2/2selftests/resctrl: Recognise aarch64 as a vendor for L3_NONCONT_CATtools/testing/selftests/resctrl/cat_test.c tools/testing/selftests/resctrl/resctrl.h tools/testing/selftests/resctrl/resctrl_tests.c+29 -23 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchIlpo JärvinenReinette ChatreBen Horgan
1/2
2/2R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/2] selftests/resctrl: Fix resctrl selftests issues on aarch64

This series fixes issues in the resctrl selftests on aarch64, where they currently misreport failures.

Patch 1 adds aarch64 implementations of cl_flush() and sb() in fill_buf.c so cache flushes are no longer silent no-ops.

Patch 2 teaches detect_vendor() about aarch64 (which exposes no vendor_id in /proc/cpuinfo) and lets arch_supports_noncont_cat() return true for ARM, fixing spurious L3_NONCONT_CAT failures.

Changes since v4:
- Drop v4 patch 1/3, which was applied to linux-kselftest/next.
- Rebase the remaining patches onto linux-kselftest/next and renumber v4 patches 2/3 and 3/3 as patches 1/2 and 2/2. No code changes to the remaining patches.

Richard Cheng (2):
selftests/resctrl: Implement cl_flush() and sb() for aarch64 selftests/resctrl: Recognise aarch64 as a vendor for L3_NONCONT_CAT

 tools/testing/selftests/resctrl/cat_test.c    |  9 ++++++--
 tools/testing/selftests/resctrl/fill_buf.c    | 11 ++++++++++
 tools/testing/selftests/resctrl/resctrl.h     |  1 +
 .../testing/selftests/resctrl/resctrl_tests.c | 21 +++++++++++++++++++
 4 files changed, 40 insertions(+), 2 deletions(-)

base-commit: 30af56a227e27b892d34bc44c23298b5274913e3

Signature · 1 line
2.43.0