Re: [PATCH] Add --disable-{demo,testsuite} options

2021-08-13 Thread Fabrice Fontaine via Xenomai
Le ven. 13 août 2021 à 16:29, Jan Kiszka a écrit : > > On 13.08.21 15:17, Fabrice Fontaine wrote: > > Le ven. 13 août 2021 à 10:54, Jan Kiszka a écrit : > >> > >> On 13.08.21 10:12, Fabrice Fontaine via Xenomai wrote: > >>> Allow the user to disable demo and testsuite to avoid the following >

[PATCH v2,2/2] Add --disable-{demo,testsuite} options

2021-08-13 Thread Fabrice Fontaine via Xenomai
Allow the user to disable demo and testsuite to decrease compilation time and save disk space. Signed-off-by: Fabrice Fontaine --- Makefile.am | 12 ++-- configure.ac | 12 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index

[PATCH v2,1/2] fix build on arc and riscv32

2021-08-13 Thread Fabrice Fontaine via Xenomai
Fix the following build failures on arc and riscv32 (same issue in demo/alchemy/altency.c and testsuite/latency/latency.c): altency.c: In function ‘display’: altency.c:262:21: error: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘time_t’ {aka ‘long long int’}

[PATCH] linux-xenomai: Disable I-pipe debugging on bbb also for 4.4-latest

2021-08-13 Thread Jan Kiszka via Xenomai
From: Jan Kiszka This was missed by 1ba9500dd5. Signed-off-by: Jan Kiszka --- recipes-kernel/linux/linux-xenomai_latest.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-kernel/linux/linux-xenomai_latest.bb b/recipes-kernel/linux/linux-xenomai_latest.bb index 09df461..836fa52

Re: [PATCH v2] testsuite/smokey: Fixing a registry leak of the posix_select test

2021-08-13 Thread Jan Kiszka via Xenomai
On 13.08.21 16:33, Florian Bezdeka wrote: > According to POSIX message queues have kernel persistence, which means > they are not cleaned up until the next reboot. > > The test has a mq_unlink() as "precondition", so it will clean up > failed test runs silently but /proc/xenomai/registry/usage

Re: [xenomai-images][PATCH] linux-xenomai: Add tracing support to arm64

2021-08-13 Thread Jan Kiszka via Xenomai
On 13.08.21 13:36, Florian Bezdeka wrote: > The tracing support was disabled on arm64 but enabled on all other > targets we support. Taking the trace configuration from armhf to be able > to trace on arm64 as well. > > Signed-off-by: Florian Bezdeka > --- >

[PATCH v2] testsuite/smokey: Fixing a registry leak of the posix_select test

2021-08-13 Thread Florian Bezdeka via Xenomai
According to POSIX message queues have kernel persistence, which means they are not cleaned up until the next reboot. The test has a mq_unlink() as "precondition", so it will clean up failed test runs silently but /proc/xenomai/registry/usage will still report a "leak" once the test has

Re: [PATCH] Add --disable-{demo,testsuite} options

2021-08-13 Thread Jan Kiszka via Xenomai
On 13.08.21 15:17, Fabrice Fontaine wrote: > Le ven. 13 août 2021 à 10:54, Jan Kiszka a écrit : >> >> On 13.08.21 10:12, Fabrice Fontaine via Xenomai wrote: >>> Allow the user to disable demo and testsuite to avoid the following >>> build failures on arc and riscv32: >> >> Are you working on

Re: [PATCH] Add --disable-{demo,testsuite} options

2021-08-13 Thread Fabrice Fontaine via Xenomai
Le ven. 13 août 2021 à 10:54, Jan Kiszka a écrit : > > On 13.08.21 10:12, Fabrice Fontaine via Xenomai wrote: > > Allow the user to disable demo and testsuite to avoid the following > > build failures on arc and riscv32: > > Are you working on ports to those archs? Or is xenomai userland just >

Re: [PATCH] testsuite/smokey: Fixing a registry leak of the posix_select test

2021-08-13 Thread Bezdeka, Florian via Xenomai
On Fri, 2021-08-13 at 08:59 +0200, Jan Kiszka wrote: > On 12.08.21 18:38, Florian Bezdeka wrote: > > According to POSIX message queues have kernel persistence, which means > > they are not cleaned up until the next reboot. > > > > The test has a mq_unlink() as "precondition", so it will clean up

[xenomai-images][PATCH] linux-xenomai: Add tracing support to arm64

2021-08-13 Thread Florian Bezdeka via Xenomai
The tracing support was disabled on arm64 but enabled on all other targets we support. Taking the trace configuration from armhf to be able to trace on arm64 as well. Signed-off-by: Florian Bezdeka --- recipes-kernel/linux/files/arm64_defconfig | 5 - 1 file changed, 4 insertions(+), 1

[xenomai-images][PATCH] ci: Do not rely on S3_BUCKET_URL being terminated by a slash

2021-08-13 Thread Jan Kiszka via Xenomai
From: Jan Kiszka Duplicate slashes cause no harm, but a missing can lead to confusing errors. Signed-off-by: Jan Kiszka --- Inserted before "ci: Add default for S3_BUCKET_URL" which didn't add a slash, thus triggered this issue. scripts/deploy_to_aws.sh | 2 +- 1 file changed, 1

[xenomai-images][PATCH v2] ci: Add default for S3_BUCKET_URL

2021-08-13 Thread Jan Kiszka via Xenomai
From: Jan Kiszka This corresponds to the default for LAVA_ARTIFACTS_URL. Signed-off-by: Jan Kiszka --- Changes in v2: - reorder to fix failing consistency check before default was assigned scripts/deploy_to_aws.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] Add --disable-{demo,testsuite} options

2021-08-13 Thread Jan Kiszka via Xenomai
On 13.08.21 10:12, Fabrice Fontaine via Xenomai wrote: > Allow the user to disable demo and testsuite to avoid the following > build failures on arc and riscv32: Are you working on ports to those archs? Or is xenomai userland just prematurely built for those in buildroot? > > latency.c: In

[PATCH] Add --disable-{demo,testsuite} options

2021-08-13 Thread Fabrice Fontaine via Xenomai
Allow the user to disable demo and testsuite to avoid the following build failures on arc and riscv32: latency.c: In function 'display': latency.c:326:21: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Werror=format=] 326 |

Re: [PATCH v4 3/5] y2038: cobalt/posix/muqueue: Adding mq_timedreceive64

2021-08-13 Thread Jan Kiszka via Xenomai
On 13.08.21 08:53, Jan Kiszka via Xenomai wrote: > On 12.08.21 18:28, Florian Bezdeka wrote: >> From: Song Chen >> >> Add a syscall specific for mq_timedreceive64 with 64bit time_t. >> >> Signed-off-by: Song Chen >> [Florian: >> - Reformat commit msg >> - relocate code >> - tracing >> -

Re: [PATCH v4 0/3] y2038: Adding event_wait64()

2021-08-13 Thread Jan Kiszka via Xenomai
On 12.08.21 09:09, Florian Bezdeka wrote: > Hi! > > Just another y2038 related syscall, once again based on v1 sent out by > Song and rebased to current next with some code- and test-cleanups applied. > > @Song: > This one was the last one in my inbox. Please make sure that all > following

Re: [PATCH v2 0/3] y2038: Adding monitor_wait64()

2021-08-13 Thread Jan Kiszka via Xenomai
On 11.08.21 10:11, Florian Bezdeka wrote: > Hi! > > Just another y2038 related syscall, once again based on v1 sent out by > Song and rebased to current next. > > Best regards, > Florian > > Florian Bezdeka (2): > y2038: cobalt/posix/monitor: Adding monitor_wait64 > y2038:

Re: [PATCH] testsuite/smokey: Fixing a registry leak of the posix_select test

2021-08-13 Thread Jan Kiszka via Xenomai
On 12.08.21 18:38, Florian Bezdeka wrote: > According to POSIX message queues have kernel persistence, which means > they are not cleaned up until the next reboot. > > The test has a mq_unlink() as "precondition", so it will clean up > failed test runs silently but /proc/xenomai/registry/usage

Re: [PATCH v4 3/5] y2038: cobalt/posix/muqueue: Adding mq_timedreceive64

2021-08-13 Thread Jan Kiszka via Xenomai
On 12.08.21 18:28, Florian Bezdeka wrote: > From: Song Chen > > Add a syscall specific for mq_timedreceive64 with 64bit time_t. > > Signed-off-by: Song Chen > [Florian: > - Reformat commit msg > - relocate code > - tracing > - fix syscall declarations > ] > Signed-off-by: Florian