Re: [PATCH] selftests: breakpoints: re-order TEST_GEN_PROGS targets

2017-09-08 Thread Fathi Boudra
Shuah, should I resend? On 29 June 2017 at 12:39, Fathi Boudra <fathi.bou...@linaro.org> wrote: > breakpoint_test can fail on arm64 with older/unpatched glibc: > > breakpoint_test_arm64.c: In function 'run_test': > breakpoint_test_arm64.c:170:25: error: 'TRAP_HWBKPT' und

Re: [PATCH] selftests: breakpoints: re-order TEST_GEN_PROGS targets

2017-09-08 Thread Fathi Boudra
Shuah, should I resend? On 29 June 2017 at 12:39, Fathi Boudra wrote: > breakpoint_test can fail on arm64 with older/unpatched glibc: > > breakpoint_test_arm64.c: In function 'run_test': > breakpoint_test_arm64.c:170:25: error: 'TRAP_HWBKPT' undeclared (first use > in this fu

Re: [PATCH 1/1] selftests: gpio: use pkg-config to determine libmount CFLAGS/LDLIBS

2017-07-03 Thread Fathi Boudra
On 1 July 2017 at 04:48, Michael Ellerman <m...@ellerman.id.au> wrote: > Fathi Boudra <fathi.bou...@linaro.org> writes: > >> On 30 June 2017 at 05:20, Bamvor Zhang Jian <bamvor.zhangj...@linaro.org> >> wrote: >>> On 29 June 2017 at 19:39, Fathi Boudr

Re: [PATCH 1/1] selftests: gpio: use pkg-config to determine libmount CFLAGS/LDLIBS

2017-07-03 Thread Fathi Boudra
On 1 July 2017 at 04:48, Michael Ellerman wrote: > Fathi Boudra writes: > >> On 30 June 2017 at 05:20, Bamvor Zhang Jian >> wrote: >>> On 29 June 2017 at 19:39, Fathi Boudra wrote: >>>> On 29 June 2017 at 12:01, Michael Ellerman wrote: >>>>

Re: [PATCH 1/1] selftests: gpio: use pkg-config to determine libmount CFLAGS/LDLIBS

2017-06-29 Thread Fathi Boudra
On 30 June 2017 at 05:20, Bamvor Zhang Jian <bamvor.zhangj...@linaro.org> wrote: > On 29 June 2017 at 19:39, Fathi Boudra <fathi.bou...@linaro.org> wrote: >> On 29 June 2017 at 12:01, Michael Ellerman <m...@ellerman.id.au> wrote: >>> Fathi Boudra <fathi.

Re: [PATCH 1/1] selftests: gpio: use pkg-config to determine libmount CFLAGS/LDLIBS

2017-06-29 Thread Fathi Boudra
On 30 June 2017 at 05:20, Bamvor Zhang Jian wrote: > On 29 June 2017 at 19:39, Fathi Boudra wrote: >> On 29 June 2017 at 12:01, Michael Ellerman wrote: >>> Fathi Boudra writes: >>> >>>> Fix hardcoded and misplaced libmount headers. Use pkg-config i

Re: [PATCH 1/1] selftests: gpio: use pkg-config to determine libmount CFLAGS/LDLIBS

2017-06-29 Thread Fathi Boudra
On 29 June 2017 at 12:01, Michael Ellerman <m...@ellerman.id.au> wrote: > Fathi Boudra <fathi.bou...@linaro.org> writes: > >> Fix hardcoded and misplaced libmount headers. Use pkg-config instead to >> figure out CFLAGS/LDLIBS, fixing also their value for cross-compil

Re: [PATCH 1/1] selftests: gpio: use pkg-config to determine libmount CFLAGS/LDLIBS

2017-06-29 Thread Fathi Boudra
On 29 June 2017 at 12:01, Michael Ellerman wrote: > Fathi Boudra writes: > >> Fix hardcoded and misplaced libmount headers. Use pkg-config instead to >> figure out CFLAGS/LDLIBS, fixing also their value for cross-compilation. > > Can you explain how it fixes the valu

Re: [PATCH 0/3] kselftest build errors

2017-06-29 Thread Fathi Boudra
On 28 June 2017 at 17:21, Shuah Khan <sh...@kernel.org> wrote: > On 06/28/2017 02:30 AM, Fathi Boudra wrote: >> On 23 June 2017 at 22:44, Shuah Khan <sh...@kernel.org> wrote: >>> On 06/23/2017 04:37 AM, Marcin Nowakowski wrote: >>>> This patch series fix

Re: [PATCH 0/3] kselftest build errors

2017-06-29 Thread Fathi Boudra
On 28 June 2017 at 17:21, Shuah Khan wrote: > On 06/28/2017 02:30 AM, Fathi Boudra wrote: >> On 23 June 2017 at 22:44, Shuah Khan wrote: >>> On 06/23/2017 04:37 AM, Marcin Nowakowski wrote: >>>> This patch series fixes build errors observed when building net, memf

Re: [PATCH v2] selftests: add a generic testsuite for ethernet device

2017-06-29 Thread Fathi Boudra
On 4 April 2017 at 16:32, Corentin Labbe wrote: > This patch add a generic testsuite for testing ethernet network device driver. > > Signed-off-by: Corentin Labbe > --- > > Changes since v1: > - Test for starting master interface > - Changed

Re: [PATCH v2] selftests: add a generic testsuite for ethernet device

2017-06-29 Thread Fathi Boudra
On 4 April 2017 at 16:32, Corentin Labbe wrote: > This patch add a generic testsuite for testing ethernet network device driver. > > Signed-off-by: Corentin Labbe > --- > > Changes since v1: > - Test for starting master interface > - Changed printing format to "RESULT: $netdev: line" > - Use "ip

[PATCH v2 1/3] selftests: net: use LDLIBS instead of LDFLAGS

2017-06-29 Thread Fathi Boudra
in the LDFLAGS variable. https://lkml.org/lkml/2010/2/10/362 tools/perf: libraries must come after objects Link order matters, use LDLIBS instead of LDFLAGS to properly link against libnuma. Signed-off-by: Fathi Boudra <fathi.bou...@linaro.org> --- tools/testing/selftests/net/Makefile | 2 +- 1 file c

[PATCH v2 1/3] selftests: net: use LDLIBS instead of LDFLAGS

2017-06-29 Thread Fathi Boudra
in the LDFLAGS variable. https://lkml.org/lkml/2010/2/10/362 tools/perf: libraries must come after objects Link order matters, use LDLIBS instead of LDFLAGS to properly link against libnuma. Signed-off-by: Fathi Boudra --- tools/testing/selftests/net/Makefile | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 3/3] selftests: timers: use LDLIBS instead of LDFLAGS

2017-06-29 Thread Fathi Boudra
;de...@ti.com> Signed-off-by: Fathi Boudra <fathi.bou...@linaro.org> --- tools/testing/selftests/timers/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/timers/Makefile b/tools/testing/selftests/timers/Makefile index 5fa1d7e9a915..f48d7ca

[PATCH v2 3/3] selftests: timers: use LDLIBS instead of LDFLAGS

2017-06-29 Thread Fathi Boudra
Signed-off-by: Fathi Boudra --- tools/testing/selftests/timers/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/timers/Makefile b/tools/testing/selftests/timers/Makefile index 5fa1d7e9a915..f48d7ca9d9b1 100644 --- a/tools/testing/selftests/timers

[PATCH v2 2/3] selftests: seccomp: use LDLIBS instead of LDFLAGS

2017-06-29 Thread Fathi Boudra
/lkml/2010/2/10/362 tools/perf: libraries must come after objects Link order matters, use LDLIBS instead of LDFLAGS to properly link against libpthread. Signed-off-by: Fathi Boudra <fathi.bou...@linaro.org> --- tools/testing/selftests/seccomp/Makefile | 4 ++-- 1 file changed, 2 insertions

[PATCH v2 2/3] selftests: seccomp: use LDLIBS instead of LDFLAGS

2017-06-29 Thread Fathi Boudra
/lkml/2010/2/10/362 tools/perf: libraries must come after objects Link order matters, use LDLIBS instead of LDFLAGS to properly link against libpthread. Signed-off-by: Fathi Boudra --- tools/testing/selftests/seccomp/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 0/3] selftests: fixes for undefined reference (LDFLAGS -> LDLIBS)

2017-06-29 Thread Fathi Boudra
://lkml.org/lkml/2010/2/10/362 tools/perf: libraries must come after objects Link order matters. Changes in v2: * address SeongJae Park comment: instead of replacing LDFLAGS, append LDLIBS in the right order. Fathi Boudra (3): selftests: net: use LDLIBS instead of LDFLAGS selftests: seccomp

[PATCH v2 0/3] selftests: fixes for undefined reference (LDFLAGS -> LDLIBS)

2017-06-29 Thread Fathi Boudra
://lkml.org/lkml/2010/2/10/362 tools/perf: libraries must come after objects Link order matters. Changes in v2: * address SeongJae Park comment: instead of replacing LDFLAGS, append LDLIBS in the right order. Fathi Boudra (3): selftests: net: use LDLIBS instead of LDFLAGS selftests: seccomp

Re: [PATCH 2/3] selftests: seccomp: use LDLIBS instead of LDFLAGS

2017-06-29 Thread Fathi Boudra
On 29 June 2017 at 00:40, sjpark <sj38.p...@gmail.com> wrote: > Hi Fathi, > > On Wed, 28 Jun 2017, Fathi Boudra wrote: > >> seccomp_bpf fails to build due to undefined reference errors: >> >> aarch64-linaro-linux-gcc --sysroot=/build/tmp-rpb-glibc/sysroot

Re: [PATCH 2/3] selftests: seccomp: use LDLIBS instead of LDFLAGS

2017-06-29 Thread Fathi Boudra
On 29 June 2017 at 00:40, sjpark wrote: > Hi Fathi, > > On Wed, 28 Jun 2017, Fathi Boudra wrote: > >> seccomp_bpf fails to build due to undefined reference errors: >> >> aarch64-linaro-linux-gcc --sysroot=/build/tmp-rpb-glibc/sysroots/hikey >> -O2 -pipe -

[PATCH 1/1] selftests: gpio: use pkg-config to determine libmount CFLAGS/LDLIBS

2017-06-29 Thread Fathi Boudra
or link to libmount library. Signed-off-by: Fathi Boudra <fathi.bou...@linaro.org> --- tools/testing/selftests/gpio/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/gpio/Makefile b/tools/testing/selftests/gpio/Makefile index 298929

[PATCH 1/1] selftests: gpio: use pkg-config to determine libmount CFLAGS/LDLIBS

2017-06-29 Thread Fathi Boudra
or link to libmount library. Signed-off-by: Fathi Boudra --- tools/testing/selftests/gpio/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/gpio/Makefile b/tools/testing/selftests/gpio/Makefile index 298929df97e6..11eed0cdec2a 100644 --- a/tools

[PATCH 1/3] selftests: net: use LDLIBS instead of LDFLAGS

2017-06-28 Thread Fathi Boudra
in the LDFLAGS variable. https://lkml.org/lkml/2010/2/10/362 tools/perf: libraries must come after objects Link order matters, use LDLIBS instead of LDFLAGS to properly link against libnuma. Signed-off-by: Fathi Boudra <fathi.bou...@linaro.org> --- tools/testing/selftests/net/Makefile | 2 +- 1 file c

[PATCH 2/3] selftests: seccomp: use LDLIBS instead of LDFLAGS

2017-06-28 Thread Fathi Boudra
/lkml/2010/2/10/362 tools/perf: libraries must come after objects Link order matters, use LDLIBS instead of LDFLAGS to properly link against libpthread. Signed-off-by: Fathi Boudra <fathi.bou...@linaro.org> --- tools/testing/selftests/seccomp/Makefile | 4 ++-- 1 file changed, 2 insertions

[PATCH 1/3] selftests: net: use LDLIBS instead of LDFLAGS

2017-06-28 Thread Fathi Boudra
in the LDFLAGS variable. https://lkml.org/lkml/2010/2/10/362 tools/perf: libraries must come after objects Link order matters, use LDLIBS instead of LDFLAGS to properly link against libnuma. Signed-off-by: Fathi Boudra --- tools/testing/selftests/net/Makefile | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 2/3] selftests: seccomp: use LDLIBS instead of LDFLAGS

2017-06-28 Thread Fathi Boudra
/lkml/2010/2/10/362 tools/perf: libraries must come after objects Link order matters, use LDLIBS instead of LDFLAGS to properly link against libpthread. Signed-off-by: Fathi Boudra --- tools/testing/selftests/seccomp/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 3/3] selftests: timers: use LDLIBS instead of LDFLAGS

2017-06-28 Thread Fathi Boudra
;de...@ti.com> Signed-off-by: Fathi Boudra <fathi.bou...@linaro.org> --- tools/testing/selftests/timers/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/timers/Makefile b/tools/testing/selftests/timers/Makefile index 5fa1d7e9a915..f48d7ca

[PATCH 0/3] selftests: fixes for undefined reference (LDFLAGS -> LDLIBS)

2017-06-28 Thread Fathi Boudra
://lkml.org/lkml/2010/2/10/362 tools/perf: libraries must come after objects Link order matters. Fathi Boudra (3): selftests: net: use LDLIBS instead of LDFLAGS selftests: seccomp: use LDLIBS instead of LDFLAGS selftests: timers: use LDLIBS instead of LDFLAGS tools/testing/selftests/net

[PATCH 3/3] selftests: timers: use LDLIBS instead of LDFLAGS

2017-06-28 Thread Fathi Boudra
Signed-off-by: Fathi Boudra --- tools/testing/selftests/timers/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/timers/Makefile b/tools/testing/selftests/timers/Makefile index 5fa1d7e9a915..f48d7ca9d9b1 100644 --- a/tools/testing/selftests/timers

[PATCH 0/3] selftests: fixes for undefined reference (LDFLAGS -> LDLIBS)

2017-06-28 Thread Fathi Boudra
://lkml.org/lkml/2010/2/10/362 tools/perf: libraries must come after objects Link order matters. Fathi Boudra (3): selftests: net: use LDLIBS instead of LDFLAGS selftests: seccomp: use LDLIBS instead of LDFLAGS selftests: timers: use LDLIBS instead of LDFLAGS tools/testing/selftests/net

Re: [PATCH 1/1] selftests: timers: use LDLIBS instead of LDFLAGS to link against libpthread

2017-06-28 Thread Fathi Boudra
On 28 June 2017 at 18:11, Shuah Khan <sh...@kernel.org> wrote: > On 06/28/2017 09:00 AM, Fathi Boudra wrote: >> On 28 June 2017 at 17:41, Shuah Khan <sh...@kernel.org> wrote: >>> On 06/28/2017 08:37 AM, Fathi Boudra wrote: >>>> On 28 June 2017 at

Re: [PATCH 1/1] selftests: timers: use LDLIBS instead of LDFLAGS to link against libpthread

2017-06-28 Thread Fathi Boudra
On 28 June 2017 at 18:11, Shuah Khan wrote: > On 06/28/2017 09:00 AM, Fathi Boudra wrote: >> On 28 June 2017 at 17:41, Shuah Khan wrote: >>> On 06/28/2017 08:37 AM, Fathi Boudra wrote: >>>> On 28 June 2017 at 17:20, Shuah Khan wrote: >>>>&g

Re: [PATCH 1/1] selftests: timers: use LDLIBS instead of LDFLAGS to link against libpthread

2017-06-28 Thread Fathi Boudra
On 28 June 2017 at 17:41, Shuah Khan <sh...@kernel.org> wrote: > On 06/28/2017 08:37 AM, Fathi Boudra wrote: >> On 28 June 2017 at 17:20, Shuah Khan <sh...@kernel.org> wrote: >>> On 06/28/2017 03:18 AM, Fathi Boudra wrote: >>>> timers test

Re: [PATCH 1/1] selftests: timers: use LDLIBS instead of LDFLAGS to link against libpthread

2017-06-28 Thread Fathi Boudra
On 28 June 2017 at 17:41, Shuah Khan wrote: > On 06/28/2017 08:37 AM, Fathi Boudra wrote: >> On 28 June 2017 at 17:20, Shuah Khan wrote: >>> On 06/28/2017 03:18 AM, Fathi Boudra wrote: >>>> timers test fails to build due to undefined reference: >>>>

Re: [PATCH 1/1] selftests: timers: use LDLIBS instead of LDFLAGS to link against libpthread

2017-06-28 Thread Fathi Boudra
On 28 June 2017 at 17:20, Shuah Khan <sh...@kernel.org> wrote: > On 06/28/2017 03:18 AM, Fathi Boudra wrote: >> timers test fails to build due to undefined reference: >> >> aarch64-linaro-linux-gcc --sysroot=/build/tmp-rpb-glibc/sysroots/hikey >> -O2 -pipe -g -

Re: [PATCH 1/1] selftests: timers: use LDLIBS instead of LDFLAGS to link against libpthread

2017-06-28 Thread Fathi Boudra
On 28 June 2017 at 17:20, Shuah Khan wrote: > On 06/28/2017 03:18 AM, Fathi Boudra wrote: >> timers test fails to build due to undefined reference: >> >> aarch64-linaro-linux-gcc --sysroot=/build/tmp-rpb-glibc/sysroots/hikey >> -O2 -pipe -g -feliminate-unused-debug-

Re: [PATCH] selftests: net: use LDLIBS instead of LDFLAGS to link against libnuma

2017-06-28 Thread Fathi Boudra
On 28 June 2017 at 17:19, Shuah Khan <sh...@kernel.org> wrote: > On 06/28/2017 05:19 AM, Fathi Boudra wrote: >> reuseport_bpf_numa fails to build with undefined reference: >> >> aarch64-linaro-linux-gcc >> --sysroot=/build/tmp-rpb-glibc/sysroots/hikey -Wall

Re: [PATCH] selftests: net: use LDLIBS instead of LDFLAGS to link against libnuma

2017-06-28 Thread Fathi Boudra
On 28 June 2017 at 17:19, Shuah Khan wrote: > On 06/28/2017 05:19 AM, Fathi Boudra wrote: >> reuseport_bpf_numa fails to build with undefined reference: >> >> aarch64-linaro-linux-gcc >> --sysroot=/build/tmp-rpb-glibc/sysroots/hikey -Wall >> -Wl,--no-as-needed

[PATCH] selftests: net: use LDLIBS instead of LDFLAGS to link against libnuma

2017-06-28 Thread Fathi Boudra
/kselftests/4.12-r0/linux-4.12-rc7/tools/testing/selftests/net/reuseport_bpf_numa.c:233: undefined reference to `numa_max_node' Use LDLIBS instead of LDFLAGS to properly link against libnuma. Signed-off-by: Fathi Boudra <fathi.bou...@linaro.org> --- tools/testing/selftests/net/Makefile | 2 +-

[PATCH] selftests: net: use LDLIBS instead of LDFLAGS to link against libnuma

2017-06-28 Thread Fathi Boudra
/kselftests/4.12-r0/linux-4.12-rc7/tools/testing/selftests/net/reuseport_bpf_numa.c:233: undefined reference to `numa_max_node' Use LDLIBS instead of LDFLAGS to properly link against libnuma. Signed-off-by: Fathi Boudra --- tools/testing/selftests/net/Makefile | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 1/1] selftests: timers: use LDLIBS instead of LDFLAGS to link against libpthread

2017-06-28 Thread Fathi Boudra
-by: Denys Dmytriyenko <de...@ti.com> Signed-off-by: Fathi Boudra <fathi.bou...@linaro.org> --- tools/testing/selftests/timers/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/timers/Makefile b/tools/testing/selftests/timers/Ma

[PATCH 1/1] selftests: timers: use LDLIBS instead of LDFLAGS to link against libpthread

2017-06-28 Thread Fathi Boudra
-by: Denys Dmytriyenko Signed-off-by: Fathi Boudra --- tools/testing/selftests/timers/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/timers/Makefile b/tools/testing/selftests/timers/Makefile index 5fa1d7e9a915..f48d7ca9d9b1 100644 --- a/tools

Re: [PATCH 2/3] selftests/gpio: fix build error

2017-06-28 Thread Fathi Boudra
to resolve properly. > > Fixes: a8ba798bc8ec ('selftests: enable O and KBUILD_OUTPUT') > > Signed-off-by: Marcin Nowakowski <marcin.nowakow...@imgtec.com> FWIW, I've tested the patch and it fixes the issue mentioned. Tested-by: Fathi Boudra <fathi.bou...@linaro.org> > --

Re: [PATCH 2/3] selftests/gpio: fix build error

2017-06-28 Thread Fathi Boudra
ba798bc8ec ('selftests: enable O and KBUILD_OUTPUT') > > Signed-off-by: Marcin Nowakowski FWIW, I've tested the patch and it fixes the issue mentioned. Tested-by: Fathi Boudra > --- > tools/testing/selftests/gpio/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion

Re: [PATCH 0/3] kselftest build errors

2017-06-28 Thread Fathi Boudra
On 23 June 2017 at 22:44, Shuah Khan wrote: > On 06/23/2017 04:37 AM, Marcin Nowakowski wrote: >> This patch series fixes build errors observed when building net, memfd, gpio >> and intel_pstate tests >> >> Marcin Nowakowski (3): >> selftests/{net,memfd}: fix undefined

Re: [PATCH 0/3] kselftest build errors

2017-06-28 Thread Fathi Boudra
On 23 June 2017 at 22:44, Shuah Khan wrote: > On 06/23/2017 04:37 AM, Marcin Nowakowski wrote: >> This patch series fixes build errors observed when building net, memfd, gpio >> and intel_pstate tests >> >> Marcin Nowakowski (3): >> selftests/{net,memfd}: fix undefined references to external

Re: [PATCH 1/1] selftests: sync: add config fragment for testing sync framework

2017-05-11 Thread Fathi Boudra
On 11 May 2017 at 07:52, Michael Ellerman <m...@ellerman.id.au> wrote: > Fathi Boudra <fathi.bou...@linaro.org> writes: > >> Unless the software synchronization objects (CONFIG_SW_SYNC) is enabled, >> the sync test will fail: >> >> Additi

Re: [PATCH 1/1] selftests: sync: add config fragment for testing sync framework

2017-05-11 Thread Fathi Boudra
On 11 May 2017 at 07:52, Michael Ellerman wrote: > Fathi Boudra writes: > >> Unless the software synchronization objects (CONFIG_SW_SYNC) is enabled, >> the sync test will fail: >> >> Additional Information: >> Running tests in sync >> =

[PATCH 1/1] selftests: sync: add config fragment for testing sync framework

2017-05-04 Thread Fathi Boudra
] Failure creating fence [FAIL] sync errors: 10 selftests: sync_test [FAIL] Add a config fragment with the relevant configuration required in order to run the sync test. Signed-off-by: Fathi Boudra <fathi.bou...@linaro.org> --- tools/testing/selftests/sync/config | 4 1 file chan

[PATCH 1/1] selftests: sync: add config fragment for testing sync framework

2017-05-04 Thread Fathi Boudra
] Failure creating fence [FAIL] sync errors: 10 selftests: sync_test [FAIL] Add a config fragment with the relevant configuration required in order to run the sync test. Signed-off-by: Fathi Boudra --- tools/testing/selftests/sync/config | 4 1 file changed, 4 insertions(+) create mode

Re: [PATCH v2] selftests: gpio: add config fragment for gpio-mockup

2017-04-19 Thread Fathi Boudra
gentle ping On 4 April 2017 at 03:52, Bamvor Zhang Jian <bamvor.zhangj...@linaro.org> wrote: > Hi, > > On 31 March 2017 at 16:41, Fathi Boudra <fathi.bou...@linaro.org> wrote: >> The gpio test requires to insert the gpio mockup module (CONFIG_GPIO_MOCKUP). >&g

Re: [PATCH v2] selftests: gpio: add config fragment for gpio-mockup

2017-04-19 Thread Fathi Boudra
gentle ping On 4 April 2017 at 03:52, Bamvor Zhang Jian wrote: > Hi, > > On 31 March 2017 at 16:41, Fathi Boudra wrote: >> The gpio test requires to insert the gpio mockup module (CONFIG_GPIO_MOCKUP). >> The gpio mockup driver depends on gpiolib (CONFIG_GPIOLIB).

Re: [PATCH 1/1] selftests: breakpoints: allow to cross-compile for aarch64/arm64

2017-04-19 Thread Fathi Boudra
gentle ping On 22 March 2017 at 20:04, Fathi Boudra <fathi.bou...@linaro.org> wrote: > To build breakpoint_test_arm64, ARCH value is only tested for "aarch64". > It covers only the native build because it's computed from uname -m output. > For cross-compilation, ARCH is

Re: [PATCH 1/1] selftests: breakpoints: allow to cross-compile for aarch64/arm64

2017-04-19 Thread Fathi Boudra
gentle ping On 22 March 2017 at 20:04, Fathi Boudra wrote: > To build breakpoint_test_arm64, ARCH value is only tested for "aarch64". > It covers only the native build because it's computed from uname -m output. > For cross-compilation, ARCH is set to arm64 and preve

Re: [PATCH v2] selftests: gpio: fix Makefile

2017-03-31 Thread Fathi Boudra
On 30 March 2017 at 16:14, Bamvor Zhang Jian <bamvor.zhangj...@linaro.org> wrote: > Hi, Fathi > > Thanks for your patch. > > On 28 March 2017 at 13:36, Fathi Boudra <fathi.bou...@linaro.org> wrote: >> * Fix hardcoded and misplaced libmount headers. Use pkg-config

Re: [PATCH v2] selftests: gpio: fix Makefile

2017-03-31 Thread Fathi Boudra
On 30 March 2017 at 16:14, Bamvor Zhang Jian wrote: > Hi, Fathi > > Thanks for your patch. > > On 28 March 2017 at 13:36, Fathi Boudra wrote: >> * Fix hardcoded and misplaced libmount headers. Use pkg-config instead to >> figure out CFLAGS/LDLIBS, fixing also their

[PATCH v2] selftests: gpio: add config fragment for gpio-mockup

2017-03-31 Thread Fathi Boudra
The gpio test requires to insert the gpio mockup module (CONFIG_GPIO_MOCKUP). The gpio mockup driver depends on gpiolib (CONFIG_GPIOLIB). CONFIG_GPIO_SYSFS is selected automatically by the gpio mockup driver. Tested on x86_64 and arm64 with defconfig and kselftest-merge. Signed-off-by: Fathi

[PATCH v2] selftests: gpio: add config fragment for gpio-mockup

2017-03-31 Thread Fathi Boudra
The gpio test requires to insert the gpio mockup module (CONFIG_GPIO_MOCKUP). The gpio mockup driver depends on gpiolib (CONFIG_GPIOLIB). CONFIG_GPIO_SYSFS is selected automatically by the gpio mockup driver. Tested on x86_64 and arm64 with defconfig and kselftest-merge. Signed-off-by: Fathi

[PATCH] selftests: gpio: add config fragment for gpio-mockup

2017-03-28 Thread Fathi Boudra
The gpio test requires to insert gpio-mockup module. Signed-off-by: Fathi Boudra <fathi.bou...@linaro.org> --- tools/testing/selftests/gpio/config | 1 + 1 file changed, 1 insertion(+) create mode 100644 tools/testing/selftests/gpio/config diff --git a/tools/testing/selftests/gpio/con

[PATCH] selftests: gpio: add config fragment for gpio-mockup

2017-03-28 Thread Fathi Boudra
The gpio test requires to insert gpio-mockup module. Signed-off-by: Fathi Boudra --- tools/testing/selftests/gpio/config | 1 + 1 file changed, 1 insertion(+) create mode 100644 tools/testing/selftests/gpio/config diff --git a/tools/testing/selftests/gpio/config b/tools/testing/selftests

[PATCH v2] selftests: gpio: fix Makefile

2017-03-27 Thread Fathi Boudra
. * Improve readibility: - introduce GPIODIR/GPIOOBJ/GPIOINC variables - split CFLAGS on multiple lines Signed-off-by: Fathi Boudra <fathi.bou...@linaro.org> --- in v2: * per Michael Ellerman request, revert to use exported headers instead of uapi. tools/testing/selftests/gpio/Makefil

[PATCH v2] selftests: gpio: fix Makefile

2017-03-27 Thread Fathi Boudra
. * Improve readibility: - introduce GPIODIR/GPIOOBJ/GPIOINC variables - split CFLAGS on multiple lines Signed-off-by: Fathi Boudra --- in v2: * per Michael Ellerman request, revert to use exported headers instead of uapi. tools/testing/selftests/gpio/Makefile | 31

Re: [PATCH] selftests: gpio: fix Makefile

2017-03-27 Thread Fathi Boudra
On 28 March 2017 at 06:00, Michael Ellerman <m...@ellerman.id.au> wrote: > Fathi Boudra <fathi.bou...@linaro.org> writes: >> diff --git a/tools/testing/selftests/gpio/Makefile >> b/tools/testing/selftests/gpio/Makefile >> index 205e4d10e085..714f1f7df04d 100644

Re: [PATCH] selftests: gpio: fix Makefile

2017-03-27 Thread Fathi Boudra
On 28 March 2017 at 06:00, Michael Ellerman wrote: > Fathi Boudra writes: >> diff --git a/tools/testing/selftests/gpio/Makefile >> b/tools/testing/selftests/gpio/Makefile >> index 205e4d10e085..714f1f7df04d 100644 >> --- a/tools/testing/selftests/gpio/Makefile >&

[PATCH] selftests: gpio: fix Makefile

2017-03-24 Thread Fathi Boudra
is not supported by the top-level lib.mk. * Remove dependency to headers_install as we can simply use gpio.h from user space API directly. * Improve readibility: - introduce GPIODIR/GPIOOBJ variables - split CFLAGS on multiple lines Signed-off-by: Fathi Boudra <fathi.bou...@linaro.

[PATCH] selftests: gpio: fix Makefile

2017-03-24 Thread Fathi Boudra
is not supported by the top-level lib.mk. * Remove dependency to headers_install as we can simply use gpio.h from user space API directly. * Improve readibility: - introduce GPIODIR/GPIOOBJ variables - split CFLAGS on multiple lines Signed-off-by: Fathi Boudra --- tools/testing/selftests

[PATCH 1/1] selftests: breakpoints: allow to cross-compile for aarch64/arm64

2017-03-22 Thread Fathi Boudra
ompilation of the test. Note: glibc is missing several of the TRAP_* constants in the userspace definitions. Specifically TRAP_BRANCH and TRAP_HWBKPT. See https://sourceware.org/bugzilla/show_bug.cgi?id=21286 Signed-off-by: Fathi Boudra <fathi.bou...@linaro.org> --- tools/testing/selft

[PATCH 1/1] selftests: breakpoints: allow to cross-compile for aarch64/arm64

2017-03-22 Thread Fathi Boudra
ompilation of the test. Note: glibc is missing several of the TRAP_* constants in the userspace definitions. Specifically TRAP_BRANCH and TRAP_HWBKPT. See https://sourceware.org/bugzilla/show_bug.cgi?id=21286 Signed-off-by: Fathi Boudra --- tools/testing/selftests/breakpoints/Makefile | 2

[PATCH 1/3] selftests: lib: add config fragment for bitmap, printf and prime numbers tests

2017-03-20 Thread Fathi Boudra
test_bitmap, test_printf and prime_numbers are expected to be built as modules. Signed-off-by: Fathi Boudra <fathi.bou...@linaro.org> --- tools/testing/selftests/lib/config | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tools/testing/selftests/lib/config diff --git a/tools/t

[PATCH 2/3] selftests: ftrace: add CONFIG_KPROBES=y to the config fragment

2017-03-20 Thread Fathi Boudra
ftrace/kprobe tests require kprobes events. Enable kprobes to run these tests. Signed-off-by: Fathi Boudra <fathi.bou...@linaro.org> --- tools/testing/selftests/ftrace/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/ftrace/config b/tools/testing/sel

[PATCH 1/3] selftests: lib: add config fragment for bitmap, printf and prime numbers tests

2017-03-20 Thread Fathi Boudra
test_bitmap, test_printf and prime_numbers are expected to be built as modules. Signed-off-by: Fathi Boudra --- tools/testing/selftests/lib/config | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tools/testing/selftests/lib/config diff --git a/tools/testing/selftests/lib/config b

[PATCH 2/3] selftests: ftrace: add CONFIG_KPROBES=y to the config fragment

2017-03-20 Thread Fathi Boudra
ftrace/kprobe tests require kprobes events. Enable kprobes to run these tests. Signed-off-by: Fathi Boudra --- tools/testing/selftests/ftrace/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/ftrace/config b/tools/testing/selftests/ftrace/config index

[PATCH 3/3] selftests: vm: add CONFIG_SYSVIPC=y to the config fragment

2017-03-20 Thread Fathi Boudra
vm tests rely on shared memory settings. Enable system V IPC to run these tests. Signed-off-by: Fathi Boudra <fathi.bou...@linaro.org> --- tools/testing/selftests/vm/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/vm/config b/tools/testing/selftests/vm/

[PATCH 3/3] selftests: vm: add CONFIG_SYSVIPC=y to the config fragment

2017-03-20 Thread Fathi Boudra
vm tests rely on shared memory settings. Enable system V IPC to run these tests. Signed-off-by: Fathi Boudra --- tools/testing/selftests/vm/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/vm/config b/tools/testing/selftests/vm/config index 698c7ed28a26

[PATCH 0/3] selftests: config fragments update

2017-03-20 Thread Fathi Boudra
kselftest-merge target allows to enable the dependencies of kernel config for kselftest testcases. Add config dependencies to run ftrace, lib and vm tests. Fathi Boudra (3): selftests: lib: add config fragment for bitmap, printf and prime numbers tests selftests: ftrace: add

[PATCH 0/3] selftests: config fragments update

2017-03-20 Thread Fathi Boudra
kselftest-merge target allows to enable the dependencies of kernel config for kselftest testcases. Add config dependencies to run ftrace, lib and vm tests. Fathi Boudra (3): selftests: lib: add config fragment for bitmap, printf and prime numbers tests selftests: ftrace: add

Re: [PATCH 1/2] selftests: keep consistency for uname -m usage

2017-03-17 Thread Fathi Boudra
On 15 March 2017 at 17:56, Shuah Khan <sh...@kernel.org> wrote: > Hi Fathi, > > On 03/15/2017 07:15 AM, Fathi Boudra wrote: >> powerpc selftests allow to override ARCH for cross-compilation by making >> the first ARCH assignment weak. >> Use the same approach in

Re: [PATCH 1/2] selftests: keep consistency for uname -m usage

2017-03-17 Thread Fathi Boudra
On 15 March 2017 at 17:56, Shuah Khan wrote: > Hi Fathi, > > On 03/15/2017 07:15 AM, Fathi Boudra wrote: >> powerpc selftests allow to override ARCH for cross-compilation by making >> the first ARCH assignment weak. >> Use the same approach in breakpoints, ipc and prctl

[PATCH 2/2] selftests: lib: add config fragment for bitmap, printf and prime numbers tests

2017-03-15 Thread Fathi Boudra
test_bitmap, test_printf and prime_numbers are expected to be built as modules. Signed-off-by: Fathi Boudra <fathi.bou...@linaro.org> --- tools/testing/selftests/lib/config | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tools/testing/selftests/lib/config diff --git a/tools/t

[PATCH 2/2] selftests: lib: add config fragment for bitmap, printf and prime numbers tests

2017-03-15 Thread Fathi Boudra
test_bitmap, test_printf and prime_numbers are expected to be built as modules. Signed-off-by: Fathi Boudra --- tools/testing/selftests/lib/config | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tools/testing/selftests/lib/config diff --git a/tools/testing/selftests/lib/config b

[PATCH 1/2] selftests: keep consistency for uname -m usage

2017-03-15 Thread Fathi Boudra
powerpc selftests allow to override ARCH for cross-compilation by making the first ARCH assignment weak. Use the same approach in breakpoints, ipc and prctl tests to: - keep uname usage consistent across selftests - make it easier to cross-compile Signed-off-by: Fathi Boudra <fathi.

[PATCH 1/2] selftests: keep consistency for uname -m usage

2017-03-15 Thread Fathi Boudra
powerpc selftests allow to override ARCH for cross-compilation by making the first ARCH assignment weak. Use the same approach in breakpoints, ipc and prctl tests to: - keep uname usage consistent across selftests - make it easier to cross-compile Signed-off-by: Fathi Boudra --- tools/testing

[PATCH 1/1] tools/perf: add missing include debug.h for arm/arm64

2014-09-22 Thread Fathi Boudra
:20:3: error: nested extern declaration of 'pr_debug' [-Werror=nested-externs] cc1: all warnings being treated as errors make[2]: *** [arch/arm/tests/dwarf-unwind.o] Error 1 Signed-off-by: Fathi Boudra --- tools/perf/arch/arm/tests/dwarf-unwind.c | 1 + tools/perf/arch/arm/util/unwi

[PATCH 1/1] tools/perf: add missing include debug.h for arm/arm64

2014-09-22 Thread Fathi Boudra
extern declaration of 'pr_debug' [-Werror=nested-externs] cc1: all warnings being treated as errors make[2]: *** [arch/arm/tests/dwarf-unwind.o] Error 1 Signed-off-by: Fathi Boudra fathi.bou...@linaro.org --- tools/perf/arch/arm/tests/dwarf-unwind.c | 1 + tools/perf/arch/arm/util/unwind

Re: [Linaro-QA-Service] [linux-next] Snowball build broken

2013-05-17 Thread Fathi Boudra
Hi Samuel, On 16 May 2013 12:52, Samuel Ortiz wrote: > Hi Maresh, > > On Wed, May 01, 2013 at 03:15:26PM +0530, Naresh Kamboju wrote: >> Ping. >> >> On 17 April 2013 21:16, Linus Walleij wrote: >> > On Tue, Apr 16, 2013 at 3:48 PM, Naresh Kamboju >> > wrote: >> >> On 12 April 2013 04:07, Linus

Re: [Linaro-QA-Service] [linux-next] Snowball build broken

2013-05-17 Thread Fathi Boudra
Hi Samuel, On 16 May 2013 12:52, Samuel Ortiz sa...@linux.intel.com wrote: Hi Maresh, On Wed, May 01, 2013 at 03:15:26PM +0530, Naresh Kamboju wrote: Ping. On 17 April 2013 21:16, Linus Walleij linus.wall...@linaro.org wrote: On Tue, Apr 16, 2013 at 3:48 PM, Naresh Kamboju