Re: [PATCH v2] PM / wakeup: use seq_open() to show wakeup stats

From: Rafael J. Wysocki
Date: Thu Mar 29 2018 - 17:54:43 EST


On Thursday, March 29, 2018 9:49:43 AM CEST Ganesh Mahendran wrote:
> ping.
>
> 2018-03-05 16:47 GMT+08:00 Ganesh Mahendran <opensource.ganesh@xxxxxxxxx>:
> > single_open() interface requires that the whole output must
> > fit into a single buffer. This will lead to timeout when
> > system memory is not in a good situation.
> >
> > This patch use seq_open() to show wakeup stats. This method
> > need only one page, so timeout will not be observed.
>
> We have resolved the watchdog timeout issue by this patch.
> Please help to review.

Sorry for the delay.

I'll have a look tomorrow if possible.

Thanks!