<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/acpi/fan.c, branch v2.6.39-rc2</title>
<subtitle>Linux Kernel (branches are rebased on master from time to time)</subtitle>
<id>https://sre.ring0.de/linux/atom?h=v2.6.39-rc2</id>
<link rel='self' href='https://sre.ring0.de/linux/atom?h=v2.6.39-rc2'/>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/'/>
<updated>2011-01-12T09:48:45Z</updated>
<entry>
<title>ACPI / Fan: Rework the handling of power resources</title>
<updated>2011-01-12T09:48:45Z</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rjw@sisk.pl</email>
</author>
<published>2010-11-24T23:11:24Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=488a76c52606199100adf09c8eb7cbedbd94e9d9'/>
<id>urn:sha1:488a76c52606199100adf09c8eb7cbedbd94e9d9</id>
<content type='text'>
Use the new function acpi_bus_update_power() for manipulating power
resources used by ACPI fan devices, which allows them to be put into
the right state during initialization and resume.  Consequently,
remove the flags.force_power_state field from struct acpi_device,
which is not necessary any more.

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI fan: remove deprecated procfs I/F</title>
<updated>2010-10-16T02:02:47Z</updated>
<author>
<name>Zhang Rui</name>
<email>rui.zhang@intel.com</email>
</author>
<published>2010-10-08T05:55:03Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=b2a44989c1dbfae409035eaffad4292c27fc7cb8'/>
<id>urn:sha1:b2a44989c1dbfae409035eaffad4292c27fc7cb8</id>
<content type='text'>
Remove deprecated ACPI Fan driver procfs interface.

The ACPI fan driver (CONFIG_ACPI_FAN) selects
the generic thermal sysfs driver (CONFIG_THERMAL) since 2.6.26,
so new sysfs I/F is available at /sys/class/thermal/cooling_devicecX/

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>ACPI: fan: Fix more unbalanced code block</title>
<updated>2010-09-29T18:08:10Z</updated>
<author>
<name>Luis Henriques</name>
<email>luis.henrix@gmail.com</email>
</author>
<published>2010-07-07T18:30:15Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=0c827eebfcd5caad24a50bc514ef15476b086e47'/>
<id>urn:sha1:0c827eebfcd5caad24a50bc514ef15476b086e47</id>
<content type='text'>
commit 934231de706d2579fae14f5857fcd8de991009ff fixes an unbalanced
CONFIG_ACPI_PROCFS code block during module initialisation.  This
patch fixes similar issue but for the module exit.

Signed-off-by: Luis Henriques &lt;luis.henrix@gmail.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: fan: fix unbalanced code block</title>
<updated>2010-06-10T15:24:51Z</updated>
<author>
<name>Liang Li</name>
<email>liang.li@windriver.com</email>
</author>
<published>2010-06-10T05:42:49Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=934231de706d2579fae14f5857fcd8de991009ff'/>
<id>urn:sha1:934231de706d2579fae14f5857fcd8de991009ff</id>
<content type='text'>
The code block braced with CONFIG_ACPI_PROCFS is unblanced. When
CONFIG_ACPI_PROCFS=n, kernel trace will be produced like:

Call Trace:
 [&lt;c111637d&gt;] ? remove_proc_entry+0x20d/0x290
 [&lt;c111637d&gt;] ? remove_proc_entry+0x20d/0x290
 [&lt;c103b02c&gt;] warn_slowpath_common+0x6c/0xc0
 [&lt;c111637d&gt;] ? remove_proc_entry+0x20d/0x290
 [&lt;c103b0c6&gt;] warn_slowpath_fmt+0x26/0x30
 [&lt;c111637d&gt;] remove_proc_entry+0x20d/0x290
 [&lt;c1116bd7&gt;] ? proc_register+0x117/0x1f0
 [&lt;c1116e83&gt;] ? proc_mkdir_mode+0x33/0x50
 [&lt;c14f483c&gt;] ? acpi_fan_init+0x0/0x2c
 [&lt;c14f485f&gt;] acpi_fan_init+0x23/0x2c
 [&lt;c1001123&gt;] do_one_initcall+0x23/0x180
 [&lt;c107dcf7&gt;] ? init_irq_proc+0x67/0x80
 [&lt;c14d43bd&gt;] kernel_init+0x13c/0x20e
 [&lt;c1030e50&gt;] ? schedule_tail+0x20/0x90
 [&lt;c1389e06&gt;] ? syscall_exit+0x5/0x16
 [&lt;c14d4281&gt;] ? kernel_init+0x0/0x20e
 [&lt;c14d4281&gt;] ? kernel_init+0x0/0x20e
 [&lt;c10032f6&gt;] kernel_thread_helper+0x6/0x30
---[ end trace a7919e7f17c0a725 ]---

Then also bracket later error checking code with ACPI_PROCFS
option to avoid mismatch problem.

Signed-off-by: Liang Li &lt;liang.li@windriver.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: Remove repeated registered as cooling_device messages</title>
<updated>2009-12-16T05:07:10Z</updated>
<author>
<name>Mike Travis</name>
<email>travis@sgi.com</email>
</author>
<published>2009-12-14T21:38:30Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=13c41157096f05d5037a99152b4cf9d68ef00ef7'/>
<id>urn:sha1:13c41157096f05d5037a99152b4cf9d68ef00ef7</id>
<content type='text'>
This message shows up for each cpu.  Print as debug messages.

[   12.893967] processor ACPI0007:00: registered as cooling_device0
[   12.907838] processor ACPI0007:01: registered as cooling_device1

Signed-off-by: Mike Travis &lt;travis@sgi.com&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: linux-acpi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: Move definition of PREFIX from acpi_bus.h to internal..h</title>
<updated>2009-08-28T23:57:27Z</updated>
<author>
<name>Len Brown</name>
<email>len.brown@intel.com</email>
</author>
<published>2009-07-28T20:45:54Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=a192a9580bcc41692be1f36b77c3b681827f566a'/>
<id>urn:sha1:a192a9580bcc41692be1f36b77c3b681827f566a</id>
<content type='text'>
Linux/ACPI core files using internal.h all PREFIX "ACPI: ",
however, not all ACPI drivers use/want it -- and they
should not have to #undef PREFIX to define their own.

Add GPL commment to internal.h while we are there.

This does not change any actual console output,
asside from a whitespace fix.

Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'linus' into release</title>
<updated>2009-04-05T06:14:15Z</updated>
<author>
<name>Len Brown</name>
<email>len.brown@intel.com</email>
</author>
<published>2009-04-05T06:14:15Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=478c6a43fcbc6c11609f8cee7c7b57223907754f'/>
<id>urn:sha1:478c6a43fcbc6c11609f8cee7c7b57223907754f</id>
<content type='text'>
Conflicts:
	arch/x86/kernel/cpu/cpufreq/longhaul.c

Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>proc 2/2: remove struct proc_dir_entry::owner</title>
<updated>2009-03-30T21:14:44Z</updated>
<author>
<name>Alexey Dobriyan</name>
<email>adobriyan@gmail.com</email>
</author>
<published>2009-03-25T19:48:06Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=99b76233803beab302123d243eea9e41149804f3'/>
<id>urn:sha1:99b76233803beab302123d243eea9e41149804f3</id>
<content type='text'>
Setting -&gt;owner as done currently (pde-&gt;owner = THIS_MODULE) is racy
as correctly noted at bug #12454. Someone can lookup entry with NULL
-&gt;owner, thus not pinning enything, and release it later resulting
in module refcount underflow.

We can keep -&gt;owner and supply it at registration time like -&gt;proc_fops
and -&gt;data.

But this leaves -&gt;owner as easy-manipulative field (just one C assignment)
and somebody will forget to unpin previous/pin current module when
switching -&gt;owner. -&gt;proc_fops is declared as "const" which should give
some thoughts.

-&gt;read_proc/-&gt;write_proc were just fixed to not require -&gt;owner for
protection.

rmmod'ed directories will be empty and return "." and ".." -- no harm.
And directories with tricky enough readdir and lookup shouldn't be modular.
We definitely don't want such modular code.

Removing -&gt;owner will also make PDE smaller.

So, let's nuke it.

Kudos to Jeff Layton for reminding about this, let's say, oversight.

http://bugzilla.kernel.org/show_bug.cgi?id=12454

Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
</content>
</entry>
<entry>
<title>thermal: use integers rather than strings for thermal values</title>
<updated>2009-02-20T15:52:37Z</updated>
<author>
<name>Matthew Garrett</name>
<email>mjg59@srcf.ucam.org</email>
</author>
<published>2008-11-27T17:48:13Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=6503e5df08008b9a47022b5e9ebba658c8fa69af'/>
<id>urn:sha1:6503e5df08008b9a47022b5e9ebba658c8fa69af</id>
<content type='text'>
The thermal API currently uses strings to pass values to userspace. This
makes it difficult to use from within the kernel. Change the interface
to use integers and fix up the consumers.

Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
Acked-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
Acked-by: Thomas Renninger &lt;trenn@suse.de&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: consolidate ACPI_*_COMPONENT definitions in acpi_drivers.h</title>
<updated>2008-11-08T02:44:37Z</updated>
<author>
<name>Bjorn Helgaas</name>
<email>bjorn.helgaas@hp.com</email>
</author>
<published>2008-11-07T23:57:45Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=89595b8f2850a080d290bf778ec933ea1d99f78e'/>
<id>urn:sha1:89595b8f2850a080d290bf778ec933ea1d99f78e</id>
<content type='text'>
Move all the component definitions for drivers to a single shared place,
include/acpi/acpi_drivers.h.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
</feed>
