Re: [PATCH] cpufreq: longhaul: Set transition_delay_us to 20 ms

From: Rafael J. Wysocki
Date: Mon Dec 04 2017 - 10:04:19 EST


On Wednesday, November 29, 2017 7:59:27 AM CET Meelis Roos wrote:
> > > diff --git a/drivers/cpufreq/longhaul.c b/drivers/cpufreq/longhaul.c
> > > index c46a12df40dd..56eafcb07859 100644
> > > --- a/drivers/cpufreq/longhaul.c
> > > +++ b/drivers/cpufreq/longhaul.c
> > > @@ -894,7 +894,7 @@ static int longhaul_cpu_init(struct cpufreq_policy *policy)
> > > if ((longhaul_version != TYPE_LONGHAUL_V1) && (scale_voltage != 0))
> > > longhaul_setup_voltagescaling();
> > >
> > > - policy->cpuinfo.transition_latency = 200000; /* nsec */
> > > + policy->transition_delay_us = 20000; /* usec */
> > >
> > > return cpufreq_table_validate_and_show(policy, longhaul_table);
> > > }
> > > --
> >
> > Meelis, please check if this fixes the shutdown issue you have
> > reported recently.
>
> Yes, but not today - hopefully tomorrow.

Any news?

I'd like to push the fix for 4.15 shortly if it works for you (I don't
see why it wouldn't work, but still I'd prefer it to be actually tested).

Thanks,
Rafael