Re: [PATCH 2/2] cpufreq: brcmstb-avs-cpufreq: properly retrieve P-state upon suspend

2017-02-02 Thread Rafael J. Wysocki
On Thu, Feb 2, 2017 at 4:33 AM, Viresh Kumar wrote: > On 02-02-17, 00:44, Rafael J. Wysocki wrote: >> On Tuesday, January 31, 2017 10:53:01 AM Markus Mayer wrote: >> > On 5 January 2017 at 20:11, Viresh Kumar wrote: >> > > On 19-12-16, 12:10, Markus Mayer wrote: >> > >> From: Markus Mayer >> > >

Re: [PATCH 2/2] cpufreq: brcmstb-avs-cpufreq: properly retrieve P-state upon suspend

2017-02-01 Thread Viresh Kumar
On 02-02-17, 00:44, Rafael J. Wysocki wrote: > On Tuesday, January 31, 2017 10:53:01 AM Markus Mayer wrote: > > On 5 January 2017 at 20:11, Viresh Kumar wrote: > > > On 19-12-16, 12:10, Markus Mayer wrote: > > >> From: Markus Mayer > > >> > > >> The AVS GET_PMAP command does return a P-state alon

Re: [PATCH 2/2] cpufreq: brcmstb-avs-cpufreq: properly retrieve P-state upon suspend

2017-02-01 Thread Markus Mayer
On 1 February 2017 at 15:44, Rafael J. Wysocki wrote: > On Tuesday, January 31, 2017 10:53:01 AM Markus Mayer wrote: >> On 5 January 2017 at 20:11, Viresh Kumar wrote: >> > On 19-12-16, 12:10, Markus Mayer wrote: >> >> From: Markus Mayer >> >> >> >> The AVS GET_PMAP command does return a P-state

Re: [PATCH 2/2] cpufreq: brcmstb-avs-cpufreq: properly retrieve P-state upon suspend

2017-02-01 Thread Rafael J. Wysocki
On Tuesday, January 31, 2017 10:53:01 AM Markus Mayer wrote: > On 5 January 2017 at 20:11, Viresh Kumar wrote: > > On 19-12-16, 12:10, Markus Mayer wrote: > >> From: Markus Mayer > >> > >> The AVS GET_PMAP command does return a P-state along with the P-map > >> information. However, that P-state

Re: [PATCH 2/2] cpufreq: brcmstb-avs-cpufreq: properly retrieve P-state upon suspend

2017-01-31 Thread Markus Mayer
On 5 January 2017 at 20:11, Viresh Kumar wrote: > On 19-12-16, 12:10, Markus Mayer wrote: >> From: Markus Mayer >> >> The AVS GET_PMAP command does return a P-state along with the P-map >> information. However, that P-state is the initial P-state when the >> P-map was first downloaded to AVS. It

Re: [PATCH 2/2] cpufreq: brcmstb-avs-cpufreq: properly retrieve P-state upon suspend

2017-01-05 Thread Viresh Kumar
On 19-12-16, 12:10, Markus Mayer wrote: > From: Markus Mayer > > The AVS GET_PMAP command does return a P-state along with the P-map > information. However, that P-state is the initial P-state when the > P-map was first downloaded to AVS. It is *not* the current P-state. > > Therefore, we explic

[PATCH 2/2] cpufreq: brcmstb-avs-cpufreq: properly retrieve P-state upon suspend

2016-12-19 Thread Markus Mayer
From: Markus Mayer The AVS GET_PMAP command does return a P-state along with the P-map information. However, that P-state is the initial P-state when the P-map was first downloaded to AVS. It is *not* the current P-state. Therefore, we explicitly retrieve the P-state using the GET_PSTATE command