From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 1 Dec 2014 16:30:57 +0100 From: Gilles Chanteperdrix Message-ID: <20141201153057.GJ23220@hermes> References: <314E5ECDAA86314791309FA670550F89C9C4FD8A@SINTEFEXMBX05.sintef.no> <20141201151951.GG24110@csclub.uwaterloo.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20141201151951.GG24110@csclub.uwaterloo.ca> Subject: Re: [Xenomai] WARNING: at arch/arm/kernel/ipipe.c:157 ipipe_set_irq_affinity+0x47/0x70() List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lennart Sorensen Cc: "xenomai@xenomai.org" On Mon, Dec 01, 2014 at 10:19:51AM -0500, Lennart Sorensen wrote: > On Mon, Dec 01, 2014 at 05:54:36AM +0000, Terje Frøysa wrote: > > Occasionally I get the warning listed below on my Beaglebone Black console. > > I am running Debian 3.8.13-bone67 with Xenomai 2.6.4 > > > > I am running four RTDM modules handling interrupts from GPIO pins. > > > > As far as I have found, this kind of warnings can be associated with inappropriate calls from user space. > > But I cannot find such calls in my code. > > The irq is requested by a RTDM kernel module when issuing a device open call from user space. > > I just changed the code to not give the warning. The omap-gpio driver > doesn't support setting affinity, and the linux irq driver has no issue > with that, so perhaps xenomai/ipipe has no reason to have a problem with > it either. On the other hand, this is just a warning, it does not prevent the system from working, and this warning warns us about a real problem: we can not set the irq affinity of this driver. -- Gilles.