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]
Date:	Thu, 28 Mar 2013 01:19:30 +0000
From:	"Kim, Milo" <Milo.Kim@...com>
To:	Andrei Epure <epure.andrei@...il.com>
CC:	"cbou@...l.ru" <cbou@...l.ru>,
	"dwmw2@...radead.org" <dwmw2@...radead.org>,
	"broonie@...nsource.wolfsonmicro.com" 
	<broonie@...nsource.wolfsonmicro.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"patches@...nsource.wolfsonmicro.com" 
	<patches@...nsource.wolfsonmicro.com>
Subject: RE: [PATCH] power: pass IRQF_ONESHOT to request_threaded_irq()

> -----Original Message-----
> From: Andrei Epure [mailto:epure.andrei@...il.com]
> Sent: Thursday, March 28, 2013 9:43 AM
> To: cbou@...l.ru; dwmw2@...radead.org; Kim, Milo;
> broonie@...nsource.wolfsonmicro.com; linux-kernel@...r.kernel.org;
> patches@...nsource.wolfsonmicro.com
> Cc: Andrei Epure
> Subject: [PATCH] power: pass IRQF_ONESHOT to request_threaded_irq()
> 
> Patch found using coccinelle.
> 
> Signed-off-by: Andrei Epure <epure.andrei@...il.com>
> ---
>  drivers/power/ab8500_btemp.c     |    2 +-
>  drivers/power/ab8500_charger.c   |    2 +-
>  drivers/power/ab8500_fg.c        |    2 +-
>  drivers/power/lp8788-charger.c   |    2 +-
>  drivers/power/max17042_battery.c |    3 ++-
>  drivers/power/max8903_charger.c  |   12 +++++++++---
>  drivers/power/pm2301_charger.c   |    2 +-
>  drivers/power/smb347-charger.c   |    3 ++-
>  drivers/power/wm831x_power.c     |    8 +++++---
>  9 files changed, 23 insertions(+), 13 deletions(-)

Could you share what will happen without this patch?
Do you mean the IRQF_ONESHOT flag with a primary IRQ handler?
If yes, no need to handle this for lp8788-charger driver because it is
a nested handler rather a default primary handler.
Handler function is replaced with irq_nested_primary_handler() on setting up
the IRQ.

Thanks.

Regards,
Milo
--
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