lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1478352782.19557.7.camel@intel.com>
Date:   Sat, 5 Nov 2016 13:33:10 +0000
From:   "Pandruvada, Srinivas" <srinivas.pandruvada@...el.com>
To:     "pavel@....cz" <pavel@....cz>
CC:     "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "Zhang, Rui" <rui.zhang@...el.com>,
        "linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
        "platform-driver-x86@...r.kernel.org" 
        <platform-driver-x86@...r.kernel.org>,
        "rjw@...ysocki.net" <rjw@...ysocki.net>,
        "viresh.kumar@...aro.org" <viresh.kumar@...aro.org>,
        "ibm-acpi-devel@...ts.sourceforge.net" 
        <ibm-acpi-devel@...ts.sourceforge.net>,
        "ibm-acpi@....eng.br" <ibm-acpi@....eng.br>,
        "linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>
Subject: Re: v4.8-rc1: thinkpad x60: running at low frequency even during
 kernel build

On Sat, 2016-11-05 at 14:20 +0100, Pavel Machek wrote:
> On Fri 2016-11-04 23:20:53, Pandruvada, Srinivas wrote:
> > 
> > On Fri, 2016-11-04 at 23:16 +0100, Pavel Machek wrote:
> > > 
> > > Hi!
> > > 
> > 
> > [...]
> > 
> > > 
> > > So we seem to have thermal or ACPI regression in v4.9-rc3.
> > > 
> > It is possible. Can you add either add printk
> > in acpi_processor_ppc_has_changed() or use ftrace and see do you
> > get to
> > these functions
> > 
> > acpi_processor_ppc_init()
> > acpi_processor_ppc_has_changed()
> > acpi_processor_ppc_notifier()
> > 
> > ?
> 
> 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

Thanks,
Srinivas

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ