Re: v4.8-rc1: thinkpad x60: running at low frequency even during kernel build

From: Pandruvada, Srinivas
Date: Sat Nov 05 2016 - 10:19:38 EST


On Sat, 2016-11-05 at 15:04 +0100, Pavel Machek wrote:
> On Sat 2016-11-05 14:53:13, Pavel Machek wrote:
> >
> > Hi!
> >
> > >
> > > >
> > > > Ok, can do, let me recompile and reboot.
> > > >
> > > > >
> > > > >
> > > > > When temperature limit is
> > > > > reachedÂacpi_processor_ppc_notifier()
> > > > > should
> > > > > be called.
> > > >
> > > > No, that's not correct for ACPI passive trip points, is it? If
> > > > I
> > > > recall correctly, those should be monitored even when
> > > > temperature is
> > > > below them so that it does not reach them...?
> > > No if BIOS is sending PPC, it will be called. You can try first
> > > in 4.8.
> > >
> > > Also try
> > >
> > > Don't run workload, just on an idle system.
> > >
> > > # echo 1 > /sys/class/thermal/cooling_device2/cur_state
> > > monitor the scaling_max_freq, it should reduce
> > >
> > > # echo 2 > /sys/class/thermal/cooling_device2/cur_state
> > > monitor the scaling_max_freq, it should reduce
> >
> > Yes, this seems to work. scaling_max goes to 1.5, then 1.1. Also
> > under
> > load, scaling_max_freq changes. But at that point, we are already
> > around 98C... and bios_limit stays the same all the time in v4.9.
>
> ...while in v4.8-rc1, bios limit goes to 1.0 GHz at 90C, and
> temperature just doesn't go above that.
>
> Does it make sense to try with v4.8-final?
I sent some suggestion to try in previous email to add more prints and
enable debug in acpi-cpufreq. Let's try that first. We need to fix
anyway even if 4.8-final has this issue.

Thanks,
Srinivas


>
> Best regards,
> Pavel