[v3,0/3] selftests: vdso: Add a selftest for vDSO getcpu()
mbox series

Message ID 20200522162139.44380-1-broonie@kernel.org
Headers show
Series
  • selftests: vdso: Add a selftest for vDSO getcpu()
Related show

Message

Mark Brown May 22, 2020, 4:21 p.m. UTC
This series does a bit of a cleanup of the existing tests for the vDSO
in kselftest and then adds a new test for getcpu().

v3: Remove some extern keywords.
v2: Silence checkpatch

Mark Brown (3):
  selftests: vdso: Rename vdso_test to vdso_test_gettimeofday
  selftests: vdso: Use a header file to prototype parse_vdso API
  selftests: vdso: Add a selftest for vDSO getcpu()

 tools/testing/selftests/vDSO/.gitignore       |  2 +
 tools/testing/selftests/vDSO/Makefile         |  5 +-
 tools/testing/selftests/vDSO/parse_vdso.c     | 24 +--------
 tools/testing/selftests/vDSO/parse_vdso.h     | 31 +++++++++++
 .../selftests/vDSO/vdso_standalone_test_x86.c |  4 +-
 .../testing/selftests/vDSO/vdso_test_getcpu.c | 54 +++++++++++++++++++
 .../{vdso_test.c => vdso_test_gettimeofday.c} | 10 ++--
 7 files changed, 96 insertions(+), 34 deletions(-)
 create mode 100644 tools/testing/selftests/vDSO/parse_vdso.h
 create mode 100644 tools/testing/selftests/vDSO/vdso_test_getcpu.c
 rename tools/testing/selftests/vDSO/{vdso_test.c => vdso_test_gettimeofday.c} (84%)

Comments

shuah May 22, 2020, 6:13 p.m. UTC | #1
On 5/22/20 10:21 AM, Mark Brown wrote:
> This series does a bit of a cleanup of the existing tests for the vDSO
> in kselftest and then adds a new test for getcpu().
> 
> v3: Remove some extern keywords.
> v2: Silence checkpatch
> 
> Mark Brown (3):
>    selftests: vdso: Rename vdso_test to vdso_test_gettimeofday
>    selftests: vdso: Use a header file to prototype parse_vdso API
>    selftests: vdso: Add a selftest for vDSO getcpu()
> 
>   tools/testing/selftests/vDSO/.gitignore       |  2 +
>   tools/testing/selftests/vDSO/Makefile         |  5 +-
>   tools/testing/selftests/vDSO/parse_vdso.c     | 24 +--------
>   tools/testing/selftests/vDSO/parse_vdso.h     | 31 +++++++++++
>   .../selftests/vDSO/vdso_standalone_test_x86.c |  4 +-
>   .../testing/selftests/vDSO/vdso_test_getcpu.c | 54 +++++++++++++++++++
>   .../{vdso_test.c => vdso_test_gettimeofday.c} | 10 ++--
>   7 files changed, 96 insertions(+), 34 deletions(-)
>   create mode 100644 tools/testing/selftests/vDSO/parse_vdso.h
>   create mode 100644 tools/testing/selftests/vDSO/vdso_test_getcpu.c
>   rename tools/testing/selftests/vDSO/{vdso_test.c => vdso_test_gettimeofday.c} (84%)
> 

Thanks for the cleaning this up and the rework.

Applied to linux-kselftest next for Linux 5.8-rc1

thanks,
-- Shuah