Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1479973

Re: [PATCH] cpufreq: create link to policy only for registered CPUs

From Russell King - ARM Linux <linux@armlinux.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH] cpufreq: create link to policy only for registered CPUs
Date 2016-09-09 15:00 +0200
Message-ID <sftzr-2Vd-19@gated-at.bofh.it> (permalink)
References (1 earlier) <sfqLf-1c3-19@gated-at.bofh.it> <sfs0G-27K-39@gated-at.bofh.it> <sfsam-2aJ-29@gated-at.bofh.it> <sfsam-2aJ-31@gated-at.bofh.it> <sfsk1-2dK-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Sep 09, 2016 at 05:04:59PM +0530, Viresh Kumar wrote:
> On 09-09-16, 12:28, Russell King - ARM Linux wrote:
> > On Fri, Sep 09, 2016 at 04:52:04PM +0530, Viresh Kumar wrote:
> > > Thanks for testing it.. You need another patch from Rafael, which
> > > should be in linux-next by now..
> > > 
> > > commit 3689ad7ed6a8 ("cpufreq: Drop unnecessary check from
> > > cpufreq_policy_alloc()")
> > > 
> > > Both patches combined will fix the problem you were getting.
> > 
> > Please send me this other patch.  Seems absurd to fix a reported problem
> > without copying appropriate patches to the reporter...
> 
> It got merged separately, and yes you should have been cc'd for that
> as well.
> 
> Please find it attached now..

Thanks, the warning is now gone.  From what I can tell, the sysfs
contents looks correct:

/sys/devices/system/cpu
|-- cpu0
|   |-- cpufreq -> ../cpufreq/policy0
|   |-- power
|   |   |-- autosuspend_delay_ms
|   |   |-- control
|   |   |-- runtime_active_time
|   |   |-- runtime_status
|   |   `-- runtime_suspended_time
|   |-- subsystem -> ../../../../bus/cpu
|   |-- topology
|   |   |-- core_id
|   |   |-- core_siblings
|   |   |-- core_siblings_list
|   |   |-- physical_package_id
|   |   |-- thread_siblings
|   |   `-- thread_siblings_list
|   `-- uevent
|-- cpufreq
|   `-- policy0
|       |-- affected_cpus
|       |-- cpuinfo_cur_freq
|       |-- cpuinfo_max_freq
|       |-- cpuinfo_min_freq
|       |-- cpuinfo_transition_latency
|       |-- related_cpus
|       |-- scaling_available_governors
|       |-- scaling_cur_freq
|       |-- scaling_driver
|       |-- scaling_governor
|       |-- scaling_max_freq
|       |-- scaling_min_freq
|       |-- scaling_setspeed
|       `-- stats
|           |-- time_in_state
|           `-- total_trans
|-- isolated
|-- kernel_max
|-- offline
|-- online
|-- possible
|-- power
|   |-- autosuspend_delay_ms
|   |-- control
|   |-- runtime_active_time
|   |-- runtime_status
|   `-- runtime_suspended_time
|-- present
`-- uevent

9 directories, 39 files

So, for both patches:

Tested-by: Russell King <rmk+kernel@arm.linux.org.uk>

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] cpufreq: create link to policy only for registered CPUs Viresh Kumar <viresh.kumar@linaro.org> - 2016-09-09 12:00 +0200
  Re: [PATCH] cpufreq: create link to policy only for registered CPUs Russell King - ARM Linux <linux@armlinux.org.uk> - 2016-09-09 13:20 +0200
    Re: [PATCH] cpufreq: create link to policy only for registered CPUs Viresh Kumar <viresh.kumar@linaro.org> - 2016-09-09 13:30 +0200
      Re: [PATCH] cpufreq: create link to policy only for registered CPUs Russell King - ARM Linux <linux@armlinux.org.uk> - 2016-09-09 13:30 +0200
        Re: [PATCH] cpufreq: create link to policy only for registered CPUs Viresh Kumar <viresh.kumar@linaro.org> - 2016-09-09 13:40 +0200
          Re: [PATCH] cpufreq: create link to policy only for registered CPUs Russell King - ARM Linux <linux@armlinux.org.uk> - 2016-09-09 15:00 +0200

csiph-web