Messages in this thread | | | Date | Mon, 8 Jun 2020 10:49:17 +0200 | From | Maxime Ripard <> | Subject | Re: [PATCH v2 2/9] irqchip/sun6i-r: Add wakeup support |
| |
On Sun, May 24, 2020 at 11:12:55PM -0500, Samuel Holland wrote: > Maintain a mask of wake-enabled IRQs, and enable them in hardware > during the syscore phase of suspend. The restore the original mask > of enabled IRQs (just the NMI) during resume. > > This serves two purposes. First, it lets power management firmware > running on the ARISC coprocessor know which wakeup sources Linux wants > to have enabled. That way, it can avoid turning them off when it shuts > down the remainder of the clock tree. Second, it preconfigures the > coprocessor's interrupt controller, so the firmware's wakeup logic > is as simple as waiting for an interrupt to arrive. > > Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Maxime [unhandled content-type:application/pgp-signature] | |