From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <535FD6DC.3020802@xenomai.org> Date: Tue, 29 Apr 2014 18:44:12 +0200 From: Philippe Gerum MIME-Version: 1.0 References: <535FD440.7000104@zultron.com> In-Reply-To: <535FD440.7000104@zultron.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] CONFIG_XENO_OPT_NATIVE_INTR=y List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Morris , xenomai@xenomai.org 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.