linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roger Quadros <rogerq@ti.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
	Chanwoo Choi <cw00.choi@samsung.com>, Felipe Balbi <balbi@ti.com>,
	Tony Lindgren <tony@atomide.com>,
	USB list <linux-usb@vger.kernel.org>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Gregory CLEMENT <gregory.clement@free-electrons.com>,
	santosh.shilimkar@oracle.com
Subject: Re: [PATCH v2] genirq: Set IRQCHIP_SKIP_SET_WAKE flag for dummy_irq_chip
Date: Mon, 11 May 2015 14:14:53 +0300	[thread overview]
Message-ID: <55508F2D.7080006@ti.com> (raw)
In-Reply-To: <CAMuHMdVTn6w1QCQGw-gpcD=8zxfs2cKDLHgFETO_38=k=Km5Jg@mail.gmail.com>

Hi Geert,

On 11/05/15 13:50, Geert Uytterhoeven wrote:
> On Wed, Apr 15, 2015 at 10:14 AM, Roger Quadros <rogerq@ti.com> wrote:
>> Without this system suspend is broken on systems that have
>> drivers calling enable/disable_irq_wake() for interrupts based off
>> the dummy irq hook.
>
> Good to see this was applied. Still, I think no_irq_chip should also be
> fixed, cfr. my patch "genirq: Set IRQCHIP_SKIP_SET_WAKE for no_irq_chip and

I don't see why not so can you please send a patch to add that? Thanks.

cheers,
-roger

> dummy_irq_chip" (https://lkml.org/lkml/2015/1/12/506 is down, but
> https://patchwork.ozlabs.org/patch/427788/ works)
>
>> (e.g. drivers/gpio/gpio-pcf857x.c)
>
> Please note the particular pfc857x.c case was fixed by commit b80eef95beb04760
> ("gpio: pcf857x: Propagate wake-up setting to parent irq controller"), as that
> driver has other problems. Now it no longer uses dummy_irq_chip.
>
>> http://article.gmane.org/gmane.linux.kernel/1879035
>>
>> Signed-off-by: Roger Quadros <rogerq@ti.com>
>> ---
>>   kernel/irq/dummychip.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/kernel/irq/dummychip.c b/kernel/irq/dummychip.c
>> index 988dc58..2feb6fe 100644
>> --- a/kernel/irq/dummychip.c
>> +++ b/kernel/irq/dummychip.c
>> @@ -57,5 +57,6 @@ struct irq_chip dummy_irq_chip = {
>>          .irq_ack        = noop,
>>          .irq_mask       = noop,
>>          .irq_unmask     = noop,
>> +       .flags          = IRQCHIP_SKIP_SET_WAKE,
>>   };
>>   EXPORT_SYMBOL_GPL(dummy_irq_chip);
>> --
>> 2.1.0
>
>
> 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
>

      reply	other threads:[~2015-05-11 11:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-30 13:15 [PATCH] genirq: provide dummy set_irq_wake() Roger Quadros
2015-03-30 18:06 ` Felipe Balbi
2015-03-30 18:06   ` Felipe Balbi
2015-04-14 10:13 ` Roger Quadros
2015-04-14 14:02   ` Gregory CLEMENT
2015-04-15  8:07     ` Roger Quadros
     [not found]       ` <552E1C4A.7060503-l0cyMroinI0@public.gmane.org>
2015-04-15  8:51         ` Gregory CLEMENT
2015-04-15  8:14 ` [PATCH v2] genirq: Set IRQCHIP_SKIP_SET_WAKE flag for dummy_irq_chip Roger Quadros
     [not found]   ` <552E1DD3.4040106-l0cyMroinI0@public.gmane.org>
2015-04-15  9:29     ` Gregory CLEMENT
2015-05-11 10:50   ` Geert Uytterhoeven
2015-05-11 11:14     ` Roger Quadros [this message]

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=55508F2D.7080006@ti.com \
    --to=rogerq@ti.com \
    --cc=balbi@ti.com \
    --cc=cw00.choi@samsung.com \
    --cc=geert@linux-m68k.org \
    --cc=gregory.clement@free-electrons.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=santosh.shilimkar@oracle.com \
    --cc=tglx@linutronix.de \
    --cc=tony@atomide.com \
    /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;
as well as URLs for NNTP newsgroup(s).