lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <55508F2D.7080006@ti.com>
Date:	Mon, 11 May 2015 14:14:53 +0300
From:	Roger Quadros <rogerq@...com>
To:	Geert Uytterhoeven <geert@...ux-m68k.org>
CC:	Thomas Gleixner <tglx@...utronix.de>,
	Chanwoo Choi <cw00.choi@...sung.com>,
	Felipe Balbi <balbi@...com>, Tony Lindgren <tony@...mide.com>,
	USB list <linux-usb@...r.kernel.org>,
	"linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Gregory CLEMENT <gregory.clement@...e-electrons.com>,
	<santosh.shilimkar@...cle.com>
Subject: Re: [PATCH v2] genirq: Set IRQCHIP_SKIP_SET_WAKE flag for dummy_irq_chip

Hi Geert,

On 11/05/15 13:50, Geert Uytterhoeven wrote:
> On Wed, Apr 15, 2015 at 10:14 AM, Roger Quadros <rogerq@...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@...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@...ux-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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ