Re: "PM / wakeup: Show wakeup sources stats in sysfs" causes boot warnings

2019-08-19 Thread Rafael J. Wysocki
On Friday, August 16, 2019 4:19:35 PM CEST Stephen Boyd wrote: > Quoting Rafael J. Wysocki (2019-08-16 05:17:23) > > On Wed, Aug 14, 2019 at 8:37 PM Tri Vo wrote: > > > > > > On Wed, Aug 14, 2019 at 1:40 AM Tony Lindgren wrote: > > > > > > > > * Stephen Boyd [691231 23:00]: > > > > > I also noti

Re: "PM / wakeup: Show wakeup sources stats in sysfs" causes boot warnings

2019-08-16 Thread Stephen Boyd
Quoting Rafael J. Wysocki (2019-08-16 05:17:23) > On Wed, Aug 14, 2019 at 8:37 PM Tri Vo wrote: > > > > On Wed, Aug 14, 2019 at 1:40 AM Tony Lindgren wrote: > > > > > > * Stephen Boyd [691231 23:00]: > > > > I also notice that device_set_wakeup_capable() has a check to see if the > > > > device

Re: "PM / wakeup: Show wakeup sources stats in sysfs" causes boot warnings

2019-08-16 Thread Rafael J. Wysocki
On Wed, Aug 14, 2019 at 8:37 PM Tri Vo wrote: > > On Wed, Aug 14, 2019 at 1:40 AM Tony Lindgren wrote: > > > > * Stephen Boyd [691231 23:00]: > > > I also notice that device_set_wakeup_capable() has a check to see if the > > > device is registered yet and it skips creating sysfs entries for the

Re: "PM / wakeup: Show wakeup sources stats in sysfs" causes boot warnings

2019-08-14 Thread Tri Vo
On Wed, Aug 14, 2019 at 1:40 AM Tony Lindgren wrote: > > * Stephen Boyd [691231 23:00]: > > I also notice that device_set_wakeup_capable() has a check to see if the > > device is registered yet and it skips creating sysfs entries for the > > device if it isn't created in sysfs yet. Why? Just so i

Re: "PM / wakeup: Show wakeup sources stats in sysfs" causes boot warnings

2019-08-14 Thread Dmitry Torokhov
On Wed, Aug 14, 2019 at 12:03:19AM -0700, Stephen Boyd wrote: > Quoting Qian Cai (2019-08-13 14:32:56) > > The linux-next commit "PM / wakeup: Show wakeup sources stats in sysfs" [1] > > introduced some baddies during boot on several x86 servers. Reverted the > > commit > > fixed the issue. > > >

Re: "PM / wakeup: Show wakeup sources stats in sysfs" causes boot warnings

2019-08-14 Thread Qian Cai
On Tue, 2019-08-13 at 15:35 -0700, Stephen Boyd wrote: > Quoting Qian Cai (2019-08-13 14:32:56) > > The linux-next commit "PM / wakeup: Show wakeup sources stats in sysfs" [1] > > introduced some baddies during boot on several x86 servers. Reverted the > > commit > > fixed the issue. > > > > [1] h

Re: "PM / wakeup: Show wakeup sources stats in sysfs" causes boot warnings

2019-08-14 Thread Tony Lindgren
* Stephen Boyd [691231 23:00]: > I also notice that device_set_wakeup_capable() has a check to see if the > device is registered yet and it skips creating sysfs entries for the > device if it isn't created in sysfs yet. Why? Just so it can be called > before the device is created? I guess the same

Re: "PM / wakeup: Show wakeup sources stats in sysfs" causes boot warnings

2019-08-14 Thread Stephen Boyd
Quoting Qian Cai (2019-08-13 14:32:56) > The linux-next commit "PM / wakeup: Show wakeup sources stats in sysfs" [1] > introduced some baddies during boot on several x86 servers. Reverted the > commit > fixed the issue. > > [1] https://lore.kernel.org/lkml/20190807014846.143949-4-tr...@android.co

Re: "PM / wakeup: Show wakeup sources stats in sysfs" causes boot warnings

2019-08-13 Thread Stephen Boyd
Quoting Qian Cai (2019-08-13 14:32:56) > The linux-next commit "PM / wakeup: Show wakeup sources stats in sysfs" [1] > introduced some baddies during boot on several x86 servers. Reverted the > commit > fixed the issue. > > [1] https://lore.kernel.org/lkml/20190807014846.143949-4-tr...@android.co

Re: "PM / wakeup: Show wakeup sources stats in sysfs" causes boot warnings

2019-08-13 Thread Rafael J. Wysocki
On Wed, Aug 14, 2019 at 1:04 AM Tri Vo wrote: > > On Tue, Aug 13, 2019 at 3:35 PM Stephen Boyd wrote: > > > > Quoting Qian Cai (2019-08-13 14:32:56) > > > The linux-next commit "PM / wakeup: Show wakeup sources stats in sysfs" > > > [1] > > > introduced some baddies during boot on several x86 se

Re: "PM / wakeup: Show wakeup sources stats in sysfs" causes boot warnings

2019-08-13 Thread Tri Vo
On Tue, Aug 13, 2019 at 3:35 PM Stephen Boyd wrote: > > Quoting Qian Cai (2019-08-13 14:32:56) > > The linux-next commit "PM / wakeup: Show wakeup sources stats in sysfs" [1] > > introduced some baddies during boot on several x86 servers. Reverted the > > commit > > fixed the issue. > > > > [1] h

Re: "PM / wakeup: Show wakeup sources stats in sysfs" causes boot warnings

2019-08-13 Thread Stephen Boyd
Quoting Qian Cai (2019-08-13 14:32:56) > The linux-next commit "PM / wakeup: Show wakeup sources stats in sysfs" [1] > introduced some baddies during boot on several x86 servers. Reverted the > commit > fixed the issue. > > [1] https://lore.kernel.org/lkml/20190807014846.143949-4-tr...@android.co