Dovetail fixes to v5.3

2021-07-22 Thread Philippe Gerum via Xenomai
This series goes on top of v5.13-dovetail-rebase. Backport to v5.10.y-dovetail-rebase is on its way.

[PATCH 3/6] drm/msm/mdp5: irq_pipeline: enable out-of-band interrupt handling

2021-07-22 Thread Philippe Gerum via Xenomai
From: Philippe Gerum We must decode the chained interrupts on the out-of-band stage to enable end-to-end out-of-band delivery. Set IRQF_OOB for the parent handler. Signed-off-by: Philippe Gerum --- drivers/gpu/drm/msm/disp/mdp5/mdp5_mdss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 1/6] genirq: irq_pipeline: restore oob stall bit on chained IRQs

2021-07-22 Thread Philippe Gerum via Xenomai
From: Philippe Gerum handle_oob_irq() is called recursively when handling chained interrupts, at which point the oob stage is already stalled: generic_handle_irq /* oob stage unstalled */ -> -> handle_oob_irq /* oob stage stalled */ -> -> ge

[PATCH 4/6] pinctrl: samsung: irq_pipeline: enable out-of-band interrupt handling

2021-07-22 Thread Philippe Gerum via Xenomai
From: Philippe Gerum We must decode the chained interrupts on the out-of-band stage to enable end-to-end out-of-band delivery. Set IRQF_OOB for the parent handler. Signed-off-by: Philippe Gerum --- drivers/pinctrl/samsung/pinctrl-exynos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 5/6] genirq: irq_pipeline: export oob status to /proc/interrupts

2021-07-22 Thread Philippe Gerum via Xenomai
From: Philippe Gerum Signed-off-by: Philippe Gerum --- kernel/irq/proc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/irq/proc.c b/kernel/irq/proc.c index 7c5cd42df3b93e7..1428d83d7da8658 100644 --- a/kernel/irq/proc.c +++ b/kernel/irq/proc.c @@ -518,6 +518,9 @@ int show_interr

[PATCH 2/6] gpio: omap: irq_pipeline: enable out-of-band interrupt handling

2021-07-22 Thread Philippe Gerum via Xenomai
From: Philippe Gerum We must decode the chained interrupts on the out-of-band stage to enable end-to-end out-of-band delivery. Set IRQF_OOB for the parent handler. Signed-off-by: Philippe Gerum --- drivers/gpio/gpio-omap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dri

[PATCH 6/6] clocksource/exynos_mct: irq_pipeline: enable out-of-band clock events

2021-07-22 Thread Philippe Gerum via Xenomai
From: Philippe Gerum Ensure end-of-end out-of-band event delivery by receiving the clock interrupts directly on the out-of-band stage. Signed-off-by: Philippe Gerum --- drivers/clocksource/exynos_mct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/exyn

Re: [PATCH 5/6] genirq: irq_pipeline: export oob status to /proc/interrupts

2021-07-22 Thread Jan Kiszka via Xenomai
On 22.07.21 11:48, Philippe Gerum via Xenomai wrote: > From: Philippe Gerum > > Signed-off-by: Philippe Gerum > --- > kernel/irq/proc.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/kernel/irq/proc.c b/kernel/irq/proc.c > index 7c5cd42df3b93e7..1428d83d7da8658 100644 > --- a/kern

Re: [PATCH 5/6] genirq: irq_pipeline: export oob status to /proc/interrupts

2021-07-22 Thread Philippe Gerum via Xenomai
Jan Kiszka writes: > On 22.07.21 11:48, Philippe Gerum via Xenomai wrote: >> From: Philippe Gerum >> >> Signed-off-by: Philippe Gerum >> --- >> kernel/irq/proc.c | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git a/kernel/irq/proc.c b/kernel/irq/proc.c >> index 7c5cd42df3b93e7..1

Re: Taking first steps with EVL

2021-07-22 Thread Philippe Gerum via Xenomai
Byron Jacquot writes: > Hello Philippe, > > Thank you for the response! I've had a chance to put your advice into a > practical form. > > As my ultimate application doesn't need Alsa, I'm moving forward with > porting the RTDM driver. I've got a crudely hacked version working, and > I'm worki

RE: [PATCH v2] cobalt: Sort out virtual vs. real pids

2021-07-22 Thread MONTET Julien via Xenomai
Hi, I tested all of your patches last week, and it did not change anything. Compiling the Xenomai libraries directly on Docker didn't solve the issue. The Xenomai timer seems to work, I can loop on it and print the time (but it was also working before). Unfortunately I am still stuck on rt_task

Re: [PATCH v2] cobalt: Sort out virtual vs. real pids

2021-07-22 Thread Jan Kiszka via Xenomai
On 22.07.21 14:07, MONTET Julien wrote: > Hi, > > I tested all of your patches last week, and it did not change anything.  > Compiling the Xenomai libraries directly on Docker didn't solve the issue. > > The Xenomai timer seems to work, I can loop on it and print the time > (but it was also worki

[xenomai-images 4/7] recipes-kernel: add config fragment file to disable debug for arm64

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

[xenomai-images 3/7] recipes-kernel: add config fragment file to disable debug for amd64

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

[xenomai-images 0/7] control applying of no-debug config

2021-07-22 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 config fragment for earch arch to switch debug off. 3. add control to apply config fragment or not. 4. add kas option to control applying config fragme

[xenomai-images 1/7] recipes-kernel: arm64_config: enable IPIPE_DEBUG for arm64 by default

2021-07-22 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 d

[xenomai-images 6/7] recipes-kernel/linux: control appyling of no debug config fragment

2021-07-22 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 a/recipes-kernel/linux/linux-xenomai.inc

[xenomai-images 2/7] recipes-kernel: armhf_config: enable IPIPE_DEBUG for armhf by default

2021-07-22 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 insertions

[xenomai-images 7/7] Add kas option for swithing off debug

2021-07-22 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 b/opt-s

[xenomai-images 5/7] recipes-kernel: add config fragment file to disable debug for arm

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