From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sekhar Nori Subject: Re: [PATCH v5 1/7] ARM: davinci, cp_intc: Add irq domain support Date: Sat, 2 Jun 2012 01:06:41 +0530 Message-ID: <4FC919C9.6070107@ti.com> References: <1338373143-7467-1-git-send-email-hs@denx.de> <1338373143-7467-2-git-send-email-hs@denx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1338373143-7467-2-git-send-email-hs-ynQEQJNshbs@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Heiko Schocher Cc: davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org, Wolfgang Denk , Sergei Shtylyov , devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org Hi Heiko, On 5/30/2012 3:48 PM, Heiko Schocher wrote: > Signed-off-by: Heiko Schocher > Cc: davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org > Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org > Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org > Cc: Grant Likely > Cc: Sekhar Nori > Cc: Wolfgang Denk > Cc: Sergei Shtylyov > > --- On AM18x EVM, with this patch applied and CONFIG_KEYBOARD_GPIO_POLLED=y, I get warnings of type: irq 0, desc: c0372950, depth: 1, count: 0, unhandled: 0 ->handle_irq(): c00552f8, handle_bad_irq+0x0/0x23c ->irq_data.chip(): c03794e8, 0xc03794e8 ->action(): (null) IRQ_NOPROBE set IRQ_NOREQUEST set They do not come when CONFIG_KEYBOARD_GPIO_POLLED=n. I am yet to debug this, but wanted to point out now in case there is anything obvious. # cat /proc/interrupts CPU0 0: 32 none 11: 0 cp_intc edma 12: 0 cp_intc edma_error 15: 1048613 cp_intc i2c_davinci 21: 50992 cp_intc clockevent 22: 17 cp_intc free-run counter 33: 0 cp_intc eth0 34: 13747 cp_intc eth0 35: 5032 cp_intc eth0 36: 0 cp_intc eth0 52: 162759 cp_intc da8xx_lcdc 61: 270 cp_intc serial 93: 0 cp_intc edma 94: 0 cp_intc edma_error Err: 32 The interrupt number 0 shows up which seems to be causing these warnings. I also had to select IRQ_DOMAIN for CP_INTC in arch/arm/mach-davinci/Kconfig to make the kernel builds after applying this patch. Thanks, Sekhar