[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D62C2A0.6060405@mvista.com>
Date: Mon, 21 Feb 2011 22:53:04 +0300
From: Sergei Shtylyov <sshtylyov@...sta.com>
To: "Hans J. Koch" <hjk@...sjkoch.de>
CC: "TK, Pratheesh Gangadhar" <pratheesh@...com>,
"davinci-linux-open-source@...ux.davincidsp.com"
<davinci-linux-open-source@...ux.davincidsp.com>,
Arnd Bergmann <arnd@...db.de>,
"Chatterjee, Amit" <amit.chatterjee@...com>,
"gregkh@...e.de" <gregkh@...e.de>,
LKML <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH 1/2] PRUSS UIO driver support
Hello.
Hans J. Koch wrote:
>>> -----Original Message-----
>>> From: Hans J. Koch [mailto:hjk@...sjkoch.de]
>>> Sent: Sunday, February 20, 2011 12:04 AM
>>> To: TK, Pratheesh Gangadhar
>>> Cc: Thomas Gleixner; Arnd Bergmann; linux-arm-kernel@...ts.infradead.org;
>>> davinci-linux-open-source@...ux.davincidsp.com; gregkh@...e.de;
>>> Chatterjee, Amit; Hans J. Koch; LKML
>>> Subject: Re: [PATCH 1/2] PRUSS UIO driver support
>>> On Sat, Feb 19, 2011 at 09:10:23PM +0530, TK, Pratheesh Gangadhar wrote:
>>>> For my understanding - if the interrupt is not shared and not level triggered -
>>>> is this okay to have empty handler?
>>> Greg already said he won't accept that. And I'm quite sure these
>>> interrupts
>>> are level triggered, since that is the default on arch/omap.
>>> E.g. in arch/arm/mach-omap1/irq.c, a loop sets all irqs to level triggered
>>> handling: set_irq_handler(j, handle_level_irq); (line 234)
>> You should be looking at arch/arm/mach-davinci/irq.c
Into arch/arm/mach-davinci/cp_intc.c actually as we're not talking about a
"real" DaVincis here, but about OMAP-L138.
> Hmpf. I alway get lost in the directory structure of TI SoCs...
> At least I learned that OMAP3 is in the omap2 directory :)
It's probably even more convoluted with DaVinci and friends. :-)
>> and all interrupts except IRQ_TINT1_TINT34 is set to edge trigger mode (line 160).
> Is that really needed? Level triggered interrupts should certainly be
> preferred if possible.
Don't look there, this code is for "real" DaVincis only.
> Thanks,
> Hans
WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists