[PM-QA PATCH 0/2] Fixes for cpufreq_06.sh

2018-05-16 Thread Thierry Escande
Hi Lisa, Please find the 2 patches we talked about on irc in this patchset. Regards, Thierry Thierry Escande (2): functions: fix loop increment in save_frequencies() functions: switch to userspace governor in restore_frequencies() include/functions.sh | 2 ++ 1 file changed, 2 insertions(+

[PM-QA PATCH 1/2] functions: fix loop increment in save_frequencies()

2018-05-16 Thread Thierry Escande
The 'index' variable was not incremented ending with only the last cpu frequency saved in $frequencies_backup0. Signed-off-by: Thierry Escande --- include/functions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/include/functions.sh b/include/functions.sh index 0105776..e9f66d1 100644 --

[PM-QA PATCH 2/2] functions: switch to userspace governor in restore_frequencies()

2018-05-16 Thread Thierry Escande
The governor needs to be set to 'userspace' before setting the original frequency back. This fixes cpufreq_06.sh that otherwise logs 'sh: echo: I/O error' messages in its log file. Signed-off-by: Thierry Escande --- include/functions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/includ

Re: [PM-QA PATCH 2/2] functions: switch to userspace governor in restore_frequencies()

2018-05-16 Thread Lisa Nguyen
Hi Thierry, On Wed, May 16, 2018 at 6:28 AM, Thierry Escande wrote: > The governor needs to be set to 'userspace' before setting the original > frequency back. > > This fixes cpufreq_06.sh that otherwise logs 'sh: echo: I/O error' > messages in its log file. > > Signed-off-by: Thierry Escande >

Re: [PM-QA PATCH 2/2] functions: switch to userspace governor in restore_frequencies()

2018-05-16 Thread Thierry Escande
Hi Lisa, On 17/05/2018 02:10, Lisa Nguyen wrote: Hi Thierry, On Wed, May 16, 2018 at 6:28 AM, Thierry Escande wrote: The governor needs to be set to 'userspace' before setting the original frequency back. This fixes cpufreq_06.sh that otherwise logs 'sh: echo: I/O error' messages in its log