From: Philippe Gerum <rpm@xenomai.org>
To: Peter Soetens <peter@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] [Xenomai-core] [PULL REQUEST] fixes for 2.5.4
Date: Sun, 08 Aug 2010 10:50:38 +0200 [thread overview]
Message-ID: <1281257438.1706.126.camel@domain.hid> (raw)
In-Reply-To: <AANLkTinbzuTwXb2nUM+fNMzjVwOnf96VHttBUrx7rG5C@mail.gmail.com>
On Sun, 2010-08-08 at 00:08 +0200, Peter Soetens wrote:
> On Fri, Aug 6, 2010 at 12:43 PM, Philippe Gerum <rpm@xenomai.org> wrote:
> > On Fri, 2010-08-06 at 11:43 +0200, Tschaeche IT-Services wrote:
> >> On Thu, Aug 05, 2010 at 06:51:37PM +0200, Philippe Gerum wrote:
> >> > Why do you see different licenses? The nucleus is GPL, as is GPL each
> >> > and every bit of the Xenomai kernel code. Only userland libs are LGPL.
> >> >
> >> > The decision to give the EXPORT_GPL hint now to in-kernel users is
> >> > precisely there to make this even more clear, and I will extend this to
> >> > all in-kernel interfaces in Xenomai 2.6. The reason why I did not push
> >> > this change to the 2.5.x series is because some legacy Xenomai-based
> >> > apps implemented as non-GPL kernel modules might qualify for the "gray
> >> > area" set, as described in this post:
> >> > http://marc.info/?l=linux-kernel&m=107049625920022&w=2
> >> >
> >> > However, the days when using a dual-kernel system meant running
> >> > application code to kernel land are long gone; we did work quite hard to
> >> > provide flexibility, reliability and good performances in userland over
> >> > time. Therefore, Xenomai 2.6 will strongly advise users to run
> >> > applications in user-space only, and Xenomai 3.x won't export any kernel
> >> > space API to kernel-based applications at all (Of course, RTDM will
> >> > still export an API to build drivers, and to interface with other
> >> > drivers).
> >> >
> >> > If the issue is about driver code, and not application code, then it is
> >> > even simpler: driving peripherals is part of the Linux kernel
> >> > business's, so the GPL rules. If, for any valid or paranoid reason, some
> >> > of the code driving the peripheral could not be disclosed, then there
> >> > are options to move it partly or entirely to userland where LGPL
> >> > applies, even if that may not be the best technical approach.
> >> >
> >> > The bottom line for the Xenomai licensing policy is quite
> >> > straightforward:
> >> >
> >> > - We built our house on the foundations passed on by others, they gave
> >> > us the Linux kernel code, we do abide by their license because we are
> >> > part of their kernel, so our kernel-based code is licensed under the
> >> > terms of the Linux kernel license. People who want to interpret that
> >> > license to fit their licensing requirements are on their own. We did not
> >> > invent the license, we are simply using it and passing it on our own
> >> > users.
> >> >
> >> > - In userland, we provide LGPL interfaces to applications to call our
> >> > real-time nucleus services, the same way the glibc provides LGPL
> >> > interfaces to applications to call standard Linux services.
> >> >
> >> > > did not clarify yet, if our driver code may be open source.
> >> > > i think, it would be appreciated if not.
> >> > >
> >> >
> >> > We can't help in this area, we simply provide some code under a given
> >> > license. Whether the license fits your requirements depends on your
> >> > assessment of the situation only.
> >>
> >> personally i would like GPL used in projects, but companies are afraid
> >> of loosing their intellectual property. Thus, i, in the role of the
> >> consultant, have to find a solution, which you already explained:
> >> move the IP into user space and keep the GPLed module/driver part IP free.
> >
> > Whatever split between kernel/userland support you may want to implement
> > to solve this issue, I would strongly recommend to keep the interrupt
> > handling in the RTDM-based kernel driver, including the device request
> > acknowledgement part.
> >
> > Moving this code to userland would require the thread in charge to
> > always be runnable, so that you don't get either an interrupt flood, or
> > a device collapse because the interrupt handling is either significantly
> > delayed or even stopped. It turns out that such requirement would
> > prevent you from using GDB over the process including the interrupt
> > handling code, since GDB eagerly stops all threads for single-stepping.
>
> Sorry for the off-topic nitpicking, but GDB 7 supports one-thread-stop/stepping.
> This doesn't in any way shed a different light on Philippe's arguments.
> It's just removing a nit. On a saturday night. While everyone's sleeping.
Is non-stop debugging available for anything else than x86 these days?
>
> Peter
--
Philippe.
next prev parent reply other threads:[~2010-08-08 8:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-18 16:57 [Xenomai-core] [PULL REQUEST] fixes for 2.5.4 Philippe Gerum
2010-06-18 17:03 ` Gilles Chanteperdrix
2010-08-05 12:58 ` [Xenomai-help] " Tschaeche IT-Services
2010-08-05 14:00 ` Philippe Gerum
2010-08-05 14:15 ` Gilles Chanteperdrix
2010-08-05 15:19 ` Tschaeche IT-Services
2010-08-05 16:51 ` Philippe Gerum
2010-08-06 9:43 ` Tschaeche IT-Services
2010-08-06 10:43 ` Philippe Gerum
2010-08-07 22:08 ` Peter Soetens
2010-08-08 8:50 ` Philippe Gerum [this message]
2010-08-09 9:42 ` Peter Soetens
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=1281257438.1706.126.camel@domain.hid \
--to=rpm@xenomai.org \
--cc=peter@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.