add more test coverage to MTE kselftests
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest6 patches 7 repliesIn review
- v26 patches 8 repliesSuperseded
- v17 patches 3 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | kselftest/arm64: mte: user_mem: introduce tag_offset and tag_lentools/ | +11 | 1 reply | |
| 2/6 | kselftest/arm64: mte: user_mem: rework error handlingtools/ | +15 | 1 reply | |
| 3/6 | kselftest/arm64: mte: user_mem: check different offsets and sizestools/ | +27 | 1 reply | |
| 4/6 | kselftest/arm64: mte: user_mem: add test type enumtools/ | +26 | 1 reply | |
| 5/6 | kselftest/arm64: mte: user_mem: add more test typestools/ | +21 | 1 reply | |
| 6/6 | kselftest/arm64: mte: user_mem: test a wider range of valuestools/ | +83 | 1 reply |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Mark Brown | Shuah Khan | Catalin Marinas |
|---|---|---|---|
| 1/6 | R-b T-b | R-b | R-b |
| 2/6 | R-b T-b | R-b | R-b |
| 3/6 | R-b T-b | R-b | R-b |
| 4/6 | R-b T-b | R-b | R-b |
| 5/6 | R-b T-b | R-b | R-b |
| 6/6 | R-b T-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.
Cover letter [PATCH v3 0/6] add more test coverage to MTE kselftests
This is a series which refactors and then adds some extra tests for MTE in the kselftest framework.
The issue that these tests are for was was fixed by Robin in 295cf156231c ("arm64: Avoid premature usercopy failure") and based on a simplified example by Catalin [1].
They test some combinations of pointer offsets, sizes and syscalls to exercise different paths in the kernel.
Changes since v2 [3]:
- simplified error handling further
- added more detailed commit messages
- add reviewed-by and tested-by
Changes since v1 [2]:
- add a page_sz to the tests, for non-4K kernels
- use loops to generate more tests and avoid long lines
Thanks,
Joey
[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/linux-arm-kernel/[email protected]/
[3] https://lore.kernel.org/linux-arm-kernel/[email protected]/T/
Joey Gouly (6):
kselftest/arm64: mte: user_mem: introduce tag_offset and tag_len kselftest/arm64: mte: user_mem: rework error handling kselftest/arm64: mte: user_mem: check different offsets and sizes kselftest/arm64: mte: user_mem: add test type enum kselftest/arm64: mte: user_mem: add more test types kselftest/arm64: mte: user_mem: test a wider range of values
.../selftests/arm64/mte/check_user_mem.c | 193 +++++++++++++++--- 1 file changed, 160 insertions(+), 33 deletions(-)
Signature · 1 line
2.17.1