All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Reitinger, Peter" <preitinger@carl-valentin.de>
Cc: Xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] access SPI and DMA hardware from application ("external abort...")
Date: Tue, 19 Aug 2014 22:34:24 +0200	[thread overview]
Message-ID: <53F3B4D0.9080908@xenomai.org> (raw)
In-Reply-To: <8a9221baf06e4cf8b7ad859fab3af388@CVEX13.valentin-carl.de>

On 08/19/2014 02:13 PM, Reitinger, Peter wrote:
> Hello,
> 
> so I am not up-to-date that it is no longer recommended to do as much
> in user space as possible?

It has never been recommended. Maybe by people developing micro-kernels,
but Linux is not a micro-kernel.

> I see here a relation to the fact that
> interrupt api is going to be removed (or is already removed in 3.0)?

The user-space interrupt API were removed from 3.0 (but replaced by the
UDD framework, see recent commits in the xenomai-forge repository),
because they were a sure way to shoot one-self in the foot. But also
note that the kernel-space API were removed from xenomai-forge, because
moving everything to kernel-space is not recommended either.

> 
> But, it is correct that all kernel-space sources have to be GPL?

Yes, but normally, a driver is dumb (if you read the excellent "Linux
device drivers", I believe the advice is "no policy in kernel-space"),
so there is nothing to hide. Do you really think that an SPI controller
driver is worth hiding?

Please no top-posting, nor private mails (I usually ignore private mails).

-- 
                                                                Gilles.


      parent reply	other threads:[~2014-08-19 20:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1408010401.9958.xenomai@xenomai.org>
2014-08-15  6:47 ` [Xenomai] access SPI and DMA hardware from application ("external abort...") Reitinger, Peter
2014-08-15 15:52   ` Gilles Chanteperdrix
     [not found]     ` <8a9221baf06e4cf8b7ad859fab3af388@CVEX13.valentin-carl.de>
2014-08-19 20:34       ` Gilles Chanteperdrix [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=53F3B4D0.9080908@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=preitinger@carl-valentin.de \
    --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.