From: "François Legal" <devel@thom.fr.eu.org>
To: xenomai@xenomai.org
Subject: Bug in xenomai 3.2.x on ARM
Date: Tue, 22 Mar 2022 17:48:43 +0100 [thread overview]
Message-ID: <cff-6239fe00-4d-24d08100@67302606> (raw)
Hello,
trying to port a running Xenomai 3.1.x/Linux 4.4.x system to Xenomai 3.2.x/Linux 4.4.x running on Zynq7000, I found a (maybe) bug in intr.c
In xnintr_attach, the call to ipipe_set_irq_affinity (when in SMP) expects a 0 return code. However, on my platform, I end up in irq_gic.c in gic_set_affinity() which returns IRQ_SET_MASK_OK_DONE (2) when everything is fine.
This IRQ_SET_MASK_OK_DONE does not seem very common in the kernel (I could find a few occurences, on Gic v3 so maybe AARCH64 has the same problem, plus some PCI devices).
I was wondering if this was something to fix in ipipe or xenomai ?
François
next reply other threads:[~2022-03-22 16:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-22 16:48 François Legal [this message]
2022-03-22 17:31 ` Bug in xenomai 3.2.x on ARM Greg Gallagher
2022-03-22 18:57 ` Jan Kiszka
2022-03-22 22:19 ` François Legal
2022-04-14 16:37 ` François Legal
2022-05-20 14:29 ` Gunter Grau
2022-05-20 14:29 ` [PATCH] cobalt: ipipe: intr: Fix return value check of ipipe_set_irq_affinity Gunter Grau
2022-05-20 14:32 ` Grau, Gunter
2022-05-24 7:24 ` Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cff-6239fe00-4d-24d08100@67302606 \
--to=devel@thom.fr.eu.org \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.