[xenomai-image PATCH v2 2/5] recipes-kernel: armhf_config: enable IPIPE_DEBUG for armhf by default

2021-07-26 Thread Hongzhan Chen via Xenomai
Enable IPIPE_DEBUG for armhf by default. We enable IPIPE_DEBUG for all arch types uniformly by default in order to controll enabling and disabling them via same method. Signed-off-by: Hongzhan Chen --- recipes-kernel/linux/files/armhf_defconfig | 15 +-- 1 file changed, 13

[xenomai-image PATCH v2 5/5] Add kas option for swithing off debug

2021-07-26 Thread Hongzhan Chen via Xenomai
For performance or latency testing and demonstration, debug switches should be off but it is on by default. Signed-off-by: Hongzhan Chen --- opt-set-nodbg.yml | 20 1 file changed, 20 insertions(+) create mode 100644 opt-set-nodbg.yml diff --git a/opt-set-nodbg.yml

[xenomai-image PATCH v2 0/5] control applying of no-debug config

2021-07-26 Thread Hongzhan Chen via Xenomai
1. enable IPIPE_DEBUG uniformly for all arch by default in order to use uniform method to control it via applying config fragment or not. 2. create common config fragment to switch debug off. 3. add control to apply config fragment or not. 4. add kas option to control applying config fragment.

[xenomai-image PATCH v2 4/5] recipes-kernel/linux: control appyling of no debug config fragment

2021-07-26 Thread Hongzhan Chen via Xenomai
For performance or latency testing and demonstration, debug switches should be off but it is on by default. Signed-off-by: Hongzhan Chen --- recipes-kernel/linux/linux-xenomai.inc | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git

[xenomai-image PATCH v2 1/5] recipes-kernel: arm64_config: enable IPIPE_DEBUG for arm64 by default

2021-07-26 Thread Hongzhan Chen via Xenomai
Enable IPIPE_DEBUG for arm64 by default. We enable IPIPE_DEBUG for all arch types uniformly by default in order to controll enabling and disabling them via same method. Signed-off-by: Hongzhan Chen --- recipes-kernel/linux/files/arm64_defconfig | 9 + 1 file changed, 5 insertions(+), 4

[xenomai-image PATCH v2 3/5] recipes-kernel: add common config fragment file to disable debug

2021-07-26 Thread Hongzhan Chen via Xenomai
Add common config fragment file to disable debug. For performance or latency testing and demonstration, debug switches should be off. Signed-off-by: Hongzhan Chen --- recipes-kernel/linux/files/common_nodbg.cfg | 1 + 1 file changed, 1 insertion(+) create mode 100644

Re: [PATCH v2] Enable retrieving of RTNET network packet timestamp OOB using recvmsg()

2021-07-26 Thread Jan Kiszka via Xenomai
On 17.05.21 11:44, François Legal via Xenomai wrote: > This patch enables retrieving, in realtime application, of RTNET enabled > adapters packet timestamps. > It uses the linux semantic SO_TIMESTAMPNS, and the linux code to put the > timestamp in the control_msg structure. > > I tested this

[PATCH 1/3] y2038: cobalt/posix/monitor: Adding monitor_wait64

2021-07-26 Thread Song Chen via Xenomai
Add a syscall specific for monitor_wait with 64bit time_t. Signed-off-by: Song Chen --- include/cobalt/uapi/syscall.h | 2 +- kernel/cobalt/posix/monitor.c | 31 ++- kernel/cobalt/posix/monitor.h | 9 + kernel/cobalt/posix/syscall32.c | 8

[PATCH 3/3] y2038: testsuite/smokey/y2038: testcase for monitor_wait64

2021-07-26 Thread Song Chen via Xenomai
add test case for monitor_wait64 in testsuite Signed-off-by: Song Chen --- testsuite/smokey/y2038/syscall-tests.c | 81 +- 1 file changed, 80 insertions(+), 1 deletion(-) diff --git a/testsuite/smokey/y2038/syscall-tests.c

[PATCH 2/3] y2038: lib/cobalt/internal: dispatch monitor_wait

2021-07-26 Thread Song Chen via Xenomai
If sizeof time_t bigger than 4, which means glibc supports 64bit timespec, go to monitor_wait64. otherwise, go to original monitor_wait. Signed-off-by: Song Chen --- lib/cobalt/internal.c | 5 + 1 file changed, 5 insertions(+) diff --git a/lib/cobalt/internal.c b/lib/cobalt/internal.c

[PATCH 0/3] [florian/y2038]y2038: monitor_wait for timespec64

2021-07-26 Thread Song Chen via Xenomai
This patch serial is aimed to introduce a new syscall monitor_wait64 which is specific for 64-bit time_t. Song Chen (3): y2038: cobalt/posix/monitor: Adding monitor_wait64 y2038: lib/cobalt/internal: dispatch monitor_wait y2038: testsuite/smokey/y2038: testcase for monitor_wait64