History

Merge tag 'irq-urgent-2020-02-09' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull interrupt fixes from Thomas Gleixner: "A set of fixes for the interrupt subsystem: - Provision only ACPI enabled redistributors on GICv3 - Use the proper command colums when building the INVALL command for the GICv3-ITS - Ensure the allocation of the L2 vPE table for GICv4.1 - Correct the GICv4.1 VPROBASER programming so it uses the proper size - A set of small GICv4.1 tidy up patches - Configuration cleanup for C-SKY interrupt chip - Clarify the function documentation for irq_set_wake() to document that the wakeup functionality is orthogonal to the irq disable/enable mechanism" * tag 'irq-urgent-2020-02-09' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: irqchip/gic-v3-its: Rename VPENDBASER/VPROPBASER accessors irqchip/gic-v3-its: Remove superfluous WARN_ON irqchip/gic-v4.1: Drop 'tmp' in inherit_vpe_l1_table_from_rd() irqchip/gic-v4.1: Ensure L2 vPE table is allocated at RD level irqchip/gic-v4.1: Set vpe_l1_base for all redistributors irqchip/gic-v4.1: Fix programming of GICR_VPROPBASER_4_1_SIZE genirq: Clarify that irq wake state is orthogonal to enable/disable irqchip/gic-v3-its: Reference to its_invall_cmd descriptor when building INVALL irqchip: Some Kconfig cleanup for C-SKY irqchip/gic-v3: Only provision redistributors that are enabled in ACPI

Linus Torvalds committed 6 years ago

Commit f06bed82 parents 6ff90aa 2f86e457 files · +127 −35Browse files

Showing the changes to kernel (1 of 7 files). Show all

Unified · Split

kernel/irq/manage.c+7−0
@@ -731,6 +731,13 @@ static int set_irq_wake_real(unsigned int irq, unsigned int on) · 730 unmodified lines
731731 *
732732 * Wakeup mode lets this IRQ wake the system from sleep
733733 * states like "suspend to RAM".
734+ *
735+ * Note: irq enable/disable state is completely orthogonal
736+ * to the enable/disable state of irq wake. An irq can be
737+ * disabled with disable_irq() and still wake the system as
738+ * long as the irq has wake enabled. If this does not hold,
739+ * then the underlying irq chip and the related driver need
740+ * to be investigated.
734741 */
735742 int irq_set_irq_wake(unsigned int irq, unsigned int on)
736743 {