Linux Power Management development
 help / color / mirror / Atom feed
From: Viresh Kumar <viresh.kumar@linaro.org>
To: Sergio P <sergio.pieiga@gmail.com>
Cc: Linux PM list <linux-pm@vger.kernel.org>
Subject: Re: cpufreq and boost with amd ryzen
Date: Tue, 4 Jul 2017 11:40:00 +0530	[thread overview]
Message-ID: <20170704061000.GE3532@vireshk-i7> (raw)
In-Reply-To: <CAFFvMK1zUZhKAqFMxSWjbW7Bb-j0Odr0DjmTiC8DbqKonNL+Kg@mail.gmail.com>

On 03-07-17, 07:21, Sergio P wrote:
> Hi Viresh, thank you for responding.
> 
> /sys/devices/system/cpu/cpu0/cpufreq/affected_cpus:0
> /sys/devices/system/cpu/cpu0/cpufreq/bios_limit:3400000
> /sys/devices/system/cpu/cpu0/cpufreq/cpb:0
> /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq:3400000
> /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq:3400000
> /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq:2200000
> /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_transition_latency:0
> /sys/devices/system/cpu/cpu0/cpufreq/freqdomain_cpus:0 1
> /sys/devices/system/cpu/cpu0/cpufreq/related_cpus:0
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies:3400000
> 3000000 2200000
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors:userspace
> powersave conservative ondemand performance schedutil
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq:3400000
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver:acpi-cpufreq
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor:ondemand
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq:3400000
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq:2200000
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed:<unsupported>
> grep: /sys/devices/system/cpu/cpu0/cpufreq/stats: Is a directory

You need to help debugging a bit. Looks like you are returning early from
acpi_cpufreq_boost_init() (in drivers/cpufreq/acpi-cpufreq.c). Can you please
check if acpi_cpufreq_driver.set_boost is getting set ? Without that boost
wouldn't work.

-- 
viresh

  reply	other threads:[~2017-07-04  6:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-02 14:34 cpufreq and boost with amd ryzen Sergio P
2017-07-03  4:25 ` Viresh Kumar
2017-07-03 11:21   ` Sergio P
2017-07-04  6:10     ` Viresh Kumar [this message]
2017-07-04 20:38       ` Sergio P
2017-07-05  4:17         ` Viresh Kumar
2017-07-05 11:01           ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170704061000.GE3532@vireshk-i7 \
    --to=viresh.kumar@linaro.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=sergio.pieiga@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox