From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Patrick <kpa_info@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Xenomai on Xscale (Linux 2.6.20)
Date: Mon, 22 Oct 2007 21:36:32 +0200 [thread overview]
Message-ID: <18204.64448.275579.386964@domain.hid> (raw)
In-Reply-To: <200710221653.l9MGrFEt012760@domain.hid>
Patrick wrote:
> Please ignore my first wrong mail ;-)
>
>
>
> Hi,
>
>
>
> I am trying to found the bug in xenomai for PXA270 machine (xenomai 2.3.4,
> ipipe 1.7-06 and kernel 2.6.20).
>
>
>
> I have localised that the problem is coming when rt_task_create call
> __ipipe_restore_pipeline_head (called by xnlock_put_irq_restore) in
> ipipe/core.c.
>
> I think that the problem is the call to __clear_bit(IPIPE_STALL_FLAG,
> &head->cpudata[cpuid].status);
>
> If I don't execute this function on the rt_task_create the system doesn't
> freeze (but my application doesn't work correctly).
This point (xnlock_put_irqrestore in rt_task_create) is the point where
the escalation virq is handled in Xenomai domain and xnpod_schedule
switches to the new task. So, by not clearing the stall bit, you prevent
this virq from being handled. What comes after xnlock_put_irqrestore
should be xnpod_schedule_handler in pod.c.
--
Gilles Chanteperdrix.
next prev parent reply other threads:[~2007-10-22 19:36 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-22 16:53 [Xenomai-core] Xenomai on Xscale (Linux 2.6.20) Patrick
2007-10-22 17:07 ` Jan Kiszka
2007-10-22 19:36 ` Gilles Chanteperdrix [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-10-24 14:55 ROSSIER Daniel
2007-10-24 15:30 ` Philippe Gerum
2007-10-24 16:25 ` Gilles Chanteperdrix
2007-10-24 16:45 ` Philippe Gerum
2007-12-03 11:56 ` linux
2007-12-03 13:09 ` Gilles Chanteperdrix
2007-12-03 14:36 ` Patrick
2007-10-24 15:56 ` Gilles Chanteperdrix
2007-10-11 16:35 ROSSIER Daniel
2007-10-11 17:00 ` Philippe Gerum
2007-10-12 12:28 ` Daniel Rossier
2007-10-12 12:43 ` Gilles Chanteperdrix
2007-10-11 17:02 ` Jan Kiszka
2007-10-12 11:48 ` Daniel Rossier
2007-10-12 12:34 ` Gilles Chanteperdrix
2007-10-12 12:46 ` Daniel Rossier
2007-10-12 13:14 ` Gilles Chanteperdrix
2007-10-13 15:34 ` ROSSIER Daniel
2007-10-13 17:06 ` Gilles Chanteperdrix
2007-10-22 16:38 ` Patrick
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=18204.64448.275579.386964@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=kpa_info@domain.hid \
--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.