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] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-10a50f1ab5f06c9a3ee5ece3ec52e607ed53c79f@git.kernel.org>
Date:	Fri, 24 Apr 2015 12:00:40 -0700
From:	tip-bot for Roger Quadros <tipbot@...or.com>
To:	linux-tip-commits@...r.kernel.org
Cc:	rogerq@...com, tglx@...utronix.de,
	gregory.clement@...e-electrons.com, cw00.choi@...sung.com,
	tony@...mide.com, mingo@...nel.org, linux-kernel@...r.kernel.org,
	balbi@...com, hpa@...or.com
Subject: [tip:irq/urgent] genirq:
  Set IRQCHIP_SKIP_SET_WAKE flag for dummy_irq_chip

Commit-ID:  10a50f1ab5f06c9a3ee5ece3ec52e607ed53c79f
Gitweb:     http://git.kernel.org/tip/10a50f1ab5f06c9a3ee5ece3ec52e607ed53c79f
Author:     Roger Quadros <rogerq@...com>
AuthorDate: Wed, 15 Apr 2015 11:14:11 +0300
Committer:  Thomas Gleixner <tglx@...utronix.de>
CommitDate: Fri, 24 Apr 2015 20:57:06 +0200

genirq: Set IRQCHIP_SKIP_SET_WAKE flag for dummy_irq_chip

Without this system suspend is broken on systems that have
drivers calling enable/disable_irq_wake() for interrupts based off
the dummy irq hook. (e.g. drivers/gpio/gpio-pcf857x.c)

Signed-off-by: Roger Quadros <rogerq@...com>
Cc: <cw00.choi@...sung.com>
Cc: <balbi@...com>
Cc: <tony@...mide.com>
Cc: Gregory Clement <gregory.clement@...e-electrons.com>
Link: http://lkml.kernel.org/r/552E1DD3.4040106@ti.com
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
---
 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);
--
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