All of lore.kernel.org
 help / color / mirror / Atom feed
From: aking <jinxin16897123@163.com>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] general kernel functions in RTDM?
Date: Thu, 18 Jul 2013 22:23:53 +0800	[thread overview]
Message-ID: <51E7FA79.6030602@163.com> (raw)
In-Reply-To: <51E55AB0.8070600@siemens.com>

On 7/16/2013 Tuesday 10:37 PM, Jan Kiszka wrote:
> On 2013-07-16 09:28, aking_jin wrote:
>> Hi,all
>> What should be take care of while using general kernel functions in
>> RTDM? for example: dma operation, GPIO operation and etc .
> Depends on their usage context. You can normally use Linux service while
> the driver is in Linux context. But once you run over an RT IRQ, RT
> timer handler or RT thread (kernel/userspace), most Linux services
> become taboo.
>
> DMA mapping/unmapping, e.g., may still work if it involves no hardware
> or software IOMMU, otherwise it is required to premap the regions during
> setup over a Linux context. GPIO may involve Linux code that
> synchronizes against concurrent access. If that code was hardened as
> part of the I-pipe patch, you are safe again.
>
> Hope this helped to get the general picture. Detailed answers depend on
> what you do, and on which hardware.
>
> Jan
>
How could I toggle gpio in isr of xenomai RTDM?
Thanks

-- 
Best Regards
aking_jin


  parent reply	other threads:[~2013-07-18 14:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-16  7:28 [Xenomai] general kernel functions in RTDM? aking_jin
2013-07-16 14:37 ` Jan Kiszka
2013-07-16 15:13   ` [Xenomai] imx28 high latency Roberto Bielli
2013-07-16 18:15     ` Gilles Chanteperdrix
2013-07-18 14:23   ` aking [this message]
2013-07-18 19:47     ` [Xenomai] general kernel functions in RTDM? Gilles Chanteperdrix
2013-07-19 11:30     ` Gilles Chanteperdrix
2013-07-21 13:37       ` aking

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=51E7FA79.6030602@163.com \
    --to=jinxin16897123@163.com \
    --cc=jan.kiszka@siemens.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.