* [Xenomai] CONFIG_XENO_OPT_NATIVE_INTR=y
@ 2014-04-29 16:33 John Morris
2014-04-29 16:44 ` Philippe Gerum
0 siblings, 1 reply; 3+ messages in thread
From: John Morris @ 2014-04-29 16:33 UTC (permalink / raw)
To: xenomai
My Debian kernel packages [1] use Gilles's kernel config snippet [2] for
Xenomai configuration, where CONFIG_XENO_OPT_NATIVE_INTR is turned off.
Michael Haberler requested [3] that option be turned on to support RT
parport ISRs [4], presumably since many LinuxCNC and Machinekit users
attach stepper motor drivers through the parport.
Given the 'one size fits all' approach to these kernel packages, which
are intended to run on a variety of x86 hardware for a variety of
applications (not necessarily just Machinekit), is this an appropriate
option to enable for general use? Is there a specific reason this is
turned off in Gilles's configuration?
Thanks-
John
[1] https://github.com/zultron/kernel-rt-deb
[2] http://www.xenomai.org/pipermail/xenomai/2013-January/027345.html
[3] https://github.com/zultron/kernel-rt-deb/issues/1
[4] http://acadis.org/pages/captain.at/parallel-port-intr-isr
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai] CONFIG_XENO_OPT_NATIVE_INTR=y
2014-04-29 16:33 [Xenomai] CONFIG_XENO_OPT_NATIVE_INTR=y John Morris
@ 2014-04-29 16:44 ` Philippe Gerum
2014-04-30 12:02 ` Gilles Chanteperdrix
0 siblings, 1 reply; 3+ messages in thread
From: Philippe Gerum @ 2014-04-29 16:44 UTC (permalink / raw)
To: John Morris, xenomai
On 04/29/2014 06:33 PM, John Morris wrote:
> My Debian kernel packages [1] use Gilles's kernel config snippet [2] for
> Xenomai configuration, where CONFIG_XENO_OPT_NATIVE_INTR is turned off.
>
> Michael Haberler requested [3] that option be turned on to support RT
> parport ISRs [4], presumably since many LinuxCNC and Machinekit users
> attach stepper motor drivers through the parport.
>
> Given the 'one size fits all' approach to these kernel packages, which
> are intended to run on a variety of x86 hardware for a variety of
> applications (not necessarily just Machinekit), is this an appropriate
> option to enable for general use? Is there a specific reason this is
> turned off in Gilles's configuration?
The reason to turn this off by default is because this interface is
deprecated, and was dropped from the upcoming 3.x API. The preferred
(and strongly suggested) way for dealing with interrupts from userland
is via an RTDM driver, for reliability reasons.
HTH,
--
Philippe.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai] CONFIG_XENO_OPT_NATIVE_INTR=y
2014-04-29 16:44 ` Philippe Gerum
@ 2014-04-30 12:02 ` Gilles Chanteperdrix
0 siblings, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2014-04-30 12:02 UTC (permalink / raw)
To: Philippe Gerum, John Morris, xenomai
On 04/29/2014 06:44 PM, Philippe Gerum wrote:
> On 04/29/2014 06:33 PM, John Morris wrote:
>> My Debian kernel packages [1] use Gilles's kernel config snippet [2] for
>> Xenomai configuration, where CONFIG_XENO_OPT_NATIVE_INTR is turned off.
>>
>> Michael Haberler requested [3] that option be turned on to support RT
>> parport ISRs [4], presumably since many LinuxCNC and Machinekit users
>> attach stepper motor drivers through the parport.
>>
>> Given the 'one size fits all' approach to these kernel packages, which
>> are intended to run on a variety of x86 hardware for a variety of
>> applications (not necessarily just Machinekit), is this an appropriate
>> option to enable for general use? Is there a specific reason this is
>> turned off in Gilles's configuration?
>
> The reason to turn this off by default is because this interface is
> deprecated, and was dropped from the upcoming 3.x API. The preferred
> (and strongly suggested) way for dealing with interrupts from userland
> is via an RTDM driver, for reliability reasons.
Note that we have an in-tree analogy driver for PC parallel port, I do
not know if it fits Michael needs. The driver seems ported from comedi,
so it may exist for preempt_rt and rtai as well.
--
Gilles.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-04-30 12:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-29 16:33 [Xenomai] CONFIG_XENO_OPT_NATIVE_INTR=y John Morris
2014-04-29 16:44 ` Philippe Gerum
2014-04-30 12:02 ` Gilles Chanteperdrix
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.