Re: [RFC PATCH v8 1/7] dt-bindings: PCI: Add definition of PCIe WAKE# irq and PCI irq
From: jeffy
Date: Fri Oct 27 2017 - 01:57:54 EST
Hi Brian,
On 10/27/2017 01:40 PM, Brian Norris wrote:
Another odd thing about this series is that the interrupt doesn't
actually show up in /proc/interrupts, /sys/kernel/debug/gpio, or
similar, seemingly because the wakeirq is requested/released every time
we suspend/resume. So it's really not that obvious that the interrupt is
being configured properly. That's not really a functional problem,
necessarily, but it doesn't quite seem ideal.
right, so maybe we can call dev_pm_set_dedicated_wake_irq() in the
setup(), and use device_set_wakeup_enable() to enable/disable it in the
set_wakeup()?
Brian