<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/base/power, branch v3.19</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v3.19</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.19'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2014-12-29T20:24:00Z</updated>
<entry>
<title>Merge branches 'pm-domains', 'powercap' and 'pm-tools'</title>
<updated>2014-12-29T20:24:00Z</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rafael.j.wysocki@intel.com</email>
</author>
<published>2014-12-29T20:24:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4f2f2777892fdfe5f6999ae6b882ba5c0fa4bd60'/>
<id>urn:sha1:4f2f2777892fdfe5f6999ae6b882ba5c0fa4bd60</id>
<content type='text'>
* pm-domains:
  PM / Domains: Export of_genpd_get_from_provider function

* powercap:
  powercap / RAPL: add IDs for future Xeon CPUs

* pm-tools:
  tools / cpupower: Fix no idle state information return value
  tools / cpupower: Correctly detect if running as root
</content>
</entry>
<entry>
<title>Merge branch 'pm-opp'</title>
<updated>2014-12-29T20:23:13Z</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rafael.j.wysocki@intel.com</email>
</author>
<published>2014-12-29T20:23:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e0288b0e9e2a5dbad612ef6c7dba1f9b52cef27f'/>
<id>urn:sha1:e0288b0e9e2a5dbad612ef6c7dba1f9b52cef27f</id>
<content type='text'>
* pm-opp:
  PM / OPP: take RCU lock in dev_pm_opp_get_opp_count
  PM / OPP: fix warning in of_free_opp_table()
  PM / OPP: add some lockdep annotations
</content>
</entry>
<entry>
<title>Merge branches 'pm-opp', 'pm-cpufreq' and 'pm-tools'</title>
<updated>2014-12-18T17:44:53Z</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rafael.j.wysocki@intel.com</email>
</author>
<published>2014-12-18T17:44:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2ec1c17cadd0b994732f292d4bc49fc3a05d85a4'/>
<id>urn:sha1:2ec1c17cadd0b994732f292d4bc49fc3a05d85a4</id>
<content type='text'>
* pm-opp:
  PM / OPP: do error handling at the bottom of dev_pm_opp_add_dynamic()
  PM / OPP: handle allocation of device_opp in a separate routine
  PM / OPP: reuse find_device_opp() instead of duplicating code
  PM / OPP: Staticize __dev_pm_opp_remove()
  PM / OPP: replace kfree with kfree_rcu while freeing 'struct device_opp'

* pm-cpufreq:
  MAINTAINERS: add entry for intel_pstate
  intel_pstate: Add a few comments
  intel_pstate: add kernel parameter to force loading

* pm-tools:
  Revert "tools: cpupower: fix return checks for sysfs_get_idlestate_count()"
</content>
</entry>
<entry>
<title>PM / OPP: take RCU lock in dev_pm_opp_get_opp_count</title>
<updated>2014-12-18T00:42:49Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dtor@chromium.org</email>
</author>
<published>2014-12-16T23:09:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b4718c02f49ab5e1452353f0fae78beabe81467c'/>
<id>urn:sha1:b4718c02f49ab5e1452353f0fae78beabe81467c</id>
<content type='text'>
A lot of callers are missing the fact that dev_pm_opp_get_opp_count
needs to be called under RCU lock. Given that RCU locks can safely be
nested, instead of providing *_locked() API, let's take RCU lock inside
dev_pm_opp_get_opp_count() and leave callers as is.

Signed-off-by: Dmitry Torokhov &lt;dtor@chromium.org&gt;
Acked-by: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>PM / OPP: fix warning in of_free_opp_table()</title>
<updated>2014-12-18T00:42:49Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dtor@chromium.org</email>
</author>
<published>2014-12-16T23:09:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0fe30da2cb43782ee62d30c00a273d6934e5370e'/>
<id>urn:sha1:0fe30da2cb43782ee62d30c00a273d6934e5370e</id>
<content type='text'>
Not having OPP defined for a device is not a crime, we should not splat
warning in this case. Also, it seems that we are ready to accept invalid
dev (find_device_opp will return ERR_PTR(-EINVAL) then) so let's not
crash in dev_name() in such case.

Signed-off-by: Dmitry Torokhov &lt;dtor@chromium.org&gt;
Acked-by: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>PM / OPP: add some lockdep annotations</title>
<updated>2014-12-18T00:42:49Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dtor@chromium.org</email>
</author>
<published>2014-12-16T23:09:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b02ded246d011d0eb22efc178ee711b636214083'/>
<id>urn:sha1:b02ded246d011d0eb22efc178ee711b636214083</id>
<content type='text'>
Certain OPP APIs need to be called under RCU lock; let's add a few
rcu_lockdep_assert() calls to warn about potential misuse.

Signed-off-by: Dmitry Torokhov &lt;dtor@chromium.org&gt;
Acked-by: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>PM / Domains: Export of_genpd_get_from_provider function</title>
<updated>2014-12-17T01:33:34Z</updated>
<author>
<name>Amit Daniel Kachhap</name>
<email>amit.daniel@samsung.com</email>
</author>
<published>2014-12-15T03:38:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7496fcbe8a643097efc061160e1c3b65ee2fa350'/>
<id>urn:sha1:7496fcbe8a643097efc061160e1c3b65ee2fa350</id>
<content type='text'>
This function looks up a PM domain form the provider. This will be
useful to add parent/child domain relationship from the SoC specific
code. The caller of the function must make sure that PM domain provider
is already registered.

Reviewed-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Signed-off-by: Amit Daniel Kachhap &lt;amit.daniel@samsung.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>PM / OPP: do error handling at the bottom of dev_pm_opp_add_dynamic()</title>
<updated>2014-12-10T21:18:34Z</updated>
<author>
<name>Viresh Kumar</name>
<email>viresh.kumar@linaro.org</email>
</author>
<published>2014-12-10T04:15:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6ce4184d0308888dd6ac2b6ab5f8ec0b2006092e'/>
<id>urn:sha1:6ce4184d0308888dd6ac2b6ab5f8ec0b2006092e</id>
<content type='text'>
This makes it less error prone and moves common resource deallocation at a
single place.

Signed-off-by: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>PM / OPP: handle allocation of device_opp in a separate routine</title>
<updated>2014-12-10T21:18:34Z</updated>
<author>
<name>Viresh Kumar</name>
<email>viresh.kumar@linaro.org</email>
</author>
<published>2014-12-10T04:15:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=07cce74a7b259cb90029530e9549bf1d9a1b1c34'/>
<id>urn:sha1:07cce74a7b259cb90029530e9549bf1d9a1b1c34</id>
<content type='text'>
Get the 'device_opp' allocation code into a separate routine to keep only the
necessary part in dev_pm_opp_add_dynamic().

Also do s/sizeof(struct device_opp)/sizeof(*dev_opp) and remove the print
message on kzalloc() failure as checkpatch warns for that.

Signed-off-by: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>PM / OPP: reuse find_device_opp() instead of duplicating code</title>
<updated>2014-12-10T21:18:34Z</updated>
<author>
<name>Viresh Kumar</name>
<email>viresh.kumar@linaro.org</email>
</author>
<published>2014-12-10T04:15:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=29df0ee1b14ab5cdc83c225258f42600825f45b2'/>
<id>urn:sha1:29df0ee1b14ab5cdc83c225258f42600825f45b2</id>
<content type='text'>
Reuse find_device_opp() in opp_set_availability() instead of duplicating code.

Signed-off-by: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
</feed>
