[I-PIPE] ipipe-core-4.19.144-arm64-7 released

2020-09-21 Thread xenomai--- via Xenomai
Download URL: https://xenomai.org/downloads/ipipe/v4.x/arm64/ipipe-core-4.19.144-arm64-7.patch Repository: https://git.xenomai.org/ipipe-arm64 Release tag: ipipe-core-4.19.144-arm64-7

[PATCH v2] cobalt/select: replace APC with irq_work

2020-09-21 Thread hongzha1 via Xenomai
schedule irq_work to execute xnselector_destroy_loop instead of calling __xnapc_schedule, which is to replace APC Signed-off-by: hongzha1 --- this patch is for wip/dovetail branch. diff --git a/kernel/cobalt/select.c b/kernel/cobalt/select.c index c3a3d34b7..a78d3220e 100644 --- a/kernel/cobalt

[PATCH] cobalt/select: replace APC with irq_work

2020-09-21 Thread hongzha1 via Xenomai
schedule irq_work to execute xnselector_destroy_loop instead of calling __xnapc_schedule, which is to replace APC --- this patch is for wip/dovetail branch Signed-off-by: hongzha1 diff --git a/kernel/cobalt/select.c b/kernel/cobalt/select.c index c3a3d34b7..a78d3220e 100644 --- a/kernel/cobalt/

Re: [RFC PATCH] Multi-library support with core suffix in soname

2020-09-21 Thread Vitaly Chikunov via Xenomai
On Sun, Sep 20, 2020 at 10:28:08PM +0300, Vitaly Chikunov wrote: > This will allow (for users) installing both versions of libs into the > same system and (for distributions) having them without conflicts in > the same repository. I forgot we need to install xeno_config.h somewhere somehow. Otherw

RTDM read/write callback with parameters

2020-09-21 Thread Martin Haag via Xenomai
Dear list members, I am porting a Linux PCI character device driver to Xenomai 2.6.5. I can not find a RTDM expression for the "parameters" argument of the struct file_operations read callback. struct file_operations: ssize_t aim_read(struct file* file, char __user *parameters, size_t paramete

[PATCH] y2038: replace timespec with timespec64 in clock_settime

2020-09-21 Thread chensong via Xenomai
Upstream has used timespec64 to replace timespec inside kernel and used __kernel_timespec to replace timespect in syscalls, therefore we must keep aligned with upstream. clock_settime is a point to get started at, it involves 2 parts: 1, syscall in ./include/trace/events/cobalt-posix.h for 64bits

Re: [PATCH 1/4] cobalt/x86: adapt fpu code with Linux kernel upstream

2020-09-21 Thread Fino Meng via Xenomai
On Fri, Sep 18, 2020 at 03:04:06PM +0200, Jan Kiszka wrote: > > > When I'm asking questions on the code, there was a need for a commit > message. > > On 18.09.20 08:29, Fino Meng wrote: > > Signed-off-by: Fino Meng > > Signed-off-by: Mingliang Hu > > --- > > kernel/cobalt/arch/x86/thread.c |

Re: [PATCH 3/4] cobalt/kernel: fix compile error for incompatible pointer type

2020-09-21 Thread Meng, Fino via Xenomai
On Fri, Sep 18, 2020 at 03:05:28PM +0200, Jan Kiszka wrote: > > > On 18.09.20 08:32, Fino Meng wrote: > > Signed-off-by: Fino Meng > > Signed-off-by: Mingliang Hu > > --- > > include/cobalt/kernel/stat.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/include/

[PATCH] cobalt/select: replace APC with irq_work

2020-09-21 Thread hongzha1 via Xenomai
schedule irq_work to execute xnselector_destroy_loop instead of calling __xenapc_schedule, which is to replace APC --- this patch is for wip/dovetail branch Signed-off-by: hongzha1 diff --git a/kernel/cobalt/select.c b/kernel/cobalt/select.c index c3a3d34b7..c1eee722d 100644 --- a/kernel/cobalt

Re: Useless dovetail hacks

2020-09-21 Thread Philippe Gerum via Xenomai
Jan Kiszka writes: > On 21.09.20 08:15, Jan Kiszka wrote: >> On 20.09.20 18:52, Philippe Gerum wrote: >>> >>> Philippe Gerum writes: SPI, DMA, and GPIOs are a no brainer for this and are already available in such form, serial and network need more analysis because their exe