[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9d75a67b-87f0-161c-02d7-c9fc4efe97e7@intel.com>
Date: Fri, 29 May 2020 18:51:22 +0200
From: "Rafael J. Wysocki" <rafael.j.wysocki@...el.com>
To: Florian Fainelli <f.fainelli@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
trong@...roid.com, Greg KH <gregkh@...uxfoundation.org>,
swboyd@...omium.org, kaleshsingh@...gle.com
Subject: Re: Regression with PM / wakeup: Show wakeup sources stats in sysfs"
On 5/28/2020 10:46 PM, Florian Fainelli wrote:
> Hi,
>
> Commit c8377adfa78103be5380200eb9dab764d7ca890e ("PM / wakeup: Show
> wakeup sources stats in sysfs") is causing some of our tests to fail
> because /sys/class/net/*/device/power/wakeup_count is now 0, despite
> /sys/kernel/debug/wakeup_sources clearly indicating that the Ethernet
> device was responsible for system wake-up.
>
> What's more in looking at /sys/class/wakekup/wakeup2/event_count, we
> have the number of Wake-on-LAN wakeups recorded properly, but
> wakeup_count is desperately 0, why is that?
I need to look at that commit in detail to find out what is going on.
> This is seen on 5.4.43, but it is reproducible on Linus' master as well.
>
> The Ethernet driver being used is under
> drivers/net/ethernet/broadcom/genet/ and the relevant part is in the
> function bcmgenet_set_wol().
>
> BTW, I think you want to backport
> e976eb4b91e906f20ec25b20c152d53c472fc3fd ("PM: wakeup: Show statistics
> for deleted wakeup sources again") into 5.4 and 4.19 at least.
Well, please feel free to send a request to do that to
stable@...r.kernel.org.
Thanks!
Powered by blists - more mailing lists