[GIT PULL] Power management fixes for v4.13-rc6

From: Rafael J. Wysocki
Date: Thu Aug 17 2017 - 17:07:35 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
pm-4.13-rc6

with top-most commit 8179962b84668d71586cd3efcb70e823f37a5702

Merge branches 'intel_pstate-fix' and 'cpufreq-x86-fix'

on top of commit ef954844c7ace62f773f4f23e28d2d915adc419f

Linux v4.13-rc5

to receive power management fixes for v4.13-rc6.

These fix two issues related to exposing the current CPU frequency
to user space on x86.

Specifics:

- Disable interrupts around reading IA32_APERF and IA32_MPERF in
aperfmperf_snapshot_khz() (introduced recently) to avoid excessive
delays between the reads that may result from intterrupt handling
(Doug Smythies).

- Fix the comutation of the CPU frequency to be reported through the
pstate_sample tracepoint in intel_pstate (Doug Smythies).

Thanks!


---------------

Doug Smythies (2):
cpufreq: intel_pstate: report correct CPU frequencies during trace
cpufreq: x86: Disable interrupts during MSRs reading

---------------

arch/x86/kernel/cpu/aperfmperf.c | 3 +++
drivers/cpufreq/intel_pstate.c | 3 +--
2 files changed, 4 insertions(+), 2 deletions(-)