Re: [PATCH v2 2/9] irqchip/sun6i-r: Add wakeup support

2020-06-08 Thread Maxime Ripard
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 powe

[PATCH v2 2/9] irqchip/sun6i-r: Add wakeup support

2020-05-24 Thread Samuel Holland
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 s