public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/03] irqchip: renesas-irqc: r8a7795 and generic chip update
@ 2015-09-17  7:12 Magnus Damm
  2015-09-17  7:12 ` [PATCH 01/03] irqchip: renesas-irqc: Add r8a7795 IRQC DT documentation Magnus Damm
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Magnus Damm @ 2015-09-17  7:12 UTC (permalink / raw)
  To: linux-sh; +Cc: jason, geert+renesas, linux-kernel, horms, Magnus Damm, tglx

irqchip: renesas-irqc: r8a7795 and generic chip update

[PATCH 01/03] irqchip: renesas-irqc: Add r8a7795 IRQC DT documentation
[PATCH 02/03] irqchip: renesas-irqc: Move over to generic chip
[PATCH 03/03] irqchip: renesas-irqc: Enable nested lock

This series updates the IRQC driver with generic chip support including
nested locking. Also the DT documentation is extended with r8a7795
support.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
---

Written against renesas-drivers-2015-09-08-v4.2

 Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.txt |    1 
 drivers/irqchip/Kconfig                                                 |    1 
 drivers/irqchip/irq-renesas-irqc.c                                      |   81 +++-------
 3 files changed, 33 insertions(+), 50 deletions(-)

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH 01/03] irqchip: renesas-irqc: Add r8a7795 IRQC DT documentation
  2015-09-17  7:12 [PATCH 00/03] irqchip: renesas-irqc: r8a7795 and generic chip update Magnus Damm
@ 2015-09-17  7:12 ` Magnus Damm
  2015-09-17  8:24   ` Geert Uytterhoeven
  2015-09-17  7:12 ` [PATCH 02/03] irqchip: renesas-irqc: Move over to generic chip Magnus Damm
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 11+ messages in thread
From: Magnus Damm @ 2015-09-17  7:12 UTC (permalink / raw)
  To: linux-sh; +Cc: jason, geert+renesas, linux-kernel, horms, Magnus Damm, tglx

From: Magnus Damm <damm+renesas@opensource.se>

Add r8a7795 to the IRQC DT binding document.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
---

 Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.txt |    1 +
 1 file changed, 1 insertion(+)

--- 0001/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.txt
+++ work/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.txt	2015-09-15 20:06:50.390513000 +0900
@@ -10,6 +10,7 @@ Required properties:
     - "renesas,irqc-r8a7792" (R-Car V2H)
     - "renesas,irqc-r8a7793" (R-Car M2-N)
     - "renesas,irqc-r8a7794" (R-Car E2)
+    - "renesas,irqc-r8a7795" (R-Car H3)
 - #interrupt-cells: has to be <2>: an interrupt index and flags, as defined in
   interrupts.txt in this directory
 - clocks: Must contain a reference to the functional clock.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH 02/03] irqchip: renesas-irqc: Move over to generic chip
  2015-09-17  7:12 [PATCH 00/03] irqchip: renesas-irqc: r8a7795 and generic chip update Magnus Damm
  2015-09-17  7:12 ` [PATCH 01/03] irqchip: renesas-irqc: Add r8a7795 IRQC DT documentation Magnus Damm
@ 2015-09-17  7:12 ` Magnus Damm
  2015-09-17  7:12 ` [PATCH 03/03] irqchip: renesas-irqc: Enable nested lock Magnus Damm
  2015-09-17  7:57 ` [PATCH 00/03] irqchip: renesas-irqc: r8a7795 and generic chip update Simon Horman
  3 siblings, 0 replies; 11+ messages in thread
From: Magnus Damm @ 2015-09-17  7:12 UTC (permalink / raw)
  To: linux-sh; +Cc: jason, geert+renesas, linux-kernel, horms, Magnus Damm, tglx

From: Magnus Damm <damm+renesas@opensource.se>

Convert the IRQC driver to rely on GENERIC_IRQ_CHIP.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
---

 drivers/irqchip/Kconfig            |    1 
 drivers/irqchip/irq-renesas-irqc.c |   79 +++++++++++++-----------------------
 2 files changed, 31 insertions(+), 49 deletions(-)

--- 0001/drivers/irqchip/Kconfig
+++ work/drivers/irqchip/Kconfig	2015-09-15 20:15:00.880513000 +0900
@@ -123,6 +123,7 @@ config RENESAS_INTC_IRQPIN
 
 config RENESAS_IRQC
 	bool
+	select GENERIC_IRQ_CHIP
 	select IRQ_DOMAIN
 
 config ST_IRQCHIP
--- 0001/drivers/irqchip/irq-renesas-irqc.c
+++ work/drivers/irqchip/irq-renesas-irqc.c	2015-09-15 20:17:18.200513000 +0900
@@ -62,33 +62,20 @@ struct irqc_priv {
 	struct irqc_irq irq[IRQC_IRQ_MAX];
 	unsigned int number_of_irqs;
 	struct platform_device *pdev;
-	struct irq_chip irq_chip;
+	struct irq_chip_generic *gc;
 	struct irq_domain *irq_domain;
 	struct clk *clk;
 };
 
-static void irqc_dbg(struct irqc_irq *i, char *str)
-{
-	dev_dbg(&i->p->pdev->dev, "%s (%d:%d)\n",
-		str, i->requested_irq, i->hw_irq);
-}
-
-static void irqc_irq_enable(struct irq_data *d)
+static struct irqc_priv *irq_data_to_priv(struct irq_data *data)
 {
-	struct irqc_priv *p = irq_data_get_irq_chip_data(d);
-	int hw_irq = irqd_to_hwirq(d);
-
-	irqc_dbg(&p->irq[hw_irq], "enable");
-	iowrite32(BIT(hw_irq), p->cpu_int_base + IRQC_EN_SET);
+	return data->domain->host_data;
 }
 
-static void irqc_irq_disable(struct irq_data *d)
+static void irqc_dbg(struct irqc_irq *i, char *str)
 {
-	struct irqc_priv *p = irq_data_get_irq_chip_data(d);
-	int hw_irq = irqd_to_hwirq(d);
-
-	irqc_dbg(&p->irq[hw_irq], "disable");
-	iowrite32(BIT(hw_irq), p->cpu_int_base + IRQC_EN_STS);
+	dev_dbg(&i->p->pdev->dev, "%s (%d:%d)\n",
+		str, i->requested_irq, i->hw_irq);
 }
 
 static unsigned char irqc_sense[IRQ_TYPE_SENSE_MASK + 1] = {
@@ -101,7 +88,7 @@ static unsigned char irqc_sense[IRQ_TYPE
 
 static int irqc_irq_set_type(struct irq_data *d, unsigned int type)
 {
-	struct irqc_priv *p = irq_data_get_irq_chip_data(d);
+	struct irqc_priv *p = irq_data_to_priv(d);
 	int hw_irq = irqd_to_hwirq(d);
 	unsigned char value = irqc_sense[type & IRQ_TYPE_SENSE_MASK];
 	u32 tmp;
@@ -120,7 +107,7 @@ static int irqc_irq_set_type(struct irq_
 
 static int irqc_irq_set_wake(struct irq_data *d, unsigned int on)
 {
-	struct irqc_priv *p = irq_data_get_irq_chip_data(d);
+	struct irqc_priv *p = irq_data_to_priv(d);
 
 	if (!p->clk)
 		return 0;
@@ -150,28 +137,11 @@ static irqreturn_t irqc_irq_handler(int
 	return IRQ_NONE;
 }
 
-static int irqc_irq_domain_map(struct irq_domain *h, unsigned int virq,
-			       irq_hw_number_t hw)
-{
-	struct irqc_priv *p = h->host_data;
-
-	irqc_dbg(&p->irq[hw], "map");
-	irq_set_chip_data(virq, h->host_data);
-	irq_set_chip_and_handler(virq, &p->irq_chip, handle_level_irq);
-	return 0;
-}
-
-static const struct irq_domain_ops irqc_irq_domain_ops = {
-	.map	= irqc_irq_domain_map,
-	.xlate  = irq_domain_xlate_twocell,
-};
-
 static int irqc_probe(struct platform_device *pdev)
 {
 	struct irqc_priv *p;
 	struct resource *io;
 	struct resource *irq;
-	struct irq_chip *irq_chip;
 	const char *name = dev_name(&pdev->dev);
 	int ret;
 	int k;
@@ -231,40 +201,51 @@ static int irqc_probe(struct platform_de
 
 	p->cpu_int_base = p->iomem + IRQC_INT_CPU_BASE(0); /* SYS-SPI */
 
-	irq_chip = &p->irq_chip;
-	irq_chip->name = name;
-	irq_chip->irq_mask = irqc_irq_disable;
-	irq_chip->irq_unmask = irqc_irq_enable;
-	irq_chip->irq_set_type = irqc_irq_set_type;
-	irq_chip->irq_set_wake = irqc_irq_set_wake;
-	irq_chip->flags	= IRQCHIP_MASK_ON_SUSPEND;
-
 	p->irq_domain = irq_domain_add_linear(pdev->dev.of_node,
 					      p->number_of_irqs,
-					      &irqc_irq_domain_ops, p);
+					      &irq_generic_chip_ops, p);
 	if (!p->irq_domain) {
 		ret = -ENXIO;
 		dev_err(&pdev->dev, "cannot initialize irq domain\n");
 		goto err2;
 	}
 
+	ret = irq_alloc_domain_generic_chips(p->irq_domain, p->number_of_irqs,
+					     1, name, handle_level_irq,
+					     0, 0, 0);
+	if (ret) {
+		dev_err(&pdev->dev, "cannot allocate generic chip\n");
+		goto err3;
+	}
+
+	p->gc = irq_get_domain_generic_chip(p->irq_domain, 0);
+	p->gc->reg_base = p->cpu_int_base;
+	p->gc->chip_types[0].regs.enable = IRQC_EN_SET;
+	p->gc->chip_types[0].regs.disable = IRQC_EN_STS;
+	p->gc->chip_types[0].chip.irq_mask = irq_gc_mask_disable_reg;
+	p->gc->chip_types[0].chip.irq_unmask = irq_gc_unmask_enable_reg;
+	p->gc->chip_types[0].chip.irq_set_type	= irqc_irq_set_type;
+	p->gc->chip_types[0].chip.irq_set_wake	= irqc_irq_set_wake;
+	p->gc->chip_types[0].chip.flags	= IRQCHIP_MASK_ON_SUSPEND;
+
 	/* request interrupts one by one */
 	for (k = 0; k < p->number_of_irqs; k++) {
 		if (request_irq(p->irq[k].requested_irq, irqc_irq_handler,
 				0, name, &p->irq[k])) {
 			dev_err(&pdev->dev, "failed to request IRQ\n");
 			ret = -ENOENT;
-			goto err3;
+			goto err4;
 		}
 	}
 
 	dev_info(&pdev->dev, "driving %d irqs\n", p->number_of_irqs);
 
 	return 0;
-err3:
+err4:
 	while (--k >= 0)
 		free_irq(p->irq[k].requested_irq, &p->irq[k]);
 
+err3:
 	irq_domain_remove(p->irq_domain);
 err2:
 	iounmap(p->iomem);

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH 03/03] irqchip: renesas-irqc: Enable nested lock
  2015-09-17  7:12 [PATCH 00/03] irqchip: renesas-irqc: r8a7795 and generic chip update Magnus Damm
  2015-09-17  7:12 ` [PATCH 01/03] irqchip: renesas-irqc: Add r8a7795 IRQC DT documentation Magnus Damm
  2015-09-17  7:12 ` [PATCH 02/03] irqchip: renesas-irqc: Move over to generic chip Magnus Damm
@ 2015-09-17  7:12 ` Magnus Damm
  2015-09-17  7:57 ` [PATCH 00/03] irqchip: renesas-irqc: r8a7795 and generic chip update Simon Horman
  3 siblings, 0 replies; 11+ messages in thread
From: Magnus Damm @ 2015-09-17  7:12 UTC (permalink / raw)
  To: linux-sh; +Cc: jason, geert+renesas, linux-kernel, horms, Magnus Damm, tglx

From: Magnus Damm <damm+renesas@opensource.se>

Update the IRQC driver to pass the IRQ_GC_INIT_NESTED_LOCK flag
to enable nested locking using the generic irq chip implementation.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
---

 drivers/irqchip/irq-renesas-irqc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 0005/drivers/irqchip/irq-renesas-irqc.c
+++ work/drivers/irqchip/irq-renesas-irqc.c	2015-07-20 18:08:35.792366518 +0900
@@ -212,7 +212,7 @@ static int irqc_probe(struct platform_de
 
 	ret = irq_alloc_domain_generic_chips(p->irq_domain, p->number_of_irqs,
 					     1, name, handle_level_irq,
-					     0, 0, 0);
+					     0, 0, IRQ_GC_INIT_NESTED_LOCK);
 	if (ret) {
 		dev_err(&pdev->dev, "cannot allocate generic chip\n");
 		goto err3;

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 00/03] irqchip: renesas-irqc: r8a7795 and generic chip update
  2015-09-17  7:12 [PATCH 00/03] irqchip: renesas-irqc: r8a7795 and generic chip update Magnus Damm
                   ` (2 preceding siblings ...)
  2015-09-17  7:12 ` [PATCH 03/03] irqchip: renesas-irqc: Enable nested lock Magnus Damm
@ 2015-09-17  7:57 ` Simon Horman
  2015-09-17  8:31   ` Geert Uytterhoeven
  3 siblings, 1 reply; 11+ messages in thread
From: Simon Horman @ 2015-09-17  7:57 UTC (permalink / raw)
  To: Magnus Damm; +Cc: linux-sh, jason, geert+renesas, linux-kernel, tglx

Hi Magnus,

On Thu, Sep 17, 2015 at 04:12:30PM +0900, Magnus Damm wrote:
> irqchip: renesas-irqc: r8a7795 and generic chip update
> 
> [PATCH 01/03] irqchip: renesas-irqc: Add r8a7795 IRQC DT documentation
> [PATCH 02/03] irqchip: renesas-irqc: Move over to generic chip
> [PATCH 03/03] irqchip: renesas-irqc: Enable nested lock
> 
> This series updates the IRQC driver with generic chip support including
> nested locking. Also the DT documentation is extended with r8a7795
> support.

Its not entirely clear what the relationship is between these patches
nor what the motivation is for the last two patches.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 01/03] irqchip: renesas-irqc: Add r8a7795 IRQC DT documentation
  2015-09-17  7:12 ` [PATCH 01/03] irqchip: renesas-irqc: Add r8a7795 IRQC DT documentation Magnus Damm
@ 2015-09-17  8:24   ` Geert Uytterhoeven
  0 siblings, 0 replies; 11+ messages in thread
From: Geert Uytterhoeven @ 2015-09-17  8:24 UTC (permalink / raw)
  To: Magnus Damm
  Cc: Linux-sh list, Jason Cooper, Geert Uytterhoeven,
	linux-kernel@vger.kernel.org, Simon Horman, Thomas Gleixner

Hi Magnus,

On Thu, Sep 17, 2015 at 9:12 AM, Magnus Damm <magnus.damm@gmail.com> wrote:
> From: Magnus Damm <damm+renesas@opensource.se>
>
> Add r8a7795 to the IRQC DT binding document.
>
> Signed-off-by: Magnus Damm <damm+renesas@opensource.se>

Perhaps you want to clarify this is called "INTC-EX" (not "IRQC") on R-Car
Gen3?

Nevertheless
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 00/03] irqchip: renesas-irqc: r8a7795 and generic chip update
  2015-09-17  7:57 ` [PATCH 00/03] irqchip: renesas-irqc: r8a7795 and generic chip update Simon Horman
@ 2015-09-17  8:31   ` Geert Uytterhoeven
  2015-09-17 19:29     ` Laurent Pinchart
  2015-09-22 10:56     ` Thomas Gleixner
  0 siblings, 2 replies; 11+ messages in thread
From: Geert Uytterhoeven @ 2015-09-17  8:31 UTC (permalink / raw)
  To: Simon Horman
  Cc: Magnus Damm, Linux-sh list, Jason Cooper, Geert Uytterhoeven,
	linux-kernel@vger.kernel.org, Thomas Gleixner

Hi Simon,

On Thu, Sep 17, 2015 at 9:57 AM, Simon Horman <horms@verge.net.au> wrote:
> On Thu, Sep 17, 2015 at 04:12:30PM +0900, Magnus Damm wrote:
>> irqchip: renesas-irqc: r8a7795 and generic chip update
>>
>> [PATCH 01/03] irqchip: renesas-irqc: Add r8a7795 IRQC DT documentation
>> [PATCH 02/03] irqchip: renesas-irqc: Move over to generic chip
>> [PATCH 03/03] irqchip: renesas-irqc: Enable nested lock
>>
>> This series updates the IRQC driver with generic chip support including
>> nested locking. Also the DT documentation is extended with r8a7795
>> support.
>
> Its not entirely clear what the relationship is between these patches
> nor what the motivation is for the last two patches.

Patch 2 is a cleanup/consolidation.

Note that patch 2 will no longer apply, as linux-next now has
  - b92f865703e22b42 irqchip: renesas-irqc: Use a separate lockdep class
  - 72e56742f6baff5d irqchip: renesas-irqc: Propagate wake-up settings to parent

Patch 3 is the irq_chip_generic way of b92f865703e22b42.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 00/03] irqchip: renesas-irqc: r8a7795 and generic chip update
  2015-09-17  8:31   ` Geert Uytterhoeven
@ 2015-09-17 19:29     ` Laurent Pinchart
  2015-09-17 22:15       ` Thomas Gleixner
  2015-09-22 10:56     ` Thomas Gleixner
  1 sibling, 1 reply; 11+ messages in thread
From: Laurent Pinchart @ 2015-09-17 19:29 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Simon Horman, Magnus Damm, Linux-sh list, Jason Cooper,
	Geert Uytterhoeven, linux-kernel@vger.kernel.org, Thomas Gleixner

Hi Geert,

On Thursday 17 September 2015 10:31:59 Geert Uytterhoeven wrote:
> On Thu, Sep 17, 2015 at 9:57 AM, Simon Horman <horms@verge.net.au> wrote:
> > On Thu, Sep 17, 2015 at 04:12:30PM +0900, Magnus Damm wrote:
> >> irqchip: renesas-irqc: r8a7795 and generic chip update
> >> 
> >> [PATCH 01/03] irqchip: renesas-irqc: Add r8a7795 IRQC DT documentation
> >> [PATCH 02/03] irqchip: renesas-irqc: Move over to generic chip
> >> [PATCH 03/03] irqchip: renesas-irqc: Enable nested lock
> >> 
> >> This series updates the IRQC driver with generic chip support including
> >> nested locking. Also the DT documentation is extended with r8a7795
> >> support.
> > 
> > Its not entirely clear what the relationship is between these patches
> > nor what the motivation is for the last two patches.
> 
> Patch 2 is a cleanup/consolidation.

In just a few lines, and just for my information, what does generic IRQ chip 
offers compared to the current implementatoin ?

> Note that patch 2 will no longer apply, as linux-next now has
>   - b92f865703e22b42 irqchip: renesas-irqc: Use a separate lockdep class
>   - 72e56742f6baff5d irqchip: renesas-irqc: Propagate wake-up settings to
> parent
> 
> Patch 3 is the irq_chip_generic way of b92f865703e22b42.

-- 
Regards,

Laurent Pinchart


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 00/03] irqchip: renesas-irqc: r8a7795 and generic chip update
  2015-09-17 19:29     ` Laurent Pinchart
@ 2015-09-17 22:15       ` Thomas Gleixner
  0 siblings, 0 replies; 11+ messages in thread
From: Thomas Gleixner @ 2015-09-17 22:15 UTC (permalink / raw)
  To: Laurent Pinchart
  Cc: Geert Uytterhoeven, Simon Horman, Magnus Damm, Linux-sh list,
	Jason Cooper, Geert Uytterhoeven, linux-kernel@vger.kernel.org

On Thu, 17 Sep 2015, Laurent Pinchart wrote:
> Hi Geert,
> 
> On Thursday 17 September 2015 10:31:59 Geert Uytterhoeven wrote:
> > On Thu, Sep 17, 2015 at 9:57 AM, Simon Horman <horms@verge.net.au> wrote:
> > > On Thu, Sep 17, 2015 at 04:12:30PM +0900, Magnus Damm wrote:
> > >> irqchip: renesas-irqc: r8a7795 and generic chip update
> > >> 
> > >> [PATCH 01/03] irqchip: renesas-irqc: Add r8a7795 IRQC DT documentation
> > >> [PATCH 02/03] irqchip: renesas-irqc: Move over to generic chip
> > >> [PATCH 03/03] irqchip: renesas-irqc: Enable nested lock
> > >> 
> > >> This series updates the IRQC driver with generic chip support including
> > >> nested locking. Also the DT documentation is extended with r8a7795
> > >> support.
> > > 
> > > Its not entirely clear what the relationship is between these patches
> > > nor what the motivation is for the last two patches.
> > 
> > Patch 2 is a cleanup/consolidation.
> 
> In just a few lines, and just for my information, what does generic IRQ chip 
> offers compared to the current implementatoin ?

Common, i.e. less duplicated code.

Thanks,

	tglx

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 00/03] irqchip: renesas-irqc: r8a7795 and generic chip update
  2015-09-17  8:31   ` Geert Uytterhoeven
  2015-09-17 19:29     ` Laurent Pinchart
@ 2015-09-22 10:56     ` Thomas Gleixner
  2015-09-28 10:50       ` Magnus Damm
  1 sibling, 1 reply; 11+ messages in thread
From: Thomas Gleixner @ 2015-09-22 10:56 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Simon Horman, Magnus Damm, Linux-sh list, Jason Cooper,
	Geert Uytterhoeven, linux-kernel@vger.kernel.org

On Thu, 17 Sep 2015, Geert Uytterhoeven wrote:
> On Thu, Sep 17, 2015 at 9:57 AM, Simon Horman <horms@verge.net.au> wrote:
> > On Thu, Sep 17, 2015 at 04:12:30PM +0900, Magnus Damm wrote:
> >> irqchip: renesas-irqc: r8a7795 and generic chip update
> >>
> >> [PATCH 01/03] irqchip: renesas-irqc: Add r8a7795 IRQC DT documentation
> >> [PATCH 02/03] irqchip: renesas-irqc: Move over to generic chip
> >> [PATCH 03/03] irqchip: renesas-irqc: Enable nested lock
> >>
> >> This series updates the IRQC driver with generic chip support including
> >> nested locking. Also the DT documentation is extended with r8a7795
> >> support.
> >
> > Its not entirely clear what the relationship is between these patches
> > nor what the motivation is for the last two patches.
> 
> Patch 2 is a cleanup/consolidation.
> 
> Note that patch 2 will no longer apply, as linux-next now has
>   - b92f865703e22b42 irqchip: renesas-irqc: Use a separate lockdep class
>   - 72e56742f6baff5d irqchip: renesas-irqc: Propagate wake-up settings to parent
> 
> Patch 3 is the irq_chip_generic way of b92f865703e22b42.

Magnus,

can you please rebase that series to 4.3-rc2, which has the above
commits.

Thanks,

	tglx

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 00/03] irqchip: renesas-irqc: r8a7795 and generic chip update
  2015-09-22 10:56     ` Thomas Gleixner
@ 2015-09-28 10:50       ` Magnus Damm
  0 siblings, 0 replies; 11+ messages in thread
From: Magnus Damm @ 2015-09-28 10:50 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: Geert Uytterhoeven, Simon Horman, Linux-sh list, Jason Cooper,
	Geert Uytterhoeven, linux-kernel@vger.kernel.org

Hi Thomas,

On Tue, Sep 22, 2015 at 7:56 PM, Thomas Gleixner <tglx@linutronix.de> wrote:
> On Thu, 17 Sep 2015, Geert Uytterhoeven wrote:
>> On Thu, Sep 17, 2015 at 9:57 AM, Simon Horman <horms@verge.net.au> wrote:
>> > On Thu, Sep 17, 2015 at 04:12:30PM +0900, Magnus Damm wrote:
>> >> irqchip: renesas-irqc: r8a7795 and generic chip update
>> >>
>> >> [PATCH 01/03] irqchip: renesas-irqc: Add r8a7795 IRQC DT documentation
>> >> [PATCH 02/03] irqchip: renesas-irqc: Move over to generic chip
>> >> [PATCH 03/03] irqchip: renesas-irqc: Enable nested lock
>> >>
>> >> This series updates the IRQC driver with generic chip support including
>> >> nested locking. Also the DT documentation is extended with r8a7795
>> >> support.
>> >
>> > Its not entirely clear what the relationship is between these patches
>> > nor what the motivation is for the last two patches.
>>
>> Patch 2 is a cleanup/consolidation.
>>
>> Note that patch 2 will no longer apply, as linux-next now has
>>   - b92f865703e22b42 irqchip: renesas-irqc: Use a separate lockdep class
>>   - 72e56742f6baff5d irqchip: renesas-irqc: Propagate wake-up settings to parent
>>
>> Patch 3 is the irq_chip_generic way of b92f865703e22b42.
>
> Magnus,
>
> can you please rebase that series to 4.3-rc2, which has the above
> commits.

Thanks, I've rebased to v4.3-rc3 and folded together patch 2 and 3 in V2:

[PATCH v2 00/02] irqchip: renesas-irqc: r8a7795 and generic chip update V2

Cheers,

/ magnus

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-09-28 10:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-17  7:12 [PATCH 00/03] irqchip: renesas-irqc: r8a7795 and generic chip update Magnus Damm
2015-09-17  7:12 ` [PATCH 01/03] irqchip: renesas-irqc: Add r8a7795 IRQC DT documentation Magnus Damm
2015-09-17  8:24   ` Geert Uytterhoeven
2015-09-17  7:12 ` [PATCH 02/03] irqchip: renesas-irqc: Move over to generic chip Magnus Damm
2015-09-17  7:12 ` [PATCH 03/03] irqchip: renesas-irqc: Enable nested lock Magnus Damm
2015-09-17  7:57 ` [PATCH 00/03] irqchip: renesas-irqc: r8a7795 and generic chip update Simon Horman
2015-09-17  8:31   ` Geert Uytterhoeven
2015-09-17 19:29     ` Laurent Pinchart
2015-09-17 22:15       ` Thomas Gleixner
2015-09-22 10:56     ` Thomas Gleixner
2015-09-28 10:50       ` Magnus Damm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox