All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] Re: Stalled xenomai domain with head-optimisation
Date: Fri, 12 May 2006 09:54:17 +0200	[thread overview]
Message-ID: <44643F29.8010701@domain.hid> (raw)
In-Reply-To: <44642811.20500@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 1006 bytes --]

Philippe Gerum wrote:
> Jan Kiszka wrote:
>>
>> As long as I didn't messed my build up (it's late...): no effect for
>> both patches.
>>
> 
> Ok, thanks. So does the following patch on the trunk/ make the bug
> disappear, when using a vanilla Adeos support?
> 
> --- include/asm-generic/hal.h    (revision 1078)
> +++ include/asm-generic/hal.h    (working copy)
> @@ -118,7 +118,7 @@
>  /* Obsolete Adeos patches do not support the invariant pipeline head
>     optimization, so we check for the presence of __ipipe_pipeline_head
>     to detect it. */
> -#if defined(CONFIG_XENO_OPT_PIPELINE_HEAD) &&
> defined(__ipipe_pipeline_head)
> +#if defined(CONFIG_XENO_OPT_PIPELINE_HEAD) &&
> defined(__ipipe_pipeline_head) && 0
>  #define rthal_local_irq_disable()    ipipe_stall_pipeline_head()
>  #define rthal_local_irq_enable()    ipipe_unstall_pipeline_head()
>  #define rthal_local_irq_save(x)        ((x) =
> !!ipipe_test_and_stall_pipeline_head())
> 

This works now.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

      reply	other threads:[~2006-05-12  7:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-11 16:22 [Xenomai-core] Stalled xenomai domain with head-optimisation Jan Kiszka
2006-05-11 22:32 ` [Xenomai-core] " Philippe Gerum
2006-05-11 23:56   ` Jan Kiszka
2006-05-12  6:15     ` Philippe Gerum
2006-05-12  7:54       ` Jan Kiszka [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=44643F29.8010701@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=rpm@xenomai.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.