mbox series

[v2,0/4] kselftest/arm64: Miscelaneous MTE test updates

Message ID 20220419103243.24774-1-broonie@kernel.org
Headers show
Series kselftest/arm64: Miscelaneous MTE test updates | expand

Message

Mark Brown April 19, 2022, 10:32 a.m. UTC
This series is just a set of minor tweaks and improvements for the MTE
tests that I did while working on the asymmetric mode support for
userspace which seemed like they might be worth keeping even though the
prctl() for asymmetric mode got removed.

v2:
 - Rebase onto v5.18-rc3

Mark Brown (4):
  kselftest/arm64: Handle more kselftest result codes in MTE helpers
  kselftest/arm64: Log unexpected asynchronous MTE faults
  kselftest/arm64: Refactor parameter checking in mte_switch_mode()
  kselftest/arm64: Add simple test for MTE prctl

 tools/testing/selftests/arm64/mte/.gitignore  |   1 +
 .../testing/selftests/arm64/mte/check_prctl.c | 119 ++++++++++++++++++
 .../selftests/arm64/mte/mte_common_util.c     |  19 ++-
 .../selftests/arm64/mte/mte_common_util.h     |  15 ++-
 4 files changed, 149 insertions(+), 5 deletions(-)
 create mode 100644 tools/testing/selftests/arm64/mte/check_prctl.c


base-commit: b2d229d4ddb17db541098b83524d901257e93845

Comments

Catalin Marinas April 22, 2022, 6:27 p.m. UTC | #1
On Tue, 19 Apr 2022 11:32:39 +0100, Mark Brown wrote:
> This series is just a set of minor tweaks and improvements for the MTE
> tests that I did while working on the asymmetric mode support for
> userspace which seemed like they might be worth keeping even though the
> prctl() for asymmetric mode got removed.
> 
> v2:
>  - Rebase onto v5.18-rc3
> 
> [...]

Applied to arm64 (for-next/kselftest), thanks!

[1/4] kselftest/arm64: Handle more kselftest result codes in MTE helpers
      https://git.kernel.org/arm64/c/eb89cf6f913f
[2/4] kselftest/arm64: Log unexpected asynchronous MTE faults
      https://git.kernel.org/arm64/c/929e073bcbfb
[3/4] kselftest/arm64: Refactor parameter checking in mte_switch_mode()
      https://git.kernel.org/arm64/c/df0a991023e0
[4/4] kselftest/arm64: Add simple test for MTE prctl
      https://git.kernel.org/arm64/c/78387d9f017f