Re: [linux-sunxi] [PATCH 03/10] ARM: dts: sun7i: cubietruck: Enable RGMII RX/TX delay on Ethernet PHY

2020-10-24 Thread Emilio López
ng had stopped working. I can confirm that this patch fixes the problem and restores connectivity on my Cubietruck. I also verified the information with the schematics, and it looks alright to me :) Reviewed-by: Emilio López Tested-by: Emilio López Thanks! Emilio

Re: [linux-sunxi] [PATCH 3/4] ARM: sun7i: Convert to CCU

2017-02-28 Thread Emilio López
Hi, I spotted a couple of things here on a quick look, see below El 27/02/17 a las 18:09, Priit Laes escribió: > Convert sun7i-a20.dtsi to new CCU driver. > > Signed-off-by: Priit Laes > --- > arch/arm/boot/dts/sun7i-a20.dtsi | 719 > +-- >

Re: [linux-sunxi] [PATCH 3/4] ARM: sun7i: Convert to CCU

2017-02-28 Thread Emilio López
Hi, I spotted a couple of things here on a quick look, see below El 27/02/17 a las 18:09, Priit Laes escribió: > Convert sun7i-a20.dtsi to new CCU driver. > > Signed-off-by: Priit Laes > --- > arch/arm/boot/dts/sun7i-a20.dtsi | 719 > +-- > 1 file changed,

[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 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 --- tools/testing/selftests/sync/Makefile | 1 + tools/testing/selftests/sync/sync_fence.c | 132 ++ tools/testing

[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 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 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 --- tools/testing/selftests/Makefile | 1 + tools/testing/selftests/sync

[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 --- tools/testing/selftests/sync/Makefile| 1 + tools/testing/selftests/sync/sync_test.c | 1 + tools/testing/selftests/sync/sync_wait.c | 91

[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 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 --- tools/testing/selftests/sync/Makefile | 1 + .../selftests/sync/sync_stress_parallelism.c | 111

[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

[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 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 --- tools/testing/selftests/sync/Makefile | 1 + .../testing/selftests/sync/sync_stress_consumer.c | 185

[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 --- tools/testing/selftests/sync/Makefile| 1 + tools/testing/selftests/sync/sync_stress_merge.c | 115 +++ tools

[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 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 --- tools/testing/selftests/sync/Makefile | 1 + tools/testing/selftests/sync/sync_merge.c | 60 +++ tools/testing

[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 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

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

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 writes: El 22/09/16 a las 06:43, Michael Ellerman escribió: Emilio López writes: Please don't include the *kernel* headers, they're really not meant to be used in userspace programs :) +CFLAGS += -I../../../../usr

[PATCH] uapi: add missing install of sync_file.h

2016-09-27 Thread Emilio López
ders") Reported-by: Michael Ellerman <m...@ellerman.id.au> Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- I don't know if this is worth cc'ing stable, the patch has been there since v4.7. I spotted this while reflecting on Michael's review[0] on my kselftest series, and

[PATCH] uapi: add missing install of sync_file.h

2016-09-27 Thread Emilio López
ders") Reported-by: Michael Ellerman Signed-off-by: Emilio López --- I don't know if this is worth cc'ing stable, the patch has been there since v4.7. I spotted this while reflecting on Michael's review[0] on my kselftest series, and he later independently confirmed so[1]. [0] http://www.spi

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

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 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 say so: include/uapi/linux/types.h

[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 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 --- tools/testing/selftests/sync/Makefile | 1 + .../testing/selftests/sync/sync_stress_consumer.c | 185

[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 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 --- tools/testing/selftests/sync/Makefile | 1 + .../selftests/sync/sync_stress_parallelism.c | 111

[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

[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 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 --- tools/testing/selftests/sync/Makefile| 1 + tools/testing/selftests/sync/sync_stress_merge.c | 116 +++ tools

[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 --- tools/testing/selftests/sync/Makefile| 1 + tools/testing/selftests/sync/sync_test.c | 1 + tools/testing/selftests/sync/sync_wait.c | 91

[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 --- tools/testing/selftests/sync/Makefile | 1 + tools/testing/selftests/sync/sync_merge.c | 60 +++ tools/testing

[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 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 --- tools/testing/selftests/sync/Makefile | 1 + tools/testing/selftests/sync/sync_fence.c | 132 ++ tools/testing

[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 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 --- tools/testing/selftests/Makefile | 1 + tools/testing/selftests/sync

[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 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] dma-buf/sync_file: fix documentation error

2016-09-18 Thread Emilio López
The ioctl name and description on the documentation block don't match the ioctl being defined. This was probably overlooked while renaming the ioctls during the sync file destaging. This patch provides a more accurate description of what the ioctl actually does. Signed-off-by: Emilio López

[PATCH] dma-buf/sync_file: fix documentation error

2016-09-18 Thread Emilio López
The ioctl name and description on the documentation block don't match the ioctl being defined. This was probably overlooked while renaming the ioctls during the sync file destaging. This patch provides a more accurate description of what the ioctl actually does. Signed-off-by: Emilio López

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-04-03 Thread Emilio López
Hi, El 28/03/16 a las 10:48, Emil Velikov escribió: 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 Signed-off-by: Emilio López

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 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: [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: [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 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 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 variety of basic allocation commands

[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 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 --- tools/testing/selftests/sync/sync_test.c

[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 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 --- tools/testing/selftests/sync/Makefile | 1 + .../selftests/sync/sync_stress_parallelism.c | 111

[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 --- tools/testing/selftests/sync/Makefile | 1 + .../testing/selftests/sync/sync_stress_consumer.c | 185

[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 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 --- tools/testing/selftests/sync/Makefile| 1 + tools/testing/selftests/sync/sync_stress_merge.c | 115 +++ tools

[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 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 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.

[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 --- tools/testing/selftests/sync/Makefile | 1 + tools/testing/selftests/sync/sync_destroyed.c | 90

[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 --- tools/testing/selftests/sync/Makefile| 1 + tools/testing/selftests/sync/sync_test.c | 1 + tools/testing/selftests/sync/sync_wait.c | 95

[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 --- tools/testing/selftests/sync/Makefile | 1 + tools/testing/selftests/sync/sync_merge.c | 60 +++ tools/testing

[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 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 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 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 Signed-off-by: Emilio López --- tools/testing/selftests/Makefile | 1

[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 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 --- tools/testing/selftests/sync/Makefile | 1 + tools/testing/selftests/sync/sync_fence.c | 134 ++ tools/testing

Re: [linux-sunxi] [PATCH] dma: sun4i: expose block size and wait cycle configuration to DMA users

2016-03-07 Thread Emilio López
Hi, El 07/03/16 a las 12:47, Boris Brezillon escribió: (...) >> Does SPI refer the Serial Peripheral Interface? >> >> If yes, then I would point out that current sun4i SPI driver doesn't >> actually use DMA [1] >> >> http://lists.infradead.org/pipermail/linux-arm-kernel/2016-February/411 >>

Re: [linux-sunxi] [PATCH] dma: sun4i: expose block size and wait cycle configuration to DMA users

2016-03-07 Thread Emilio López
Hi, El 07/03/16 a las 12:47, Boris Brezillon escribió: (...) >> Does SPI refer the Serial Peripheral Interface? >> >> If yes, then I would point out that current sun4i SPI driver doesn't >> actually use DMA [1] >> >> http://lists.infradead.org/pipermail/linux-arm-kernel/2016-February/411 >>

[PATCH v5] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2016-02-21 Thread Emilio López
and.harvard.edu> Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- Changes in v5: - rebased on usb-next, changing the capability flag value to not collide - Added Alan's ack Changes in v4: - IOR -> IOW - Explain the new ioctl on usb Docbook - Small program to be able to

[PATCH v5] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2016-02-21 Thread Emilio López
not permitted) ERROR claiming if 1 (1 - Operation not permitted) ERROR claiming if 2 (1 - Operation not permitted) ERROR claiming if 3 (1 - Operation not permitted) Signed-off-by: Reilly Grant Acked-by: Alan Stern Signed-off-by: Emilio López --- Changes in v5: - rebased on usb-next

[PATCH v4] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2016-02-14 Thread Emilio López
aiming if 0 (1 - Operation not permitted) ERROR claiming if 1 (1 - Operation not permitted) ERROR claiming if 2 (1 - Operation not permitted) ERROR claiming if 3 (1 - Operation not permitted) Signed-off-by: Reilly Grant <reil...@chromium.org> Signed-off-by: Emilio Lópe

[PATCH v4] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2016-02-14 Thread Emilio López
not permitted) ERROR claiming if 1 (1 - Operation not permitted) ERROR claiming if 2 (1 - Operation not permitted) ERROR claiming if 3 (1 - Operation not permitted) Signed-off-by: Reilly Grant Signed-off-by: Emilio López --- Changes in v4: - IOR -> IOW - Explain the new ioctl on

Re: [PATCH] clk: clk_register: Correctly initialize enable_count

2016-02-09 Thread Emilio López
Hi, El 09/02/16 a las 19:48, Rhyland Klein escribió: > When clocks are registered, they could be enabled already in > hardware. As of now, the enable count will start at 0. When this > happens, it means a clock is enabled and the framework doesn't know > that, so it will always report it as

Re: [PATCH] clk: clk_register: Correctly initialize enable_count

2016-02-09 Thread Emilio López
Hi, El 09/02/16 a las 19:48, Rhyland Klein escribió: > When clocks are registered, they could be enabled already in > hardware. As of now, the enable count will start at 0. When this > happens, it means a clock is enabled and the framework doesn't know > that, so it will always report it as

Re: [PATCH v3] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2016-02-07 Thread Emilio López
Hello Alan, El 04/02/16 a las 13:27, Alan Stern escribió: On Thu, 4 Feb 2016, Emilio López wrote: From: Reilly Grant The new USBDEVFS_DROP_PRIVILEGES ioctl allows a process to voluntarily relinquish the ability to issue other ioctls that may interfere with other processes and drivers

Re: [PATCH v3] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2016-02-07 Thread Emilio López
Hello Alan, El 04/02/16 a las 13:27, Alan Stern escribió: On Thu, 4 Feb 2016, Emilio López wrote: From: Reilly Grant <reil...@chromium.org> The new USBDEVFS_DROP_PRIVILEGES ioctl allows a process to voluntarily relinquish the ability to issue other ioctls that may interfere with

[PATCH v3] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2016-02-03 Thread Emilio López
From: Reilly Grant The new USBDEVFS_DROP_PRIVILEGES ioctl allows a process to voluntarily relinquish the ability to issue other ioctls that may interfere with other processes and drivers that have claimed an interface on the device. Signed-off-by: Reilly Grant Signed-off-by: Emilio López

[PATCH v3] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2016-02-03 Thread Emilio López
<reil...@chromium.org> Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- Changes in v3: - Switch ioctl to use a __u32 given the iface qty is capped at 32 - Reword comments as requested by Alan - Allow callers to shrink the allowed interfaces mask Changes in v2: - Added a para

Re: [PATCH v2] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2016-01-24 Thread Emilio López
Hi Alan, El 22/01/16 a las 13:10, Alan Stern escribió: On Thu, 21 Jan 2016, Emilio López wrote: From: Reilly Grant The new USBDEVFS_DROP_PRIVILEGES ioctl allows a process to voluntarily relinquish the ability to issue other ioctls that may interfere with other processes and drivers

Re: [PATCH v2] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2016-01-24 Thread Emilio López
Hi Bjørn, El 22/01/16 a las 06:41, Bjørn Mork escribió: Emilio López writes: diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index 38ae877c..bf40aa6 100644 --- a/drivers/usb/core/devio.c +++ b/drivers/usb/core/devio.c @@ -77,6 +77,8 @@ struct usb_dev_state { unsigned

Re: [PATCH v2] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2016-01-24 Thread Emilio López
Hi Alan, El 22/01/16 a las 13:10, Alan Stern escribió: On Thu, 21 Jan 2016, Emilio López wrote: From: Reilly Grant <reil...@chromium.org> The new USBDEVFS_DROP_PRIVILEGES ioctl allows a process to voluntarily relinquish the ability to issue other ioctls that may interfere with

Re: [PATCH v2] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2016-01-24 Thread Emilio López
Hi Bjørn, El 22/01/16 a las 06:41, Bjørn Mork escribió: Emilio López <emilio.lo...@collabora.co.uk> writes: diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index 38ae877c..bf40aa6 100644 --- a/drivers/usb/core/devio.c +++ b/drivers/usb/core/devio.c @@ -77,6 +77,8 @@

[PATCH v2] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2016-01-21 Thread Emilio López
From: Reilly Grant The new USBDEVFS_DROP_PRIVILEGES ioctl allows a process to voluntarily relinquish the ability to issue other ioctls that may interfere with other processes and drivers that have claimed an interface on the device. Signed-off-by: Reilly Grant Signed-off-by: Emilio López

[PATCH v2] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2016-01-21 Thread Emilio López
<reil...@chromium.org> Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- I guess code talks more than words :) This patch is only build-tested, and is meant to showcase the approach. The basic idea is to allow limiting the interface claims via an extra parameter to resolve K

[PATCH v1] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2015-11-25 Thread Emilio López
Reviewed-by: Kees Cook [emilio.lopez: fix build for v4.4-rc2 and adjust patch title prefix] Signed-off-by: Emilio López --- drivers/usb/core/devio.c | 50 +++ include/uapi/linux/usbdevice_fs.h | 1 + 2 files changed, 47 insertions(+), 4 deletions

[PATCH v1 0/1] ioctl to disallow detaching kernel USB drivers

2015-11-25 Thread Emilio López
Hi everyone, This patch introduces a new ioctl, USBDEVFS_DROP_PRIVILEGES, to voluntarily forgo the ability to issue ioctls which may interfere with other users of the USB device. This feature allows a privileged process (in the case of Chrome OS, permission_broker) to open a USB device node and

[PATCH v1 0/1] ioctl to disallow detaching kernel USB drivers

2015-11-25 Thread Emilio López
Hi everyone, This patch introduces a new ioctl, USBDEVFS_DROP_PRIVILEGES, to voluntarily forgo the ability to issue ioctls which may interfere with other users of the USB device. This feature allows a privileged process (in the case of Chrome OS, permission_broker) to open a USB device node and

[PATCH v1] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2015-11-25 Thread Emilio López
<reil...@chromium.org> Reviewed-by: Jorge Lucangeli Obes <jorg...@chromium.org> Reviewed-by: Kees Cook <keesc...@chromium.org> [emilio.lopez: fix build for v4.4-rc2 and adjust patch title prefix] Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk> --- drivers/

Re: [PATCH v3 2/4] Documentation: bindings: mfd: cros ec: document vbc EC property

2015-09-23 Thread Emilio López
Hi Lee, On 22/09/15 21:34, Lee Jones wrote: On Mon, 21 Sep 2015, Emilio López wrote: Some EC implementations include a small nvram space used to store verified boot context data. This boolean property lets us indicate whether this space is available or not on a specific EC implementation

Re: [PATCH v3 2/4] Documentation: bindings: mfd: cros ec: document vbc EC property

2015-09-23 Thread Emilio López
Hi Lee, On 22/09/15 21:34, Lee Jones wrote: On Mon, 21 Sep 2015, Emilio López wrote: Some EC implementations include a small nvram space used to store verified boot context data. This boolean property lets us indicate whether this space is available or not on a specific EC implementation

Re: [PATCH 1/4] sysfs: Support is_visible() on binary attributes

2015-09-21 Thread Emilio López
This is v3, even if the subject doesn't say so. This is what happens when you forget to use --reroll-count and try to fix it manually :) Emilio On 21/09/15 10:38, Emilio López wrote: According to the sysfs header file: "The returned value will replace static permissions de

[PATCH v3 4/4] ARM: dts: Enable EC vboot context support on Peach boards

2015-09-21 Thread Emilio López
The Peach boards use the EC to store the vboot context information, so add the corresponding properties on the EC node to indicate so. Reviewed-by: Krzysztof Kozlowski Acked-by: Javier Martinez Canillas Signed-off-by: Emilio López --- Changes from v1: - none Changes from v2: - collect tags

[PATCH 1/4] sysfs: Support is_visible() on binary attributes

2015-09-21 Thread Emilio López
nter Roeck Signed-off-by: Emilio López --- Changes from v1: - Don't overload is_visible, introduce is_bin_visible instead as discussed on the list. Changes from v2: - Note change in mode checking on the commit log - Add Guenter's reviewed-by fs/sysfs/group.c | 17 +++-- inc

[PATCH v3 2/4] Documentation: bindings: mfd: cros ec: document vbc EC property

2015-09-21 Thread Emilio López
Some EC implementations include a small nvram space used to store verified boot context data. This boolean property lets us indicate whether this space is available or not on a specific EC implementation. Signed-off-by: Emilio López --- Patch is new in v3, split from 3/4 Documentation

[PATCH v3 0/4] platform/chrome: vboot context support

2015-09-21 Thread Emilio López
the context data. The fourth patch adds the DT properties on peach boards which, judging by the vendor tree, use the EC to store the verified boot context. The series was tested on a peach pi and was found to work OK there. As always, all comments and further tests are welcome :) Cheers! Emilio Emilio

  1   2   3   4   >