From: Philippe Gerum <rpm@xenomai.org>
To: dwalker@mvista.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] I-pipe: x86 port
Date: Tue, 21 Jun 2005 09:22:19 +0200 [thread overview]
Message-ID: <42B7C02B.4050801@xenomai.org> (raw)
In-Reply-To: <1119304726.32310.19.camel@dhcp153.mvista.com>
Daniel Walker wrote:
> On Sat, 2005-06-18 at 01:21 +0200, Philippe Gerum wrote:
>
>
>>+#define local_save_flags(x) ((x) = __ipipe_test_root())
>>+#define local_irq_save(x) ((x) = __ipipe_test_and_stall_root())
>>+#define local_irq_restore(x) __ipipe_restore_root(x)
>>+#define local_irq_disable() __ipipe_stall_root()
>>+#define local_irq_enable() __ipipe_unstall_root()
>>+
>>+#define irqs_disabled() __ipipe_test_root()
>
>
>
> If you want to integrate with newer RT patches , (I'm not sure which one
> this is on) ..
This patch only inherits the basic conditionals for integrating with
PREEMPT_RT from a recent Adeos combo experimenting the issue w/
0.7.44-03, but there is indeed more to do for completing the integration
with recent PREEMPT_RT patches.
You could modify the above so that it uses the soft irq's
> off flags . So if linux is in a soft irq disable than it's equal to a
> stall on the ipipe ..
>
Ack. I will provide a newer combo patch using PREEMPT_RT's virtualized
local_irq_disable for the root domain. Thanks for the hint.
--
Philippe.
prev parent reply other threads:[~2005-06-21 8:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-17 23:21 [PATCH 2/2] I-pipe: x86 port Philippe Gerum
2005-06-20 21:58 ` Daniel Walker
2005-06-21 7:22 ` Philippe Gerum [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=42B7C02B.4050801@xenomai.org \
--to=rpm@xenomai.org \
--cc=dwalker@mvista.com \
--cc=linux-kernel@vger.kernel.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.