Add usercopy fixup accuracy tests
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | kselftest: arm64: Add usercopy fixup accuracy testsarch/ arch/ arch/ +5 more | +295 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] Add usercopy fixup accuracy tests
This adds a selftest subtarget that can be used to verify the accuracy of the usercopy fixup routines.
The patch contains a test module that integrates with the selftest framework and can be specified as a subtarget for the arm64 selftest target. It can be invoked through the same method as the other subtargets, provided that test_usercopy_fixup is installed prior to the run. This enables debugging of modifications made to the usercopy fixup routines, and/or provides a method of verification across system configurations.
Comments are welcome regarding the suitability of this location for these tests, and any other suggestions would also be greatly appreciated.
This was used in conjunction with lib/test_user_copy.c to help verify the following usercopy fixup patches:
https://lore.kernel.org/lkml/[email protected]/
Thanks in advance,
Oli
Oliver Swede (1):
kselftest: arm64: Add usercopy fixup accuracy tests
arch/arm64/Kconfig.debug | 7 + arch/arm64/lib/Makefile | 2 + arch/arm64/lib/test_usercopy_fixup.c | 276 ++++++++++++++++++ tools/testing/selftests/arm64/Makefile | 2 +- tools/testing/selftests/arm64/README | 2 +- .../testing/selftests/arm64/usercopy/Makefile | 3 + tools/testing/selftests/arm64/usercopy/config | 1 + .../arm64/usercopy/run_fixup_tests.sh | 4 + 8 files changed, 295 insertions(+), 2 deletions(-) create mode 100644 arch/arm64/lib/test_usercopy_fixup.c create mode 100644 tools/testing/selftests/arm64/usercopy/Makefile create mode 100644 tools/testing/selftests/arm64/usercopy/config create mode 100755 tools/testing/selftests/arm64/usercopy/run_fixup_tests.sh
Signature · 7 lines
2.17.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel