All of lore.kernel.org
 help / color / mirror / Atom feed
From: <j.villena@ecler.com>
To: xenomai@xenomai.org
Subject: RE: Using oob GPIO on RPi4B and evl_poll
Date: Mon, 20 Sep 2021 10:12:06 +0200	[thread overview]
Message-ID: <001301d7adf7$34175270$9c45f750$@ecler.com> (raw)
In-Reply-To: <87ee9j20pc.fsf@xenomai.org>

Hi Philippe,

Now it works as expected. Thank you!

Jesus



> 
> j.villena--- via Xenomai <xenomai@xenomai.org> writes:
> 
> > Sorry Philippe, I have found another evl_poll related issue, similar
> > to the previous one. This time, a system crash happens when waiting in
> > evl_poll for more than 3 file descriptors.
> >
> > This is a simple program to force the wrong behavior:
> > https://www.dropbox.com/s/bq7lng7dgvknypv/evl_poll_test2.c?dl=0
> >
> > It's very similar to the other sent previously, but not using any GPIO
> > related functionality. The only objects which file descriptors are
> > used in evl_poll are evl_flags. The program works as expected using a
> > value of kFlagsCount < 4. From 4 upwards the kernel freezes.
> >
> > The kernel console output using kFlagsCount > 3 is:
> >
> 
> <snip>
> 
> Once again your test program made a difference by illustrating the issue
> clearly, thanks for this. The bug was related to the previous one, same
root
> cause which I eventually fixed for good with [1].
> 
> libevl r27 is out [2] with one test case more covering this (poll-many).
> 
> [1] https://source.denx.de/Xenomai/xenomai4/linux-evl/-
> /commit/ccfed6556c7adf47a8e61febb681735f3b2710bc
> [2] https://source.denx.de/Xenomai/xenomai4/libevl/-/tree/r27
> 
> --
> Philippe.



      reply	other threads:[~2021-09-20  8:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-03 21:49 Using oob GPIO on RPi4B and evl_poll j.villena
2021-09-04  7:36 ` Philippe Gerum
2021-09-05 10:34   ` j.villena
2021-09-05 16:00     ` Philippe Gerum
2021-09-12 20:38       ` j.villena
2021-09-13  7:58         ` j.villena
2021-09-20  6:57           ` Philippe Gerum
2021-09-20  8:12             ` j.villena [this message]

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='001301d7adf7$34175270$9c45f750$@ecler.com' \
    --to=j.villena@ecler.com \
    --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.