Mailing list temporarily disabled

2022-06-18 Thread Philippe Gerum via Xenomai
This mailing list is temporarily disabled, until the migration to xeno...@lists.linux.dev [1] is complete. As mentioned in earlier notices, the existing subscriptions to xenomai@xenomai.org will NOT be automatically transferred to the new server. If you want to keep on receiving e-mails from

Re: Interrupts

2022-06-18 Thread Philippe Gerum via Xenomai
Russell Johnson via Xenomai writes: > The app that I am currently working with has an interrupt scheme as follows: > device on the PCIe bus sends an interrupt to the CPU, our linux driver then > has an MSI interrupt handler (will be replaced by the EVL oob interrupt > handler), the handler

Interrupts

2022-06-17 Thread Russell Johnson via Xenomai
The app that I am currently working with has an interrupt scheme as follows: device on the PCIe bus sends an interrupt to the CPU, our linux driver then has an MSI interrupt handler (will be replaced by the EVL oob interrupt handler), the handler then calls eventfd_signal() to alert the userspace

Re: [Xenomai 3.1 PATCH v2] process: update clockfreq when receive corresponding event.

2022-06-17 Thread Jan Kiszka via Xenomai
On 17.06.22 08:08, Jan Kiszka via Xenomai wrote: > On 16.06.22 02:18, Hongzhan Chen via Xenomai wrote: >> 1. When there is clockfreq param passed down via command line, we >>do not update clockfreq even if we receive event of updating clockfreq. >>Or else, we update the clockfreq with

Re: [I-PIPE PATCH v2] x86/tsc: I-PIPE : notify I-PIPE about updated clockfreq

2022-06-17 Thread Jan Kiszka via Xenomai
On 16.06.22 02:18, Hongzhan Chen via Xenomai wrote: > When there is refined tsc clock, notify Xenomai to apply it. > Linux may schedule a delayed work to refine tsc clock and update > tsc_khz which happen after Xenomai finsih init but tsc_scale and > tsc_shift still keep the value depending on

Re: [I-PIPE PATCH v2] x86/tsc: I-PIPE : notify I-PIPE about updated clockfreq

2022-06-17 Thread Jan Kiszka via Xenomai
On 17.06.22 08:09, Jan Kiszka via Xenomai wrote: > On 16.06.22 02:18, Hongzhan Chen via Xenomai wrote: >> When there is refined tsc clock, notify Xenomai to apply it. >> Linux may schedule a delayed work to refine tsc clock and update >> tsc_khz which happen after Xenomai finsih init but tsc_scale

Re: [I-PIPE PATCH v2] x86/tsc: I-PIPE : notify I-PIPE about updated clockfreq

2022-06-17 Thread Jan Kiszka via Xenomai
On 16.06.22 02:18, Hongzhan Chen via Xenomai wrote: > When there is refined tsc clock, notify Xenomai to apply it. > Linux may schedule a delayed work to refine tsc clock and update > tsc_khz which happen after Xenomai finsih init but tsc_scale and > tsc_shift still keep the value depending on

Re: [Xenomai 3.1 PATCH v2] process: update clockfreq when receive corresponding event.

2022-06-17 Thread Jan Kiszka via Xenomai
On 16.06.22 02:18, Hongzhan Chen via Xenomai wrote: > 1. When there is clockfreq param passed down via command line, we >do not update clockfreq even if we receive event of updating clockfreq. >Or else, we update the clockfreq with notified value. > 2. At the same time, we would like to

[Xenomai 3.1 PATCH v2] process: update clockfreq when receive corresponding event.

2022-06-15 Thread Hongzhan Chen via Xenomai
1. When there is clockfreq param passed down via command line, we do not update clockfreq even if we receive event of updating clockfreq. Or else, we update the clockfreq with notified value. 2. At the same time, we would like to update clockfreq param showing in sys filesystem after

[I-PIPE PATCH v2] x86/tsc: I-PIPE : notify I-PIPE about updated clockfreq

2022-06-15 Thread Hongzhan Chen via Xenomai
When there is refined tsc clock, notify Xenomai to apply it. Linux may schedule a delayed work to refine tsc clock and update tsc_khz which happen after Xenomai finsih init but tsc_scale and tsc_shift still keep the value depending on origianl tsc clock which is outdated. The difference between

Re: [PATCH 3.2.x] cobalt/x86: Account for changes to switch_fpu_finish in 5.4.182

2022-06-15 Thread Jan Kiszka via Xenomai
On 15.06.22 17:20, Jan Kiszka via Xenomai wrote: > From: Jan Kiszka > > The signature of switch_fpu_finish changed in stable 5.4. > > Signed-off-by: Jan Kiszka > --- > kernel/cobalt/arch/x86/ipipe/thread.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git

Re: [xenomai-images][PATCH] Update Isar revision

2022-06-15 Thread Jan Kiszka via Xenomai
On 15.06.22 18:00, Jan Kiszka via Xenomai wrote: > From: Jan Kiszka > > This brings changes to image types that are easy to account for. Also > the image file name changed, so adjust readme and start-qemu.sh. > > The update fixes logging issues, thus helps a lot with analyzing failing > builds,

[xenomai-images][PATCH] Update Isar revision

2022-06-15 Thread Jan Kiszka via Xenomai
From: Jan Kiszka This brings changes to image types that are easy to account for. Also the image file name changed, so adjust readme and start-qemu.sh. The update fixes logging issues, thus helps a lot with analyzing failing builds, specifically in CI. Signed-off-by: Jan Kiszka --- README.md

[PATCH 3.2.x] cobalt/x86: Account for changes to switch_fpu_finish in 5.4.182

2022-06-15 Thread Jan Kiszka via Xenomai
From: Jan Kiszka The signature of switch_fpu_finish changed in stable 5.4. Signed-off-by: Jan Kiszka --- kernel/cobalt/arch/x86/ipipe/thread.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/cobalt/arch/x86/ipipe/thread.c b/kernel/cobalt/arch/x86/ipipe/thread.c

Re: SPI

2022-06-15 Thread Davide Valeri via Xenomai
Hi! Many thanks for your response, but unfortunately we're receiving the same error. I was already using the config file as suggested from the resource you provided, but still the compilation does not build the device trees RPi4 needs. So I compiled the official kernel source [1] (I tried with

[PATCH stable/3.0.x 2/2] x86: cobalt/switchtest: Enable FPU tests unconditionally

2022-06-15 Thread Florian Bezdeka via Xenomai
Parts of the FPU tests were skipped when one of the following config options was enabled, shadowing a real test issue that was triggered by high load on the system. The options: - CONFIG_X86_USE_3DNOW - CONFIG_MD_RAID456 - CONFIG_MD_RAID456_MODULE As the FPU initialization is fixed now, we

[PATCH stable/3.0.x 1/2] x86: cobalt/switchtest: Fix testing issue due to uninitialized FPU

2022-06-15 Thread Florian Bezdeka via Xenomai
On x86 fp_regs_set() expects that the FPU state was initialized by calling the fninit instruction. When running in kernel space in task context there is no guarantee that the FPU was initialized. Under heavy load / scheduling the test might fail and report a FPU register corruption. The new

[PATCH stable/3.0.x 0/2] Backport FPU testing cleanup to 3.0.x

2022-06-15 Thread Florian Bezdeka via Xenomai
Hi all, this is the backport of the previously published FPU testing cleanup series to the stable/3.0.x branch. Patch 1 has been updated to match the supported architectures in the 3.0.x stable branch, Patch 2 is unmodified. Best regards, Florian Florian Bezdeka (2): x86:

Re: [PATCH] rtdm/drvlib: Prevent pagefaults on arm on io mapping

2022-06-15 Thread Jan Kiszka via Xenomai
On 15.06.22 10:30, Philippe Gerum wrote: > > Jan Kiszka writes: > >> On 15.06.22 09:54, Philippe Gerum wrote: >>> >>> Jan Kiszka via Xenomai writes: >>> On 23.05.22 16:04, Gunter Grau via Xenomai wrote: > From: Gunter Grau > > When mapping io memory into userspace an extra

[PATCH stable/3.1.x 2/2] x86: cobalt/switchtest: Enable FPU tests unconditionally

2022-06-15 Thread Florian Bezdeka via Xenomai
Parts of the FPU tests were skipped when one of the following config options was enabled, shadowing a real test issue that was triggered by high load on the system. The options: - CONFIG_X86_USE_3DNOW - CONFIG_MD_RAID456 - CONFIG_MD_RAID456_MODULE As the FPU initialization is fixed now, we

[PATCH stable/3.1.x 0/2] Backport FPU testing cleanup to 3.1.x

2022-06-15 Thread Florian Bezdeka via Xenomai
Hi all, this is the backport of the previously published FPU testing cleanup series to the stable/3.1.x branch. Patch 1 has been updated to match the supported architectures in the 3.1.x stable branch, Patch 2 is unmodified. Best regards, Florian Florian Bezdeka (2): x86: cobalt/switchtest:

[PATCH stable/3.1.x 1/2] x86: cobalt/switchtest: Fix testing issue due to uninitialized FPU

2022-06-15 Thread Florian Bezdeka via Xenomai
On x86 fp_regs_set() expects that the FPU state was initialized by calling the fninit instruction. When running in kernel space in task context there is no guarantee that the FPU was initialized. Under heavy load / scheduling the test might fail and report a FPU register corruption. The new

Re: [PATCH] rtdm/drvlib: Prevent pagefaults on arm on io mapping

2022-06-15 Thread Philippe Gerum via Xenomai
Jan Kiszka writes: > On 15.06.22 09:54, Philippe Gerum wrote: >> >> Jan Kiszka via Xenomai writes: >> >>> On 23.05.22 16:04, Gunter Grau via Xenomai wrote: From: Gunter Grau When mapping io memory into userspace an extra simulated pagefault for all pages is added to

RE: [PATCH] rtdm/drvlib: Prevent pagefaults on arm on io mapping

2022-06-15 Thread Grau, Gunter via Xenomai
Hi, Your right, for io memory it does not make sense to do COW. Nevertheless we see a page fault for each page after mapping on first access. We also saw this at first when we used Xenomai 2.6 on 32bit arm, where it was fixed. It now happened again when porting to Xenomai3. I was hoping the

Re: [PATCH] rtdm/drvlib: Prevent pagefaults on arm on io mapping

2022-06-15 Thread Jan Kiszka via Xenomai
On 15.06.22 09:54, Philippe Gerum wrote: > > Jan Kiszka via Xenomai writes: > >> On 23.05.22 16:04, Gunter Grau via Xenomai wrote: >>> From: Gunter Grau >>> >>> When mapping io memory into userspace an extra simulated pagefault for all >>> pages is added to prevent later pagefaults because of

Re: [PATCH] rtdm/drvlib: Prevent pagefaults on arm on io mapping

2022-06-15 Thread Philippe Gerum via Xenomai
Jan Kiszka via Xenomai writes: > On 23.05.22 16:04, Gunter Grau via Xenomai wrote: >> From: Gunter Grau >> >> When mapping io memory into userspace an extra simulated pagefault for all >> pages is added to prevent later pagefaults because of copy on write >> mechanisms. This happens only on

Re: [PATCH 2/2] x86: ipipe: Enable FPU tests unconditionally

2022-06-15 Thread Jan Kiszka via Xenomai
On 15.06.22 09:44, Bezdeka, Florian (T CED SES-DE) wrote: > On Tue, 2022-06-14 at 20:11 +0200, Jan Kiszka wrote: >> On 08.06.22 18:59, Bezdeka, Florian (T CED SES-DE) wrote: >>> On Wed, 2022-06-08 at 17:02 +0200, Jan Kiszka wrote: On 25.05.22 11:56, Florian Bezdeka wrote: > Parts of the

Re: [External] - Re: compile conflict with Boost

2022-06-15 Thread Philippe Gerum via Xenomai
Russell Johnson writes: > [[S/MIME Signed Part:Undecided]] > Apologies. Here you go. > > From 452e8b2ca8ecd53571a6b1f5d8b9ab23cd67f99d Mon Sep 17 00:00:00 2001 > From: Russell Johnson > Date: Tue, 14 Jun 2022 08:10:14 -0600 > Subject: [PATCH] fixing conflict with C++ [[fallthough]], and maybe

Re: EVL Heap Clarification

2022-06-15 Thread Philippe Gerum via Xenomai
Russell Johnson via Xenomai writes: > Am I correct in assuming that any dynamic allocation in an EVL thread needs > to use the EVL heap in order to avoid in-band context switching? > > > > There are 4 calls in particular that I am using from the EVL heap API: > evl_init_heap (on startup),

Re: [REMINDER] Mailing list rehosting

2022-06-15 Thread Jan Kiszka via Xenomai
On 21.05.22 12:48, Philippe Gerum via Xenomai wrote: > > The Xenomai mailing list server will be migrated to [1] on June 18 > 2022. In the meantime, the current server will be operating as > usual. However, the existing subscriptions to xenomai@xenomai.org will > NOT be automatically transferred

Re: [PATCH 2/2] x86: ipipe: Enable FPU tests unconditionally

2022-06-15 Thread Bezdeka, Florian via Xenomai
On Tue, 2022-06-14 at 20:11 +0200, Jan Kiszka wrote: > On 08.06.22 18:59, Bezdeka, Florian (T CED SES-DE) wrote: > > On Wed, 2022-06-08 at 17:02 +0200, Jan Kiszka wrote: > > > On 25.05.22 11:56, Florian Bezdeka wrote: > > > > Parts of the FPU tests were skipped when one of the following config > >

RE: [Cobalt Xenoami3.1 PATCH 1/2] process: update clockfreq when receive corresponding event.

2022-06-14 Thread Chen, Hongzhan via Xenomai
>-Original Message- >From: Xenomai On Behalf Of Chen, Hongzhan via >Xenomai >Sent: Wednesday, June 15, 2022 9:29 AM >To: Kiszka, Jan ; xenomai@xenomai.org >Subject: RE: [Cobalt Xenoami3.1 PATCH 1/2] process: update clockfreq when >receive corresponding event. > > > >>-Original

Reminder: Xenomai community call on Wednesday, Jun 15, 2022, UTC 7:00 AM

2022-06-14 Thread Chen, Hongzhan via Xenomai
We have the Xenomai community call today. Topics may include but are not limited to upstream/downstream project plans, status updates, and technical discussions. It's an open online meeting that anyone can join and ask questions. Time: Wednesday, Jun 15, 2022, UTC 7:00 AM Paris, France CEST

RE: [I-PIPE Xenoami3.1 PATCH 2/2] x86/tsc: I-PIPE : notify I-PIPE about updated clockfreq

2022-06-14 Thread Chen, Hongzhan via Xenomai
> >Xenomai is conceptually not known to I-pipe. This patch is about calling >the well-defined kevent hook when the TSC frequency changes after a >recalibration. ARM does something similar on frequency changes. > >> Linux may schedule a delayed work to refine tsc clock and update >> tsc_khz which

RE: [Cobalt Xenoami3.1 PATCH 1/2] process: update clockfreq when receive corresponding event.

2022-06-14 Thread Chen, Hongzhan via Xenomai
>-Original Message- >From: Jan Kiszka >Sent: Wednesday, June 15, 2022 5:28 AM >To: Chen, Hongzhan ; xenomai@xenomai.org >Subject: Re: [Cobalt Xenoami3.1 PATCH 1/2] process: update clockfreq when >receive corresponding event. > >On 27.05.22 08:22, Hongzhan Chen via Xenomai wrote: >> 1.

EVL Heap Clarification

2022-06-14 Thread Russell Johnson via Xenomai
Am I correct in assuming that any dynamic allocation in an EVL thread needs to use the EVL heap in order to avoid in-band context switching? There are 4 calls in particular that I am using from the EVL heap API: evl_init_heap (on startup), evl_alloc_block (may be called during realtime

Re: [I-PIPE Xenoami3.1 PATCH 2/2] x86/tsc: I-PIPE : notify I-PIPE about updated clockfreq

2022-06-14 Thread Jan Kiszka via Xenomai
On 27.05.22 08:22, Hongzhan Chen via Xenomai wrote: > When there is refined tsc clock, notify Xenomai to apply it. Xenomai is conceptually not known to I-pipe. This patch is about calling the well-defined kevent hook when the TSC frequency changes after a recalibration. ARM does something similar

Re: [Cobalt Xenoami3.1 PATCH 1/2] process: update clockfreq when receive corresponding event.

2022-06-14 Thread Jan Kiszka via Xenomai
On 27.05.22 08:22, Hongzhan Chen via Xenomai wrote: > 1. When there is clockfreq param passed down via command line, we >do not update clockfreq even if we receive event of updating clockfreq. >Or else, we update the clockfreq with notified value. > 2. At the same time, we would like to

Re: [PATCH 2/2] x86: ipipe: Enable FPU tests unconditionally

2022-06-14 Thread Jan Kiszka via Xenomai
On 08.06.22 18:59, Bezdeka, Florian (T CED SES-DE) wrote: > On Wed, 2022-06-08 at 17:02 +0200, Jan Kiszka wrote: >> On 25.05.22 11:56, Florian Bezdeka wrote: >>> Parts of the FPU tests were skipped when one of the following config >>> options was enabled, shadowing a real test issue that was

Re: [PATCH] rtdm/drvlib: Prevent pagefaults on arm on io mapping

2022-06-14 Thread Jan Kiszka via Xenomai
On 23.05.22 16:04, Gunter Grau via Xenomai wrote: > From: Gunter Grau > > When mapping io memory into userspace an extra simulated pagefault for all > pages is added to prevent later pagefaults because of copy on write > mechanisms. This happens only on architectures that have defined the >

RE: [External] - Re: compile conflict with Boost

2022-06-14 Thread Russell Johnson via Xenomai
Apologies. Here you go. From 452e8b2ca8ecd53571a6b1f5d8b9ab23cd67f99d Mon Sep 17 00:00:00 2001 From: Russell Johnson Date: Tue, 14 Jun 2022 08:10:14 -0600 Subject: [PATCH] fixing conflict with C++ [[fallthough]], and maybe at some point in the future with the C2X standard Signed-off-by:

Re: compile conflict with Boost

2022-06-14 Thread Philippe Gerum via Xenomai
Jan Kiszka writes: > On 14.06.22 16:18, Russell Johnson via Xenomai wrote: >> From 452e8b2ca8ecd53571a6b1f5d8b9ab23cd67f99d Mon Sep 17 00:00:00 2001 >> From: Russell Johnson >> Date: Tue, 14 Jun 2022 08:10:14 -0600 >> Subject: [PATCH] fixing conflict with C++ [[fallthough]], and maybe at some

Re: compile conflict with Boost

2022-06-14 Thread Jan Kiszka via Xenomai
On 14.06.22 16:18, Russell Johnson via Xenomai wrote: > From 452e8b2ca8ecd53571a6b1f5d8b9ab23cd67f99d Mon Sep 17 00:00:00 2001 > From: Russell Johnson > Date: Tue, 14 Jun 2022 08:10:14 -0600 > Subject: [PATCH] fixing conflict with C++ [[fallthough]], and maybe at some > point in the future with

Re: compile conflict with Boost

2022-06-14 Thread Philippe Gerum via Xenomai
Russell Johnson writes: > [[S/MIME Signed Part:Undecided]] > From 452e8b2ca8ecd53571a6b1f5d8b9ab23cd67f99d Mon Sep 17 00:00:00 2001 > From: Russell Johnson > Date: Tue, 14 Jun 2022 08:10:14 -0600 > Subject: [PATCH] fixing conflict with C++ [[fallthough]], and maybe at some > point in the

Re: compile conflict with Boost

2022-06-14 Thread Russell Johnson via Xenomai
From 452e8b2ca8ecd53571a6b1f5d8b9ab23cd67f99d Mon Sep 17 00:00:00 2001 From: Russell Johnson Date: Tue, 14 Jun 2022 08:10:14 -0600 Subject: [PATCH] fixing conflict with C++ [[fallthough]], and maybe at some point in the future with the C2X standard --- benchmarks/hectic.c| 10 +-

Re: [External] - Re: compile conflict with Boost

2022-06-14 Thread Philippe Gerum via Xenomai
Russell Johnson writes: > [[S/MIME Signed Part:Undecided]] > This is what I have been using. I have tested it and it seems to work fine. > > Thanks, > > Russell > > diff --git a/benchmarks/hectic.c b/benchmarks/hectic.c > index 6b6b3b5..886f7d2 100644 > --- a/benchmarks/hectic.c > +++

RE: [External] - Re: compile conflict with Boost

2022-06-14 Thread Russell Johnson via Xenomai
This is what I have been using. I have tested it and it seems to work fine. Thanks, Russell diff --git a/benchmarks/hectic.c b/benchmarks/hectic.c index 6b6b3b5..886f7d2 100644 --- a/benchmarks/hectic.c +++ b/benchmarks/hectic.c @@ -336,7 +336,7 @@ static void *sleeper_switcher(void *cookie)

Re: compile conflict with Boost

2022-06-14 Thread Philippe Gerum via Xenomai
Julien Blanc writes: > Le mardi 14 juin 2022 à 09:44 +, Bezdeka, Florian a écrit : >> >> Based on the kernel's fallthrough, introducing evl_fallthrough would >> avoid all kinds of conflicts (IMHO): >> >> #ifndev evl_fallthrough >> #if __has_attribute(__fallthrough__) >> # define

Re: compile conflict with Boost

2022-06-14 Thread Julien Blanc via Xenomai
Le mardi 14 juin 2022 à 09:44 +, Bezdeka, Florian a écrit : > > Based on the kernel's fallthrough, introducing evl_fallthrough would > avoid all kinds of conflicts (IMHO): > > #ifndev evl_fallthrough > #if __has_attribute(__fallthrough__) > # define evl_fallthrough

Re: compile conflict with Boost

2022-06-14 Thread Bezdeka, Florian via Xenomai
On Tue, 2022-06-14 at 11:01 +0200, Philippe Gerum via Xenomai wrote: > Julien Blanc writes: > > > Le mardi 14 juin 2022 à 10:04 +0200, Philippe Gerum a écrit : > > > Julien Blanc < > > > julien.bl...@sprinte.eu > > > > writes: > > > > > > > Le mardi 14 juin 2022 à 08:54 +0200, Philippe Gerum a

Re: compile conflict with Boost

2022-06-14 Thread Philippe Gerum via Xenomai
Julien Blanc writes: > Le mardi 14 juin 2022 à 10:04 +0200, Philippe Gerum a écrit : >> Julien Blanc < >> julien.bl...@sprinte.eu >> > writes: >> >> > Le mardi 14 juin 2022 à 08:54 +0200, Philippe Gerum a écrit : >> > > Julien Blanc via Xenomai >> > > > #define __fallthrough

Re: compile conflict with Boost

2022-06-14 Thread Bezdeka, Florian via Xenomai
On Tue, 2022-06-14 at 08:29 +, Julien Blanc via Xenomai wrote: > Le mardi 14 juin 2022 à 10:04 +0200, Philippe Gerum a écrit : > > Julien Blanc < > > julien.bl...@sprinte.eu > > > writes: > > > > > Le mardi 14 juin 2022 à 08:54 +0200, Philippe Gerum a écrit : > > > > Julien Blanc via Xenomai

Re: compile conflict with Boost

2022-06-14 Thread Julien Blanc via Xenomai
Le mardi 14 juin 2022 à 10:04 +0200, Philippe Gerum a écrit : > Julien Blanc < > julien.bl...@sprinte.eu > > writes: > > > Le mardi 14 juin 2022 à 08:54 +0200, Philippe Gerum a écrit : > > > Julien Blanc via Xenomai > > > > #define __fallthrough __attribute__((fallthrough)) > > > > > > > > >

Re: compile conflict with Boost

2022-06-14 Thread Philippe Gerum via Xenomai
Julien Blanc writes: > Le mardi 14 juin 2022 à 08:54 +0200, Philippe Gerum a écrit : >> Julien Blanc via Xenomai >> > >> > #define __fallthrough __attribute__((fallthrough)) >> > >> >> 6.39. attribute syntax >> https://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html#Attribute-Syntax

Re: compile conflict with Boost

2022-06-14 Thread Julien Blanc via Xenomai
Le mardi 14 juin 2022 à 08:54 +0200, Philippe Gerum a écrit : > Julien Blanc via Xenomai > > > > #define __fallthrough __attribute__((fallthrough)) > > > > 6.39. attribute syntax > https://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html#Attribute-Syntax > Not sure what you mean with

Re: compile conflict with Boost

2022-06-14 Thread Philippe Gerum via Xenomai
Julien Blanc via Xenomai writes: > Le lundi 13 juin 2022 à 14:39 +, Russell Johnson via Xenomai a > écrit : >> I use boost throughout my entire app, so I need >> to figure how to get both of these libraries to play nice with each >> other. Any ideas? ( I am using gcc 8.3 and boost 1.70.0)

RE: [External] - Re: compile conflict with Boost

2022-06-13 Thread Russell Johnson via Xenomai
I agree with your proposed fix. -Original Message- From: Julien Blanc Sent: Monday, June 13, 2022 9:17 AM To: Russell Johnson ; xenomai@xenomai.org Subject: [External] - Re: compile conflict with Boost CAUTION: This email originated from outside of the organization. Do not click

Re: compile conflict with Boost

2022-06-13 Thread Julien Blanc via Xenomai
Le lundi 13 juin 2022 à 14:39 +, Russell Johnson via Xenomai a écrit : > I use boost throughout my entire app, so I need > to figure how to get both of these libraries to play nice with each > other. Any ideas? ( I am using gcc 8.3 and boost 1.70.0) > > /opt/evl/include/evl/compiler.h:64:36:

compile conflict with Boost

2022-06-13 Thread Russell Johnson via Xenomai
I have a class that includes both and some boost headers. Whenever I go to compile it, I get an error that looks like it has to do with the definition of "fallthrough" in conflicting with the definition of "fallthrough" in Boost. It compiles fine if there is no Boost header in the class. I use

[Dovetail] v5.19 is out of testing

2022-06-11 Thread Philippe Gerum via Xenomai
Based on v5.19-rc1 ATM [1]. The current EVL tree is going to be rebased on it shortly. [1] https://source.denx.de/Xenomai/linux-dovetail/-/tree/v5.19-dovetail-rebase -- Philippe.

Re: SPI

2022-06-09 Thread Philippe Gerum via Xenomai
Davide Valeri writes: > Hi! > We need your help once more. > We cannot enable SPI in the built kernel. Neither "sudo raspi-config" > nor manually editing "config.txt" worked. > > Using "raspi-config" results in > "mount: /config/device-tree: mount point does not exist > * Failed to mount

SPI

2022-06-09 Thread Davide Valeri via Xenomai
Hi! We need your help once more. We cannot enable SPI in the built kernel. Neither "sudo raspi-config" nor manually editing "config.txt" worked. Using "raspi-config" results in "mount: /config/device-tree: mount point does not exist * Failed to mount configfs - 2" Commit linux-evl: 81e5b7be.

Re: [PATCH] x86/fpu: fix compile error without kernel_fpu_disabled()

2022-06-09 Thread Philippe Gerum via Xenomai
Jan Kiszka writes: > On 26.05.22 18:19, Philippe Gerum wrote: >> >> jamiens...@163.com writes: >> >>> From: Jamie Huang >>> >>> In v5.18-evl-rebase, function kernel_fpu_disabled() has been removed in >>> commit 59f5ede3bc0f("x86/fpu: Prevent FPU state corruption"), so we will >>> get

RE: [Cobalt Xenoami3.1 PATCH 0/2] notify Xenomai udpated clockfreq.

2022-06-09 Thread Chen, Hongzhan via Xenomai
>-Original Message- >From: Jan Kiszka >Sent: Thursday, June 9, 2022 1:48 PM >To: Chen, Hongzhan ; xenomai@xenomai.org >Subject: Re: [Cobalt Xenoami3.1 PATCH 0/2] notify Xenomai udpated clockfreq. > >On 09.06.22 04:06, Chen, Hongzhan wrote: >>> -Original Message- >>> From: Jan

Re: [Cobalt Xenoami3.1 PATCH 0/2] notify Xenomai udpated clockfreq.

2022-06-08 Thread Jan Kiszka via Xenomai
On 09.06.22 04:06, Chen, Hongzhan wrote: >> -Original Message- >> From: Jan Kiszka >> Sent: Wednesday, June 8, 2022 11:21 PM >> To: Chen, Hongzhan ; xenomai@xenomai.org >> Subject: Re: [Cobalt Xenoami3.1 PATCH 0/2] notify Xenomai udpated clockfreq. >> >> On 02.06.22 14:56, Chen, Hongzhan

Re: [PATCH] x86/fpu: fix compile error without kernel_fpu_disabled()

2022-06-08 Thread Jan Kiszka via Xenomai
On 26.05.22 18:19, Philippe Gerum wrote: > > jamiens...@163.com writes: > >> From: Jamie Huang >> >> In v5.18-evl-rebase, function kernel_fpu_disabled() has been removed in >> commit 59f5ede3bc0f("x86/fpu: Prevent FPU state corruption"), so we will >> get compile error when CONFIG_DOVETAIL is

RE: [Cobalt Xenoami3.1 PATCH 0/2] notify Xenomai udpated clockfreq.

2022-06-08 Thread Chen, Hongzhan via Xenomai
>-Original Message- >From: Jan Kiszka >Sent: Wednesday, June 8, 2022 11:21 PM >To: Chen, Hongzhan ; xenomai@xenomai.org >Subject: Re: [Cobalt Xenoami3.1 PATCH 0/2] notify Xenomai udpated clockfreq. > >On 02.06.22 14:56, Chen, Hongzhan wrote: >> >> >>> -Original Message- >>>

Re: [PATCH 2/2] x86: ipipe: Enable FPU tests unconditionally

2022-06-08 Thread Bezdeka, Florian via Xenomai
On Wed, 2022-06-08 at 17:02 +0200, Jan Kiszka wrote: > On 25.05.22 11:56, Florian Bezdeka wrote: > > Parts of the FPU tests were skipped when one of the following config > > options was enabled, shadowing a real test issue that was triggered by > > high load on the system. The options: > > -

Re: [PATCH 2/2] net/drivers: Remove ARM64 restriction for fec driver

2022-06-08 Thread Jan Kiszka via Xenomai
On 23.05.22 16:19, Gunter Grau via Xenomai wrote: > From: Johann Wiens > > As described in commit 04fab252f5d2ec3fe47be266f94714c3dda624bd, the > fec driver was added with the intention to have it working on an > i.MX8 target. > But i.MX SoC specific quirks are also handled already since the

Re: [Cobalt Xenoami3.1 PATCH 0/2] notify Xenomai udpated clockfreq.

2022-06-08 Thread Jan Kiszka via Xenomai
On 02.06.22 14:56, Chen, Hongzhan wrote: > > >> -Original Message- >> From: Jan Kiszka >> Sent: Thursday, June 2, 2022 5:54 PM >> To: Chen, Hongzhan ; xenomai@xenomai.org >> Subject: Re: [Cobalt Xenoami3.1 PATCH 0/2] notify Xenomai udpated clockfreq. >> >> On 27.05.22 08:22, Hongzhan

Re: [PATCH 1/1] drivers/serial/16550A_pci.h: allow custom baud_base with pci cards

2022-06-08 Thread Jan Kiszka via Xenomai
On 27.05.22 23:48, Richard Weinberger via Xenomai wrote: > On Fri, May 27, 2022 at 11:35 PM Konstantin Smola via Xenomai > wrote: >> >> pci probe was overwriting baud_base with default values, ignoring baud_base >> arguments passed in while loading driver. >> >> Signed-off-by: Konstantin Smola

Re: [PATCH 2/2] x86: ipipe: Enable FPU tests unconditionally

2022-06-08 Thread Jan Kiszka via Xenomai
On 25.05.22 11:56, Florian Bezdeka wrote: > Parts of the FPU tests were skipped when one of the following config > options was enabled, shadowing a real test issue that was triggered by > high load on the system. The options: > - CONFIG_X86_USE_3DNOW > - CONFIG_MD_RAID456 > -

Re: [PATCH] switchtest: Cleanup FPU tests after ipipe -> dovetail transition

2022-06-08 Thread Jan Kiszka via Xenomai
On 25.05.22 09:47, Florian Bezdeka wrote: > FPU usage in kernel space was allowed / enabled with ipipe, but is no > longer available for dovetail based kernels. That allows us to clean > up the FPU related tests of the switchtest utility. > > fp_kernel_supported() can be removed as all supported

Re: Patch: Make Sched* struct fields public so they can be constructed

2022-06-08 Thread Philippe Gerum via Xenomai
Jussi Viiri via Xenomai writes: > From 2c9979487f50ce3e6d38c7fa69f5ad5de4c60474 Mon Sep 17 00:00:00 2001 > From: Jussi Viiri > Date: Tue, 7 Jun 2022 21:00:19 +0300 > Subject: [PATCH] Make Sched* struct fields public so they can be constructed > Merged, thanks. -- Philippe.

Re: [ANNOUNCE] High altitude realtime workshop 2022 edition

2022-06-08 Thread Richard Weinberger via Xenomai
On Fri, May 27, 2022 at 6:14 PM Daniel Wagner wrote: > > Whoops, old date. > > 10. June to 12. June 2022 it is. > Here some more details about this event (hint if you want to attend > please let us know). Please prepare for bad weather, in the mountains the situation can change quickly… The

Re: Track down in-band switches

2022-06-08 Thread Philippe Gerum via Xenomai
Russell Johnson via Xenomai writes: > Hello, > > > > I am currently working on porting my realtime threads in my app to EVL. I am > using "evl ps -l" to track whether or not there are any in-band switches on > my EVL threads. Is there any recommended tool or method for tracking down > what

Patch: Make Sched* struct fields public so they can be constructed

2022-06-08 Thread Jussi Viiri via Xenomai
From 2c9979487f50ce3e6d38c7fa69f5ad5de4c60474 Mon Sep 17 00:00:00 2001 From: Jussi Viiri Date: Tue, 7 Jun 2022 21:00:19 +0300 Subject: [PATCH] Make Sched* struct fields public so they can be constructed ---  src/sched.rs | 14 +++---  1 file changed, 7 insertions(+), 7 deletions(-) diff

Track down in-band switches

2022-06-07 Thread Russell Johnson via Xenomai
Hello, I am currently working on porting my realtime threads in my app to EVL. I am using "evl ps -l" to track whether or not there are any in-band switches on my EVL threads. Is there any recommended tool or method for tracking down what specifically is causing the in-band switches on an EVL

Re: [RFC] Rust API for evl

2022-06-05 Thread Philippe Gerum via Xenomai
Philippe Gerum writes: > Jan Kiszka writes: >> Do you have some >> example code somewhere as well? >> > > Not yet. I have started working on the 'revl' crate implementing the EVL > interface for the Rust language though. There is not much of it yet > (clock services based on the

Re: linux-evl: 5.18.1: build error for arch/arm

2022-06-04 Thread Leonid Gasheev via Xenomai via Xenomai
04.06.2022 17:07, Philippe Gerum пишет: Philippe Gerum via Xenomai writes: Leonid Gasheev via Xenomai via Xenomai writes: 03.06.2022 10:01, Philippe Gerum пишет: Leonid Gasheev via Xenomai via Xenomai writes: 02.06.2022 18:44, Leonid Gasheev via Xenomai пишет: A series of patches

Re: linux-evl: 5.18.1: build error for arch/arm

2022-06-04 Thread Philippe Gerum via Xenomai
Philippe Gerum via Xenomai writes: > Leonid Gasheev via Xenomai via Xenomai writes: > >> 03.06.2022 10:01, Philippe Gerum пишет: >>> Leonid Gasheev via Xenomai via Xenomai writes: >>> 02.06.2022 18:44, Leonid Gasheev via Xenomai пишет: > A series of patches extracted from

Re: linux-evl: 5.18.1: build error for arch/arm

2022-06-04 Thread Philippe Gerum via Xenomai
Leonid Gasheev via Xenomai via Xenomai writes: > 03.06.2022 10:01, Philippe Gerum пишет: >> Leonid Gasheev via Xenomai via Xenomai writes: >> >>> 02.06.2022 18:44, Leonid Gasheev via Xenomai пишет: A series of patches extracted from v5.18-evl-rebase has been applied to the kernel

Re: linux-evl: 5.18.1: build error for arch/arm

2022-06-04 Thread Leonid Gasheev via Xenomai via Xenomai
03.06.2022 10:01, Philippe Gerum пишет: Leonid Gasheev via Xenomai via Xenomai writes: 02.06.2022 18:44, Leonid Gasheev via Xenomai пишет: A series of patches extracted from v5.18-evl-rebase has been applied to the kernel version v5.18.1

Re: linux-evl: 5.18.1: build error for arch/arm

2022-06-03 Thread Philippe Gerum via Xenomai
Leonid Gasheev via Xenomai via Xenomai writes: > 02.06.2022 18:44, Leonid Gasheev via Xenomai пишет: >> A series of patches extracted from v5.18-evl-rebase has been applied >> to the kernel version v5.18.1 >> toolchain/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin >> Build for the arm64

Re: linux-evl: 5.18.1: build error for arch/arm

2022-06-02 Thread Leonid Gasheev via Xenomai via Xenomai
02.06.2022 18:44, Leonid Gasheev via Xenomai пишет: A series of patches extracted from v5.18-evl-rebase has been applied to the kernel version v5.18.1 toolchain/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin Build for the arm64 architecture is completed successfully. But for arm:

linux-evl: 5.18.1: build error for arch/arm

2022-06-02 Thread Leonid Gasheev via Xenomai via Xenomai
A series of patches extracted from v5.18-evl-rebase has been applied to the kernel version v5.18.1 toolchain/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin Build for the arm64 architecture is completed successfully. But for arm: arch/arm/kernel/irq.c: In function

RE: [Cobalt Xenoami3.1 PATCH 0/2] notify Xenomai udpated clockfreq.

2022-06-02 Thread Chen, Hongzhan via Xenomai
>-Original Message- >From: Jan Kiszka >Sent: Thursday, June 2, 2022 5:54 PM >To: Chen, Hongzhan ; xenomai@xenomai.org >Subject: Re: [Cobalt Xenoami3.1 PATCH 0/2] notify Xenomai udpated clockfreq. > >On 27.05.22 08:22, Hongzhan Chen via Xenomai wrote: >> When there is refined tsc clock,

Re: [Cobalt Xenoami3.1 PATCH 0/2] notify Xenomai udpated clockfreq.

2022-06-02 Thread Jan Kiszka via Xenomai
On 27.05.22 08:22, Hongzhan Chen via Xenomai wrote: > When there is refined tsc clock, notify Xenomai to apply it. > Linux may schedule a delayed work to refine tsc clock and update > tsc_khz which happen after Xenomai finsih init but tsc_scale and > tsc_shift still keep the value depending on

Re: [RFC] Rust API for evl

2022-06-01 Thread Philippe Gerum via Xenomai
Jan Kiszka writes: > On 31.05.22 15:37, Philippe Gerum via Xenomai wrote: >> >> I've been getting my feet wet with Rust for a few weeks now, assessing >> the real-time latency figures I could get from an existing (C++) >> application once fully rewritten in this language. It turned out that

Re: [RFC] Rust API for evl

2022-05-31 Thread Jan Kiszka via Xenomai
On 31.05.22 15:37, Philippe Gerum via Xenomai wrote: > > I've been getting my feet wet with Rust for a few weeks now, assessing > the real-time latency figures I could get from an existing (C++) > application once fully rewritten in this language. It turned out that > performance was on par with

Re: Reminder: Xenomai community call on Wednesday, Jun 1, 2022, UTC 7:00 AM

2022-05-31 Thread Jan Kiszka via Xenomai
On 01.06.22 05:22, Chen, Hongzhan via Xenomai wrote: > > We have the Xenomai community call today. > > Topics may include but are not limited to upstream/downstream project > plans, status updates, and technical discussions. It's an open online > meeting that anyone can join and ask questions.

Reminder: Xenomai community call on Wednesday, Jun 1, 2022, UTC 7:00 AM

2022-05-31 Thread Chen, Hongzhan via Xenomai
We have the Xenomai community call today. Topics may include but are not limited to upstream/downstream project plans, status updates, and technical discussions. It's an open online meeting that anyone can join and ask questions. Time: Wednesday, Jun 1, 2022, UTC 7:00 AM Paris, France CEST

[RFC] Rust API for evl

2022-05-31 Thread Philippe Gerum via Xenomai
I've been getting my feet wet with Rust for a few weeks now, assessing the real-time latency figures I could get from an existing (C++) application once fully rewritten in this language. It turned out that performance was on par with the original implementation with memory safety on top, among

AW: Difference between Xenomai timer and Linux clock

2022-05-30 Thread Prasanna Kannan via Xenomai
> -Ursprüngliche Nachricht- > Von: Chen, Hongzhan [mailto:hongzhan.c...@intel.com] > Gesendet: Montag, 30. Mai 2022 10:44 > An: Prasanna Kannan ; > xenomai@xenomai.org > Betreff: RE: Difference between Xenomai timer and Linux clock > > > > >-Original Message- > >From: Prasanna

RE: Difference between Xenomai timer and Linux clock

2022-05-30 Thread Chen, Hongzhan via Xenomai
>-Original Message- >From: Prasanna Kannan >Sent: Monday, May 30, 2022 3:33 PM >To: Chen, Hongzhan ; xenomai@xenomai.org >Subject: AW: Difference between Xenomai timer and Linux clock > >> -Ursprüngliche Nachricht- >> Von: Chen, Hongzhan [mailto:hongzhan.c...@intel.com] >>

AW: Difference between Xenomai timer and Linux clock

2022-05-30 Thread Prasanna Kannan via Xenomai
> -Ursprüngliche Nachricht- > Von: Chen, Hongzhan [mailto:hongzhan.c...@intel.com] > Gesendet: Montag, 30. Mai 2022 02:56 > An: Prasanna Kannan ; > xenomai@xenomai.org > Betreff: RE: Difference between Xenomai timer and Linux clock > > > > >-Original Message- > >From: Xenomai On

RE: Difference between Xenomai timer and Linux clock

2022-05-29 Thread Chen, Hongzhan via Xenomai
>-Original Message- >From: Xenomai On Behalf Of Prasanna Kannan via >Xenomai >Sent: Friday, May 27, 2022 9:39 PM >To: xenomai@xenomai.org >Subject: Difference between Xenomai timer and Linux clock > >Hello Everybody, > >I am comparing the Xenomai Timer(rt_timer_read()) and

Re: 16550A IRQ not enabled

2022-05-27 Thread C Smith via Xenomai
On Fri, May 27, 2022 at 1:34 AM Richard Weinberger wrote: > - Ursprüngliche Mail - > > An update: > > If the 16550A driver is modprobed with no arguments, it apparently > > probes the PCI subsystem, gets the irq, and interrupts are enabled OK. > > The serial port can send/receive data. >

Re: [PATCH 1/1] drivers/serial/16550A_pci.h: allow custom baud_base with pci cards

2022-05-27 Thread Richard Weinberger via Xenomai
On Fri, May 27, 2022 at 11:35 PM Konstantin Smola via Xenomai wrote: > > pci probe was overwriting baud_base with default values, ignoring baud_base > arguments passed in while loading driver. > > Signed-off-by: Konstantin Smola > --- > kernel/drivers/serial/16550A_pci.h | 3 ++- > 1 file

[PATCH 1/1] drivers/serial/16550A_pci.h: allow custom baud_base with pci cards

2022-05-27 Thread Konstantin Smola via Xenomai
pci probe was overwriting baud_base with default values, ignoring baud_base arguments passed in while loading driver. Signed-off-by: Konstantin Smola --- kernel/drivers/serial/16550A_pci.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/drivers/serial/16550A_pci.h

  1   2   3   4   5   6   7   8   9   10   >