Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1416017 > unrolled thread
| Started by | Gerd Hoffmann <kraxel@redhat.com> |
|---|---|
| First post | 2016-06-07 13:10 +0200 |
| Last post | 2016-06-07 14:50 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v3 02/10] irqchip: bcm2835: Avoid arch/arm-specific handle_IRQ. Gerd Hoffmann <kraxel@redhat.com> - 2016-06-07 13:10 +0200
Re: [PATCH v3 02/10] irqchip: bcm2835: Avoid arch/arm-specific handle_IRQ. Jason Cooper <jason@lakedaemon.net> - 2016-06-07 14:50 +0200
| From | Gerd Hoffmann <kraxel@redhat.com> |
|---|---|
| Date | 2016-06-07 13:10 +0200 |
| Subject | [PATCH v3 02/10] irqchip: bcm2835: Avoid arch/arm-specific handle_IRQ. |
| Message-ID | <rHn3t-1Vt-71@gated-at.bofh.it> |
From: Eric Anholt <eric@anholt.net>
This is equivalent and works for arm64 as well.
Signed-off-by: Eric Anholt <eric@anholt.net>
---
drivers/irqchip/irq-bcm2835.c | 3 +--
drivers/irqchip/irq-bcm2836.c | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/irqchip/irq-bcm2835.c b/drivers/irqchip/irq-bcm2835.c
index bf9cc5f..44d7c38 100644
--- a/drivers/irqchip/irq-bcm2835.c
+++ b/drivers/irqchip/irq-bcm2835.c
@@ -52,7 +52,6 @@
#include <linux/irqdomain.h>
#include <asm/exception.h>
-#include <asm/mach/irq.h>
/* Put the bank and irq (32 bits) into the hwirq */
#define MAKE_HWIRQ(b, n) ((b << 5) | (n))
@@ -242,7 +241,7 @@ static void __exception_irq_entry bcm2835_handle_irq(
u32 hwirq;
while ((hwirq = get_next_armctrl_hwirq()) != ~0)
- handle_IRQ(irq_linear_revmap(intc.domain, hwirq), regs);
+ handle_domain_irq(intc.domain, hwirq, regs);
}
static void bcm2836_chained_handle_irq(struct irq_desc *desc)
diff --git a/drivers/irqchip/irq-bcm2836.c b/drivers/irqchip/irq-bcm2836.c
index 72ff1d5..2787598 100644
--- a/drivers/irqchip/irq-bcm2836.c
+++ b/drivers/irqchip/irq-bcm2836.c
@@ -180,7 +180,7 @@ __exception_irq_entry bcm2836_arm_irqchip_handle_irq(struct pt_regs *regs)
} else if (stat) {
u32 hwirq = ffs(stat) - 1;
- handle_IRQ(irq_linear_revmap(intc.domain, hwirq), regs);
+ handle_domain_irq(intc.domain, hwirq, regs);
}
}
--
1.8.3.1
[toc] | [next] | [standalone]
| From | Jason Cooper <jason@lakedaemon.net> |
|---|---|
| Date | 2016-06-07 14:50 +0200 |
| Subject | Re: [PATCH v3 02/10] irqchip: bcm2835: Avoid arch/arm-specific handle_IRQ. |
| Message-ID | <rHoCe-2KD-7@gated-at.bofh.it> |
| In reply to | #1416017 |
Gerd, On Tue, Jun 07, 2016 at 01:05:40PM +0200, Gerd Hoffmann wrote: > From: Eric Anholt <eric@anholt.net> > > This is equivalent and works for arm64 as well. > > Signed-off-by: Eric Anholt <eric@anholt.net> > --- > drivers/irqchip/irq-bcm2835.c | 3 +-- > drivers/irqchip/irq-bcm2836.c | 2 +- > 2 files changed, 2 insertions(+), 3 deletions(-) Please drop this from your series, it's already applied. thx, Jason.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web