Date: Thu, 20 Nov 2014 23:41:04 +0100 From: Gilles Chanteperdrix Message-ID: <20141120224104.GG4545@sisyphus.hd.free.fr> References: <20141118202833.GH3177@sisyphus.hd.free.fr> <20141118205303.GD24110@csclub.uwaterloo.ca> <20141118205624.GK3177@sisyphus.hd.free.fr> <20141118211713.GL3177@sisyphus.hd.free.fr> <20141118213931.GE24110@csclub.uwaterloo.ca> <20141119171204.GI24110@csclub.uwaterloo.ca> <20141119223848.GF7011@sisyphus.hd.free.fr> <20141120200133.GN24110@csclub.uwaterloo.ca> <20141120200639.GF4545@sisyphus.hd.free.fr> <20141120223817.GO24110@csclub.uwaterloo.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141120223817.GO24110@csclub.uwaterloo.ca> Subject: Re: [Xenomai] I-pipe error when requesting irq that is on omap gpio 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 Thu, Nov 20, 2014 at 05:38:17PM -0500, Lennart Sorensen wrote: > On Thu, Nov 20, 2014 at 09:06:39PM +0100, Gilles Chanteperdrix wrote: > > Then we have a problem, because once the irq has been enabled for > > Xenomai, it is almost certainly wrong for a power management call to > > change its register. So, probably power management should be > > disabled like on x86. > > Perhaps, but TI's code doesn't compile if you turn it off at the moment. > > > Yes that I what I meant, getting back the pointer to the structure > > needed by the hwmod layer is going to be hard, since this pointer is > > well hidden under the carpet. > > > > Anyway, if anyone wants a better solution, he will implement it, I > > will merge your patch in the current version of the I-pipe patch > > (3.16.0). > > I was even thinking of sending it upstream for suggestions. Others using > linux might want fast interrupts too. But certainly useful for ipipe > users so far. Oh my, another Don Quijote. My prognostic: "the device tree is a description of the hardware and should not contain such parameters". But go ahead, try it. -- Gilles.