Thread (16 messages) 16 messages, 5 authors, 2016-03-01

Re: [PATCH] cpufreq: acpi_cpufreq: base frequency attribute support

From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Date: 2016-02-24 23:39:23

On Wed, 2016-02-24 at 21:05 +0100, Rafael J. Wysocki wrote:
On Wed, Feb 24, 2016 at 9:00 PM, Srinivas Pandruvada
[off-list ref] wrote:
quoted
On Fri, 2015-10-16 at 11:12 +0530, Viresh Kumar wrote:
quoted
On 16-10-15, 00:45, Rafael J. Wysocki wrote:
quoted
We're talking about a continuous range above the base frequency
here.
Ick. No it can't be reused for the continuous range stuff.
I know this is bit old discussion. Is there any problem in applying
this patch?
Not in principle, but can you please resubmit?
Good I tested again.

Hi Viresh,

Are we no longer allowed to call
	sysfs_create_file in cpufreq_driver.init() callback?

The following call crashes because of BUG_ON for !kobj->sd:
	sysfs_create_file(&policy->kobj,
                                  &(cpufreq_attr_base_frequency.attr));

Before I debug further, I want to check with you.
This used to work before.

Thanks,
Srinivas
Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-pm"
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help