Re: [PATCH] cpufreq: Record stats when fast switching is enabled

2020-07-02 Thread Danny Lin
On Thu, Jan 31, 2019 at 2:14 AM, Rafael J. Wysocki wrote: > On Thu, Jan 31, 2019 at 11:07 AM Viresh Kumar wrote: > > > > On 31-01-19, 11:03, Rafael J. Wysocki wrote: > > > On Thu, Jan 31, 2019 at 9:30 AM Viresh Kumar > > > wrote: > > > > > > > > The only problem that I can think of (or recall) i

Re: [PATCH] cpufreq: Record stats when fast switching is enabled

2019-01-31 Thread Matthias Kaehlcke
On Fri, Feb 01, 2019 at 12:34:32AM +0100, Rafael J. Wysocki wrote: > On Thursday, January 31, 2019 7:37:30 PM CET Matthias Kaehlcke wrote: > > On Thu, Jan 31, 2019 at 11:14:03AM +0100, Rafael J. Wysocki wrote: > > > On Thu, Jan 31, 2019 at 11:07 AM Viresh Kumar > > > wrote: > > > > > > > > On 31-

Re: [PATCH] cpufreq: Record stats when fast switching is enabled

2019-01-31 Thread Rafael J. Wysocki
On Thursday, January 31, 2019 7:37:30 PM CET Matthias Kaehlcke wrote: > On Thu, Jan 31, 2019 at 11:14:03AM +0100, Rafael J. Wysocki wrote: > > On Thu, Jan 31, 2019 at 11:07 AM Viresh Kumar > > wrote: > > > > > > On 31-01-19, 11:03, Rafael J. Wysocki wrote: > > > > On Thu, Jan 31, 2019 at 9:30 AM

Re: [PATCH] cpufreq: Record stats when fast switching is enabled

2019-01-31 Thread Matthias Kaehlcke
On Thu, Jan 31, 2019 at 11:14:03AM +0100, Rafael J. Wysocki wrote: > On Thu, Jan 31, 2019 at 11:07 AM Viresh Kumar wrote: > > > > On 31-01-19, 11:03, Rafael J. Wysocki wrote: > > > On Thu, Jan 31, 2019 at 9:30 AM Viresh Kumar > > > wrote: > > > > > > > > On 30-01-19, 17:51, Matthias Kaehlcke wro

Re: [PATCH] cpufreq: Record stats when fast switching is enabled

2019-01-31 Thread Rafael J. Wysocki
On Thu, Jan 31, 2019 at 11:07 AM Viresh Kumar wrote: > > On 31-01-19, 11:03, Rafael J. Wysocki wrote: > > On Thu, Jan 31, 2019 at 9:30 AM Viresh Kumar > > wrote: > > > > > > On 30-01-19, 17:51, Matthias Kaehlcke wrote: > > > > When fast switching is enabled currently no cpufreq stats are > > > >

Re: [PATCH] cpufreq: Record stats when fast switching is enabled

2019-01-31 Thread Viresh Kumar
On 31-01-19, 11:03, Rafael J. Wysocki wrote: > On Thu, Jan 31, 2019 at 9:30 AM Viresh Kumar wrote: > > > > On 30-01-19, 17:51, Matthias Kaehlcke wrote: > > > When fast switching is enabled currently no cpufreq stats are > > > recorded and the corresponding sysfs attributes appear empty (see > > >

Re: [PATCH] cpufreq: Record stats when fast switching is enabled

2019-01-31 Thread Rafael J. Wysocki
On Thu, Jan 31, 2019 at 9:30 AM Viresh Kumar wrote: > > On 30-01-19, 17:51, Matthias Kaehlcke wrote: > > When fast switching is enabled currently no cpufreq stats are > > recorded and the corresponding sysfs attributes appear empty (see > > also commit 1aefc75b2449 ("cpufreq: stats: Make the stats

Re: [PATCH] cpufreq: Record stats when fast switching is enabled

2019-01-31 Thread Rafael J. Wysocki
On Thu, Jan 31, 2019 at 2:51 AM Matthias Kaehlcke wrote: > > When fast switching is enabled currently no cpufreq stats are > recorded and the corresponding sysfs attributes appear empty (see > also commit 1aefc75b2449 ("cpufreq: stats: Make the stats code > non-modular")). > > Record the stats aft

Re: [PATCH] cpufreq: Record stats when fast switching is enabled

2019-01-31 Thread Viresh Kumar
On 30-01-19, 17:51, Matthias Kaehlcke wrote: > When fast switching is enabled currently no cpufreq stats are > recorded and the corresponding sysfs attributes appear empty (see > also commit 1aefc75b2449 ("cpufreq: stats: Make the stats code > non-modular")). > > Record the stats after a successfu

[PATCH] cpufreq: Record stats when fast switching is enabled

2019-01-30 Thread Matthias Kaehlcke
When fast switching is enabled currently no cpufreq stats are recorded and the corresponding sysfs attributes appear empty (see also commit 1aefc75b2449 ("cpufreq: stats: Make the stats code non-modular")). Record the stats after a successful fast switch and re-enable access through sysfs when fas