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>] [day] [month] [year] [list]
Date:	Wed, 17 Sep 2014 10:35:53 -0700
From:	Eric Caruso <ejcaruso@...gle.com>
To:	tglx@...utronix.de
Cc:	linux-kernel@...r.kernel.org, rjw@...ysocki.net,
	Benson Leung <bleung@...gle.com>,
	Dmitry Torokhov <dtor@...gle.com>
Subject: Fwd: irq mask swapping during suspend/resume

(Resending in plain text. Sorry about the HTML.)

Hi,

We would like to be able to set different irq masks for triggers
during normal operation and for waking up the system. For example,
while a laptop is awake, closing the lid and opening the lid should
both fire an interrupt, but when the system is asleep, we would like
to stay asleep when closing the lid.

We are thinking about stashing the irq mask used specifically for
waking the system up in the irq_desc struct, and then swapping it
during enable_irq_wake and disable_irq_wake calls. Devices that do not
specify a different wake mask will use their normal trigger mask for
both situations.

Is this acceptable?

Thanks,
Eric
--
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