From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <531380BA.70006@xenomai.org> Date: Sun, 02 Mar 2014 20:04:26 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <530D0BBD.6070704@xenomai.org> <530D2C92.9010607@xenomai.org> <530E6159.4050204@xenomai.org> <530F17EC.6020204@xenomai.org> <530F9CA2.2040601@xenomai.org> <531075E7.7060107@xenomai.org> <53134A2E.1000406@xenomai.org> <53137581.5060600@xenomai.org> <53137F18.3020409@xenomai.org> In-Reply-To: <53137F18.3020409@xenomai.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] RaspberryPi kernel 3.8 issue List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gregory Dymarek , Xenomai On 03/02/2014 07:57 PM, Gilles Chanteperdrix wrote: > On 03/02/2014 07:54 PM, Gregory Dymarek wrote: >> This works!! >> >> I thought xenomai does not deal with fiq. Why is it required to enable them >> in the driver when having xenomai on? > > Because without CONFIG_IPIPE local_irq_restore deals with FIQs > With CONFIG_IPIPE local_irq_restore does not deal with FIQs > > We can of course rework local_irq_restore to take into account FIQs with > CONFIG_IPIPE, but that would make local_irq_restore heavier in a lot of > places, whereas there are in fact only three spots to fix, for only one SOC. > > BTW, using FIQs for USB means that USB activity will be able to influence xenomai latencies. So, it is really not recommended, if there is a configuration option for disabling the use of FIQ with this driver, this should be recommended for use with xenomai. -- Gilles.