[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <26580319.OZP7jvJnA9@vostro.rjw.lan>
Date: Mon, 11 Aug 2014 15:56:46 +0200
From: "Rafael J. Wysocki" <rjw@...ysocki.net>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Peter Zijlstra <peterz@...radead.org>,
Linux PM list <linux-pm@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux PCI <linux-pci@...r.kernel.org>
Subject: [PATCH 0/6 v2] irq / PM: Shared IRQs vs IRQF_NO_SUSPEND and suspend-to-idle wakeup interrupts
Hi,
I thought I'd just refresh the previous patchset, but in the meantime I found
a way to avoid adding overhead to note_interrupt(), so I decided to change the
approach.
Patch [2/6] fixes the problem with IRQF_NO_SUSPEND and shared interrupts. The
idea is to use wrapper handlers for all irqactions of the shared IRQs where at
least one of them has IRQF_NO_SUSPEND set. Since the wrapper handler is now
installed for all irqactions in the given irq_desc, it can track the return
codes from the original handlers and "suspend" the IRQ if the interrupt is going
to be unhandled eventually. All described in the changelog. This is independent
of the handling of wakeup interrupts for suspend-to-idle.
Patch [3/6] makes IRQs configured for system wakeup with enable_irq_wake() work
for suspend to idle. It does that by using a (different) wrapper handler for
all irqactions in the wakeup irq_descs and that wrapper handler takes care of
all the ugly details. Again, all described in the changelog.
Patches [1/6], [4-5/6] are unmodified and the last one addes documentation.
Please review.
Rafael
--
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