From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?q?Fran=C3=A7ois_Legal?= In-Reply-To: <742b47b4-5a36-c9eb-6446-f7f74584109d@siemens.com> Content-Type: text/plain; charset="utf-8" Date: Thu, 14 Apr 2022 18:37:11 +0200 MIME-Version: 1.0 Message-ID: Subject: =?utf-8?q?Re=3A?= Bug in xenomai =?utf-8?q?3=2E2=2Ex?= on ARM Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Greg Gallagher , xenomai@xenomai.org Le Mardi, Mars 22, 2022 19:57 CET, Jan Kiszka = a =C3=A9crit: > On 22.03.22 18:31, Greg Gallagher via Xenomai wrote: > > On Tue, Mar 22, 2022 at 12:49 PM Fran=C3=A7ois Legal via Xenomai < > > xenomai@xenomai.org> wrote: > > > >> Hello, > >> > >> trying to port a running Xenomai 3.1.x/Linux 4.4.x system to Xenom= ai > >> 3.2.x/Linux 4.4.x running on Zynq7000, I found a (maybe) bug in in= tr.c > >> > >> In xnintr=5Fattach, the call to ipipe=5Fset=5Firq=5Faffinity (when= in SMP) expects > >> a 0 return code. However, on my platform, I end up in irq=5Fgic.c = in > >> gic=5Fset=5Faffinity() which returns IRQ=5FSET=5FMASK=5FOK=5FDONE = (2) when everything > >> is fine. > >> > >> This IRQ=5FSET=5FMASK=5FOK=5FDONE does not seem very common in the= kernel (I could > >> find a few occurences, on Gic v3 so maybe AARCH64 has the same pro= blem, > >> plus some PCI devices). > >> > >> I was wondering if this was something to fix in ipipe or xenomai ?= > >> > >> Fran=C3=A7ois > > > > > > Do the newer kernels have the same return value? Do we test 3.2.x o= n the > > older kernels? Maybe just cip ? > > > > We limited testing to 4.4-cip with 3.0.x. Newer kernels require newer= > Xenomai, and vice versa. > > But let's first understand if the issue if 4.4-specific. > > Jan > > -- > Siemens AG, Technology > Competence Center Embedded Linux I just found out, re reading the message that I made a typo in my origi= nal message. I'm not trying to port the system to xenomai 3.2/linux 4.4= but linux 5.4 Also, I was wondering how I could make this topic move forward. Thanks in advance Fran=C3=A7ois