Date: Fri, 21 Nov 2014 08:59:00 +0100 From: Gilles Chanteperdrix Message-ID: <20141121075900.GH4545@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. Mainline TI code does, as I said, I just have a few issues, but fixing them look really doable. Alternatively, we could, with a #ifdef CONFIG_IPIPE define a few of the bits used in omap_hwmod to 0, so as to avoid the use of smart-idle. -- Gilles.