[RFC PATCH v1 2/9] selftest: sync: fence tests for sw_sync framework

2016-03-09 Thread Emilio López
These tests are based on the libsync test suite from Android. This commit includes tests for basic fence creation. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/sync/Makefile | 1 + tools/testing/selftests/sync/sync_fence.c

[RFC PATCH v1 0/9] Tests for sync infrastructure

2016-03-09 Thread Emilio López
that were rewritten to use the new userspace interfaces. As usual, all comments are welcome. Cheers! Emilio [0] https://lists.freedesktop.org/archives/dri-devel/2016-March/102204.html Emilio López (9): selftest: sync: basic tests for sw_sync framework selftest: sync: fence tests for sw_sync

[RFC PATCH v1 7/9] selftest: sync: stress consumer/producer test

2016-03-09 Thread Emilio López
This test is based on the libsync test suite from Android. This commit includes a stress test that replicates a consumer/producer pattern. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/sync/Makefile | 1 + .../testing/selftest

[RFC PATCH v1 6/9] selftest: sync: stress test for parallelism

2016-03-09 Thread Emilio López
This test is based on the libsync test suite from Android. This commit includes a stress test that invokes operations in parallel. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/sync/Makefile | 1 + .../selftest

[RFC PATCH v1 4/9] selftest: sync: wait tests for sw_sync framework

2016-03-09 Thread Emilio López
These tests are based on the libsync test suite from Android. This commit includes tests for waiting on fences. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/sync/Makefile| 1 + tools/testing/selftests/sync/sync_test.c | 1 + tools/t

[RFC PATCH v1 5/9] selftest: sync: destruction tests for sw_sync framework

2016-03-09 Thread Emilio López
These tests are based on the libsync test suite from Android. This commit includes tests for operations on destructed objects. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/sync/Makefile | 1 + tools/testing/selftests/sync/sync_destroyed.

[RFC PATCH v1 8/9] selftest: sync: stress test for merges

2016-03-09 Thread Emilio López
This test is based on the libsync test suite from Android. This commit includes a test to stress merge operations. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/sync/Makefile| 1 + tools/testing/selftests/sync/sync_stress_merge.c

[RFC PATCH v1 1/9] selftest: sync: basic tests for sw_sync framework

2016-03-09 Thread Emilio López
These tests are based on the libsync test suite from Android. This commit lays the ground for future tests, as well as includes tests for a variety of basic allocation commands. Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk> Signed-off-by: Emilio López <

[RFC PATCH v1 9/9] selftest: sync: disable tests that rely on not yet defined behaviour

2016-03-09 Thread Emilio López
One of the tests rely on a behaviour only observed on the driver currently in use in Android. Disable it here until the behaviour is implemented or it is decided it should not be implemented on the driver in mainline. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/t

[RFC PATCH v1 3/9] selftest: sync: merge tests for sw_sync framework

2016-03-09 Thread Emilio López
These tests are based on the libsync test suite from Android. This commit includes tests for basic merge operations. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/sync/Makefile | 1 + tools/testing/selftests/sync/sync_merge.

Re: [RFC PATCH v1 1/9] selftest: sync: basic tests for sw_sync framework

2016-04-03 Thread Emilio López
.uk> Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/sync/sync.h | 119 ++ Admittedly I know nothing about the kernel selftests although copying the UAPI header, seems to defeat the purpose of this exercise. Shouldn

Re: [RFC PATCH v1 1/9] selftest: sync: basic tests for sw_sync framework

2016-03-28 Thread Emilio López
Hi, El 28/03/16 a las 08:56, Emil Velikov escribió: Hi Emilio, On 9 March 2016 at 15:28, Emilio López <emilio.lo...@collabora.co.uk> wrote: These tests are based on the libsync test suite from Android. This commit lays the ground for future tests, as well as includes tests for a v

Re: [RFC PATCH v1 0/9] Tests for sync infrastructure

2016-03-28 Thread Emilio López
Hi, I somehow missed these emails back in the day, sorry for the delay in replying. El 09/03/16 a las 13:13, Shuah Khan escribió: On 03/09/2016 08:28 AM, Emilio López wrote: Hello everyone, This is a series of tests to exercise the sync kernel infrastructure. It is meant to be a test suite

Re: [RFC PATCH v1 9/9] selftest: sync: disable tests that rely on not yet defined behaviour

2016-03-28 Thread Emilio López
El 09/03/16 a las 13:14, Shuah Khan escribió: On 03/09/2016 08:29 AM, Emilio López wrote: One of the tests rely on a behaviour only observed on the driver currently in use in Android. Disable it here until the behaviour is implemented or it is decided it should not be implemented on the driver

Re: [PATCH 1/7] selftest: sync: basic tests for sw_sync framework

2016-09-22 Thread Emilio López
Hi Michael, El 22/09/16 a las 06:43, Michael Ellerman escribió: Emilio López <emilio.lo...@collabora.co.uk> writes: +CFLAGS += -I../../../../include/uapi/ Please don't include the unprocessed uapi headers, they are not meant to be directly included in userspace programs. They even

[PATCH 0/7] Tests for sync infrastructure

2016-09-21 Thread Emilio López
are welcome. Cheers! Emilio [0] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2016-March/086932.html Emilio López (7): selftest: sync: basic tests for sw_sync framework selftest: sync: fence tests for sw_sync framework selftest: sync: merge tests for sw_sync framework selftest

[PATCH 1/7] selftest: sync: basic tests for sw_sync framework

2016-09-21 Thread Emilio López
These tests are based on the libsync test suite from Android. This commit lays the ground for future tests, as well as includes tests for a variety of basic allocation commands. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/Makefile

[PATCH 5/7] selftest: sync: stress test for parallelism

2016-09-21 Thread Emilio López
This test is based on the libsync test suite from Android. This commit includes a stress test that invokes operations in parallel. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/sync/Makefile | 1 + .../selftest

[PATCH 6/7] selftest: sync: stress consumer/producer test

2016-09-21 Thread Emilio López
This test is based on the libsync test suite from Android. This commit includes a stress test that replicates a consumer/producer pattern. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/sync/Makefile | 1 + .../testing/selftest

[PATCH 4/7] selftest: sync: wait tests for sw_sync framework

2016-09-21 Thread Emilio López
These tests are based on the libsync test suite from Android. This commit includes tests for waiting on fences. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/sync/Makefile| 1 + tools/testing/selftests/sync/sync_test.c | 1 + tools/testing/sel

[PATCH 3/7] selftest: sync: merge tests for sw_sync framework

2016-09-21 Thread Emilio López
These tests are based on the libsync test suite from Android. This commit includes tests for basic merge operations. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/sync/Makefile | 1 + tools/testing/selftests/sync/sync_merge.

[PATCH 2/7] selftest: sync: fence tests for sw_sync framework

2016-09-21 Thread Emilio López
These tests are based on the libsync test suite from Android. This commit includes tests for basic fence creation. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/sync/Makefile | 1 + tools/testing/selftests/sync/sync_fence.c

[PATCH 7/7] selftest: sync: stress test for merges

2016-09-21 Thread Emilio López
This test is based on the libsync test suite from Android. This commit includes a test to stress merge operations. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/sync/Makefile| 1 + tools/testing/selftests/sync/sync_stress_merge.c

Re: [PATCH 1/7] selftest: sync: basic tests for sw_sync framework

2016-09-27 Thread Emilio López
Hi, El 27/09/16 a las 01:23, Michael Ellerman escribió: Emilio López <emilio.lo...@collabora.co.uk> writes: El 22/09/16 a las 06:43, Michael Ellerman escribió: Emilio López <emilio.lo...@collabora.co.uk> writes: Please don't include the *kernel* headers, they're really not mean

[PATCH v2 1/7] selftest: sync: basic tests for sw_sync framework

2016-10-19 Thread Emilio López
These tests are based on the libsync test suite from Android. This commit lays the ground for future tests, as well as includes tests for a variety of basic allocation commands. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/Makefile

[PATCH v2 2/7] selftest: sync: fence tests for sw_sync framework

2016-10-19 Thread Emilio López
These tests are based on the libsync test suite from Android. This commit includes tests for basic fence creation. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/sync/Makefile | 1 + tools/testing/selftests/sync/sync_fence.c

[PATCH v2 3/7] selftest: sync: merge tests for sw_sync framework

2016-10-19 Thread Emilio López
These tests are based on the libsync test suite from Android. This commit includes tests for basic merge operations. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/sync/Makefile | 1 + tools/testing/selftests/sync/sync_merge.

[PATCH v2 0/7] Tests for sync infrastructure

2016-10-19 Thread Emilio López
[0] https://patchwork.kernel.org/patch/9343347/ Emilio López (7): selftest: sync: basic tests for sw_sync framework selftest: sync: fence tests for sw_sync framework selftest: sync: merge tests for sw_sync framework selftest: sync: wait tests for sw_sync framework selftest: sync: stress

[PATCH v2 7/7] selftest: sync: stress test for merges

2016-10-19 Thread Emilio López
This test is based on the libsync test suite from Android. This commit includes a test to stress merge operations. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/sync/Makefile| 1 + tools/testing/selftests/sync/sync_stress_merge.c

[PATCH v2 5/7] selftest: sync: stress test for parallelism

2016-10-19 Thread Emilio López
This test is based on the libsync test suite from Android. This commit includes a stress test that invokes operations in parallel. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/sync/Makefile | 1 + .../selftest

[PATCH v2 4/7] selftest: sync: wait tests for sw_sync framework

2016-10-19 Thread Emilio López
These tests are based on the libsync test suite from Android. This commit includes tests for waiting on fences. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/sync/Makefile| 1 + tools/testing/selftests/sync/sync_test.c | 1 + tools/testing/sel

[PATCH v2 6/7] selftest: sync: stress consumer/producer test

2016-10-19 Thread Emilio López
This test is based on the libsync test suite from Android. This commit includes a stress test that replicates a consumer/producer pattern. Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- tools/testing/selftests/sync/Makefile | 1 + .../testing/selftest