linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] kselftest: Extend vDSO tests
@ 2020-05-06 14:17 Vincenzo Frascino
  2020-05-06 14:17 ` [PATCH v3 1/5] kselftest: Enable vDSO test on non x86 platforms Vincenzo Frascino
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Vincenzo Frascino @ 2020-05-06 14:17 UTC (permalink / raw)
  To: linux-kernel, linux-kselftest
  Cc: Vincenzo Frascino, Shuah Khan, Thomas Gleixner, Andy Lutomirski,
	Arnd Bergmann

This series extends the kselftests for the vDSO library making sure: that
they compile correctly on non x86 platforms, that they can be cross
compiled and introducing new tests that verify the correctness of the
library.

The so extended vDSO kselftests have been verified on all the platforms
supported by the unified vDSO library [1].

The only new patch that this series introduces is the first one, patch 2 and
patch 3 have already been reviewed in past as part of other series [2] [3].

[1] https://lore.kernel.org/lkml/20190621095252.32307-1-vincenzo.frascino@arm.com
[2] https://lore.kernel.org/lkml/20190621095252.32307-26-vincenzo.frascino@arm.com
[3] https://lore.kernel.org/lkml/20190523112116.19233-4-vincenzo.frascino@arm.com

Changes:
--------
v3:
  - Added correctness test for clock_gettime64.
  - Rebased on 5.7-rc4.
v2:
  - Addressed review comments from Andy.
  - Rebased on 5.7-rc3.

Cc: Shuah Khan <shuah@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>

Vincenzo Frascino (5):
  kselftest: Enable vDSO test on non x86 platforms
  kselftest: Extend vDSO selftest
  kselftest: Extend vDSO selftest to clock_getres
  kselftest: Move test_vdso to the vDSO test suite
  kselftest: Extend vdso correctness test to clock_gettime64

 tools/testing/selftests/Makefile              |   1 +
 tools/testing/selftests/vDSO/Makefile         |  16 +-
 .../selftests/vDSO/vdso_clock_getres.c        | 124 +++++++++
 tools/testing/selftests/vDSO/vdso_config.h    |  92 +++++++
 .../vdso_correctness_test.c}                  | 115 ++++++++-
 tools/testing/selftests/vDSO/vdso_full_test.c | 244 ++++++++++++++++++
 tools/testing/selftests/x86/Makefile          |   2 +-
 7 files changed, 586 insertions(+), 8 deletions(-)
 create mode 100644 tools/testing/selftests/vDSO/vdso_clock_getres.c
 create mode 100644 tools/testing/selftests/vDSO/vdso_config.h
 rename tools/testing/selftests/{x86/test_vdso.c => vDSO/vdso_correctness_test.c} (73%)
 create mode 100644 tools/testing/selftests/vDSO/vdso_full_test.c

-- 
2.26.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-05-06 14:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-06 14:17 [PATCH v3 0/5] kselftest: Extend vDSO tests Vincenzo Frascino
2020-05-06 14:17 ` [PATCH v3 1/5] kselftest: Enable vDSO test on non x86 platforms Vincenzo Frascino
2020-05-06 14:17 ` [PATCH v3 2/5] kselftest: Extend vDSO selftest Vincenzo Frascino
2020-05-06 14:17 ` [PATCH v3 3/5] kselftest: Extend vDSO selftest to clock_getres Vincenzo Frascino
2020-05-06 14:17 ` [PATCH v3 4/5] kselftest: Move test_vdso to the vDSO test suite Vincenzo Frascino
2020-05-06 14:17 ` [PATCH v3 5/5] kselftest: Extend vdso correctness test to clock_gettime64 Vincenzo Frascino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).