Re: [PATCH] serial: 8250: Add missing wakeup event reporting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 4/14/2023 12:19 AM, Greg Kroah-Hartman wrote:
On Thu, Apr 13, 2023 at 02:39:54PM -0700, Florian Fainelli wrote:
An 8250 UART configured as a wake-up source would not have reported
itself through sysfs as being the source of wake-up, correct that.

Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
---
  drivers/tty/serial/8250/8250_port.c | 4 ++++
  1 file changed, 4 insertions(+)

What commit does this fix?  Is it needed to go to stable kernel(s)?

That would be b3b708fa2780cd2b5d8266a8f0c3a1cab364d4d2 ("wake up from a serial port").

I do not know of standard Linux distribution user-space relying on the wake-up counts from sysfs, though I certainly do care.

The patch I submitted should backport fine all the way down to 4.14 where irqd_is_wakeup_set is available. Do you want me to submit a v2 with that Fixes tag?
--
Florian



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux