<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/x86/kernel/cpu/cpufreq, branch linux-2.6.37.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-03-14T21:17:35Z</updated>
<entry>
<title>pcc-cpufreq: don't load driver if get_freq fails during init.</title>
<updated>2011-03-14T21:17:35Z</updated>
<author>
<name>Naga Chumbalkar</name>
</author>
<published>2011-03-09T14:02:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ace8f4534de7aa5c42b66751832e57eb4cdab7b5'/>
<id>urn:sha1:ace8f4534de7aa5c42b66751832e57eb4cdab7b5</id>
<content type='text'>
commit 1f858ef2fbabdc5e645644010a31a40c32e397c9 upstream.

Return 0 on failure. This will cause the initialization of the driver
to fail and prevent the driver from loading if the BIOS cannot handle
the PCC interface command to "get frequency". Otherwise, the driver
will load and display a very high value like "4294967274" (which is
actually -EINVAL) for frequency:

# cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
4294967274

Signed-off-by: Naga Chumbalkar &lt;nagananda.chumbalkar@hp.com&gt;
Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6</title>
<updated>2010-10-27T00:28:37Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2010-10-27T00:28:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=474829e875ab93512dbe0a713f564d3cd3874bc9'/>
<id>urn:sha1:474829e875ab93512dbe0a713f564d3cd3874bc9</id>
<content type='text'>
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (53 commits)
  ACPI: install ACPI table handler before any dynamic tables being loaded
  ACPI / PM: Blacklist another machine that needs acpi_sleep=nonvs
  ACPI: Page based coalescing of I/O remappings optimization
  ACPI: Convert simple locking to RCU based locking
  ACPI: Pre-map 'system event' related register blocks
  ACPI: Add interfaces for ioremapping/iounmapping ACPI registers
  ACPI: Maintain a list of ACPI memory mapped I/O remappings
  ACPI: Fix ioremap size for MMIO reads and writes
  ACPI / Battery: Return -ENODEV for unknown values in get_property()
  ACPI / PM: Fix reference counting of power resources
  Subject: [PATCH] ACPICA: Fix Scope() op in module level code
  ACPI battery: support percentage battery remaining capacity
  ACPI: Make Embedded Controller command timeout delay configurable
  ACPI dock: move some functions to .init.text
  ACPI: thermal: remove unused limit code
  ACPI: static sleep_states[] and acpi_gts_bfs_check
  ACPI: remove dead code
  ACPI: delete dedicated MAINTAINERS entries for ACPI EC and BATTERY drivers
  ACPI: Only processor needs CPU_IDLE
  ACPICA: Update version to 20101013
  ...
</content>
</entry>
<entry>
<title>Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq</title>
<updated>2010-10-26T17:00:04Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2010-10-26T17:00:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4f6876031ee105466f400661a0dd3fa66c4f0c09'/>
<id>urn:sha1:4f6876031ee105466f400661a0dd3fa66c4f0c09</id>
<content type='text'>
* 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq:
  [CPUFREQ]: x86, cpufreq: Mark longrun_get_policy with __cpuinit.
  [CPUFREQ] add sampling_down_factor tunable to improve ondemand performance
  [CPUFREQ] arch/x86/kernel/cpu/cpufreq: Fix unsigned return type
  [CPUFREQ] drivers/cpufreq: Adjust confusing if indentation
</content>
</entry>
<entry>
<title>[CPUFREQ]: x86, cpufreq: Mark longrun_get_policy with __cpuinit.</title>
<updated>2010-10-22T15:44:47Z</updated>
<author>
<name>Rakib Mullick</name>
</author>
<published>2010-10-21T11:28:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a69a0612c4cb7b08570d1b25b542cef478a2d79a'/>
<id>urn:sha1:a69a0612c4cb7b08570d1b25b542cef478a2d79a</id>
<content type='text'>
This patch fixes the following warning. The function
longrun_cpu_init() is marked with __cpuinit which calls
longrun_get_policy() which is a __init function. So make
longrun_get_policy with __cpuinit.

WARNING: arch/x86/kernel/cpu/cpufreq/longrun.o(.cpuinit.text+0x4c5):
Section mismatch in reference from the function longrun_cpu_init() to
the function .init.text:longrun_get_policy()
The function __cpuinit longrun_cpu_init() references
a function __init longrun_get_policy().
If longrun_get_policy is only used by longrun_cpu_init then
annotate longrun_get_policy with a matching annotation.

Signed-off-by: Rakib Mullick &lt;rakib.mullick@gmail.com&gt;
Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;
</content>
</entry>
<entry>
<title>[CPUFREQ] arch/x86/kernel/cpu/cpufreq: Fix unsigned return type</title>
<updated>2010-10-22T15:44:47Z</updated>
<author>
<name>Julia Lawall</name>
</author>
<published>2010-09-05T19:00:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b2a33c172890b231444803b0bb38c25ac5a0f274'/>
<id>urn:sha1:b2a33c172890b231444803b0bb38c25ac5a0f274</id>
<content type='text'>
In each case, the function has an unsigned return type, but returns a
negative constant to indicate an error condition.  Each function is only
called once.  For nforce2_detect_chipset, the result is only compared to 0,
and for longrun_determine_freqs, the result is stored in a variable of type
(signed) int.  Thus, for both functions, unsigned can be dropped from the
return type.

A sematic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
@exists@
identifier f;
constant C;
@@

 unsigned f(...)
 { &lt;+...
*  return -C;
 ...+&gt; }
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;
</content>
</entry>
<entry>
<title>acpi-cpufreq: fix a memleak when unloading driver</title>
<updated>2010-10-12T04:58:28Z</updated>
<author>
<name>Zhang Rui</name>
</author>
<published>2010-10-12T01:09:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dab5fff14df2cd16eb1ad4c02e83915e1063fece'/>
<id>urn:sha1:dab5fff14df2cd16eb1ad4c02e83915e1063fece</id>
<content type='text'>
We didn't free per_cpu(acfreq_data, cpu)-&gt;freq_table
when acpi_freq driver is unloaded.

Resulting in the following messages in /sys/kernel/debug/kmemleak:

unreferenced object 0xf6450e80 (size 64):
  comm "modprobe", pid 1066, jiffies 4294677317 (age 19290.453s)
  hex dump (first 32 bytes):
    00 00 00 00 e8 a2 24 00 01 00 00 00 00 9f 24 00  ......$.......$.
    02 00 00 00 00 6a 18 00 03 00 00 00 00 35 0c 00  .....j.......5..
  backtrace:
    [&lt;c123ba97&gt;] kmemleak_alloc+0x27/0x50
    [&lt;c109f96f&gt;] __kmalloc+0xcf/0x110
    [&lt;f9da97ee&gt;] acpi_cpufreq_cpu_init+0x1ee/0x4e4 [acpi_cpufreq]
    [&lt;c11cd8d2&gt;] cpufreq_add_dev+0x142/0x3a0
    [&lt;c11920b7&gt;] sysdev_driver_register+0x97/0x110
    [&lt;c11cce56&gt;] cpufreq_register_driver+0x86/0x140
    [&lt;f9dad080&gt;] 0xf9dad080
    [&lt;c1001130&gt;] do_one_initcall+0x30/0x160
    [&lt;c10626e9&gt;] sys_init_module+0x99/0x1e0
    [&lt;c1002d97&gt;] sysenter_do_call+0x12/0x26
    [&lt;ffffffff&gt;] 0xffffffff

https://bugzilla.kernel.org/show_bug.cgi?id=15807#c21

Tested-by: Toralf Forster &lt;toralf.foerster@gmx.de&gt;
Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>[CPUFREQ] Fix memory leaks in pcc_cpufreq_do_osc</title>
<updated>2010-09-30T20:14:23Z</updated>
<author>
<name>Pekka Enberg</name>
</author>
<published>2010-09-30T19:57:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3682930623f63c693845d9620c6bcdf5598c9bbb'/>
<id>urn:sha1:3682930623f63c693845d9620c6bcdf5598c9bbb</id>
<content type='text'>
If acpi_evaluate_object() function call doesn't fail, we must kfree()
output.buffer before returning from pcc_cpufreq_do_osc().

Signed-off-by: Pekka Enberg &lt;penberg@cs.helsinki.fi&gt;
Acked-by: David Rientjes &lt;rientjes@google.com&gt;
Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;
</content>
</entry>
<entry>
<title>[CPUFREQ] acpi-cpufreq: add missing __percpu markup</title>
<updated>2010-09-30T20:14:22Z</updated>
<author>
<name>Namhyung Kim</name>
</author>
<published>2010-08-13T14:00:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=86cf1474948a91c67b3dd58f8b360006c82e0068'/>
<id>urn:sha1:86cf1474948a91c67b3dd58f8b360006c82e0068</id>
<content type='text'>
acpi_perf_data is a percpu pointer but was missing __percpu markup.
Add it.

Signed-off-by: Namhyung Kim &lt;namhyung@gmail.com&gt;
Acked-by: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;
</content>
</entry>
<entry>
<title>[CPUFREQ] add missing __percpu markup in pcc-cpufreq.c</title>
<updated>2010-08-12T16:38:06Z</updated>
<author>
<name>Namhyung Kim</name>
</author>
<published>2010-08-07T17:37:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a3da323420d5aa6f7bd15efc7bf34cd6d19e1f1a'/>
<id>urn:sha1:a3da323420d5aa6f7bd15efc7bf34cd6d19e1f1a</id>
<content type='text'>
pcc_cpu_info is a percpu pointer but was missing __percpu markup.
Add it.

Signed-off-by: Namhyung Kim &lt;namhyung@gmail.com&gt;
Acked-by: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial</title>
<updated>2010-08-04T22:31:02Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2010-08-04T22:31:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3cfc2c42c1cbc8e238bb9c0612c0df4565e3a8b4'/>
<id>urn:sha1:3cfc2c42c1cbc8e238bb9c0612c0df4565e3a8b4</id>
<content type='text'>
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (48 commits)
  Documentation: update broken web addresses.
  fix comment typo "choosed" -&gt; "chosen"
  hostap:hostap_hw.c Fix typo in comment
  Fix spelling contorller -&gt; controller in comments
  Kconfig.debug: FAIL_IO_TIMEOUT: typo Faul -&gt; Fault
  fs/Kconfig: Fix typo Userpace -&gt; Userspace
  Removing dead MACH_U300_BS26
  drivers/infiniband: Remove unnecessary casts of private_data
  fs/ocfs2: Remove unnecessary casts of private_data
  libfc: use ARRAY_SIZE
  scsi: bfa: use ARRAY_SIZE
  drm: i915: use ARRAY_SIZE
  drm: drm_edid: use ARRAY_SIZE
  synclink: use ARRAY_SIZE
  block: cciss: use ARRAY_SIZE
  comment typo fixes: charater =&gt; character
  fix comment typos concerning "challenge"
  arm: plat-spear: fix typo in kerneldoc
  reiserfs: typo comment fix
  update email address
  ...
</content>
</entry>
</feed>
