From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 5/8] irqchip: Conexant CX92755 interrupts controller driver
Date: Tue, 23 Dec 2014 22:02:18 +0100 [thread overview]
Message-ID: <16151065.LjzHK8TaOo@wuerfel> (raw)
In-Reply-To: <7997c913e9f6debc09fd62c788b8ac6bd330d4f3.1419318109.git.baruch@tkos.co.il>
On Tuesday 23 December 2014 09:58:42 Baruch Siach wrote:
> +static void __exception_irq_entry digicolor_handle_irq(struct pt_regs *regs)
> +{
> + u32 status, hwirq;
> +
> + do {
> + status = readl(digicolor_irq_base + IC_INT0STATUS_LO);
> + if (status) {
> + hwirq = ffs(status) - 1;
> + } else {
> + status = readl(digicolor_irq_base + IC_INT0STATUS_XLO);
> + if (status)
> + hwirq = ffs(status) - 1 + 32;
> + else
> + return;
> + }
> +
> + handle_domain_irq(digicolor_irq_domain, hwirq, regs);
> + } while (1);
> +}
>
Have you tried using the generic_irqchip code for this? The hardware
seems simple enough.
Arnd
next prev parent reply other threads:[~2014-12-23 21:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-23 7:58 [PATCH 0/8] ARM: Conexant Digicolor CX92755 SoC support Baruch Siach
2014-12-23 7:58 ` [PATCH 1/8] ARM: initial support for Conexant Digicolor CX92755 SoC Baruch Siach
2014-12-23 7:58 ` [PATCH 2/8] ARM: digicolor: add low level debug support Baruch Siach
2014-12-23 21:00 ` Arnd Bergmann
2014-12-24 6:05 ` Baruch Siach
2014-12-23 7:58 ` [PATCH 3/8] ARM: digicolor: add minimal device tree description Baruch Siach
2014-12-23 7:58 ` [PATCH 4/8] ARM: devicetree: document supported Conexant Digicolor SoC Baruch Siach
2014-12-23 7:58 ` [PATCH 5/8] irqchip: Conexant CX92755 interrupts controller driver Baruch Siach
2014-12-23 21:02 ` Arnd Bergmann [this message]
2014-12-24 6:16 ` Baruch Siach
2014-12-23 7:58 ` [PATCH 6/8] irqchip: devicetree: document Conexant Digicolor irq binding Baruch Siach
2014-12-23 7:58 ` [PATCH 7/8] clocksource: driver for Conexant Digicolor SoC timer Baruch Siach
2014-12-23 7:58 ` [PATCH 8/8] clocksource: devicetree: document Conexant Digicolor timer binding Baruch Siach
2014-12-23 21:03 ` [PATCH 0/8] ARM: Conexant Digicolor CX92755 SoC support Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16151065.LjzHK8TaOo@wuerfel \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox