<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/acpi/processor_core.c, branch v2.6.31</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>acpi: don't call acpi_processor_init if acpi is disabled</title>
<updated>2009-08-27T03:06:52+00:00</updated>
<author>
<name>Yinghai Lu</name>
<email>yinghai@kernel.org</email>
</author>
<published>2009-08-26T21:29:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=ce8442b55135c679809311997d1446f3bbc05de2'/>
<id>ce8442b55135c679809311997d1446f3bbc05de2</id>
<content type='text'>
Jens reported early_ioremap messages with old ASUS board...

&gt; [    1.507461] pci 0000:00:09.0: Firmware left e100 interrupts enabled; disabling
&gt; [    1.532778] early_ioremap(3fffd080, 0000005c) [0] =&gt; Pid: 1, comm: swapper Not tainted 2.6.31-rc4 #36
&gt; [    1.561007] Call Trace:
&gt; [    1.568638]  [&lt;c136e48b&gt;] ? printk+0x18/0x1d
&gt; [    1.581734]  [&lt;c15513ff&gt;] __early_ioremap+0x74/0x1e9
&gt; [    1.596898]  [&lt;c15515aa&gt;] early_ioremap+0x1a/0x1c
&gt; [    1.611270]  [&lt;c154a187&gt;] __acpi_map_table+0x18/0x1a
&gt; [    1.626451]  [&lt;c135a7f8&gt;] acpi_os_map_memory+0x1d/0x25
&gt; [    1.642129]  [&lt;c119459c&gt;] acpi_tb_verify_table+0x20/0x49
&gt; [    1.658321]  [&lt;c1193e50&gt;] acpi_get_table_with_size+0x53/0xa1
&gt; [    1.675553]  [&lt;c1193eae&gt;] acpi_get_table+0x10/0x15
&gt; [    1.690192]  [&lt;c155cc19&gt;] acpi_processor_init+0x23/0xab
&gt; [    1.706126]  [&lt;c1001043&gt;] do_one_initcall+0x33/0x180
&gt; [    1.721279]  [&lt;c155cbf6&gt;] ? acpi_processor_init+0x0/0xab
&gt; [    1.737479]  [&lt;c106893a&gt;] ? register_irq_proc+0xaa/0xc0
&gt; [    1.753411]  [&lt;c10689b7&gt;] ? init_irq_proc+0x67/0x80
&gt; [    1.768316]  [&lt;c15405e7&gt;] kernel_init+0x120/0x176
&gt; [    1.782678]  [&lt;c15404c7&gt;] ? kernel_init+0x0/0x176
&gt; [    1.797062]  [&lt;c10038b7&gt;] kernel_thread_helper+0x7/0x10
&gt; [    1.812984] 00000080 + ffe00000

that is rather later.
acpi_gbl_permanent_mmap should be set in acpi_early_init()
if acpi is not disabled

and we have
&gt; [    0.000000] ASUS P2B-DS detected: force use of acpi=ht

just don't load acpi_processor_init...

Reported-and-tested-by: Jens Rosenboom &lt;jens@leia.mcbone.net&gt;
Signed-off-by: Yinghai Lu &lt;yinghai@kernel.org&gt;
Acked-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: Len Brown &lt;lenb@kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Jens reported early_ioremap messages with old ASUS board...

&gt; [    1.507461] pci 0000:00:09.0: Firmware left e100 interrupts enabled; disabling
&gt; [    1.532778] early_ioremap(3fffd080, 0000005c) [0] =&gt; Pid: 1, comm: swapper Not tainted 2.6.31-rc4 #36
&gt; [    1.561007] Call Trace:
&gt; [    1.568638]  [&lt;c136e48b&gt;] ? printk+0x18/0x1d
&gt; [    1.581734]  [&lt;c15513ff&gt;] __early_ioremap+0x74/0x1e9
&gt; [    1.596898]  [&lt;c15515aa&gt;] early_ioremap+0x1a/0x1c
&gt; [    1.611270]  [&lt;c154a187&gt;] __acpi_map_table+0x18/0x1a
&gt; [    1.626451]  [&lt;c135a7f8&gt;] acpi_os_map_memory+0x1d/0x25
&gt; [    1.642129]  [&lt;c119459c&gt;] acpi_tb_verify_table+0x20/0x49
&gt; [    1.658321]  [&lt;c1193e50&gt;] acpi_get_table_with_size+0x53/0xa1
&gt; [    1.675553]  [&lt;c1193eae&gt;] acpi_get_table+0x10/0x15
&gt; [    1.690192]  [&lt;c155cc19&gt;] acpi_processor_init+0x23/0xab
&gt; [    1.706126]  [&lt;c1001043&gt;] do_one_initcall+0x33/0x180
&gt; [    1.721279]  [&lt;c155cbf6&gt;] ? acpi_processor_init+0x0/0xab
&gt; [    1.737479]  [&lt;c106893a&gt;] ? register_irq_proc+0xaa/0xc0
&gt; [    1.753411]  [&lt;c10689b7&gt;] ? init_irq_proc+0x67/0x80
&gt; [    1.768316]  [&lt;c15405e7&gt;] kernel_init+0x120/0x176
&gt; [    1.782678]  [&lt;c15404c7&gt;] ? kernel_init+0x0/0x176
&gt; [    1.797062]  [&lt;c10038b7&gt;] kernel_thread_helper+0x7/0x10
&gt; [    1.812984] 00000080 + ffe00000

that is rather later.
acpi_gbl_permanent_mmap should be set in acpi_early_init()
if acpi is not disabled

and we have
&gt; [    0.000000] ASUS P2B-DS detected: force use of acpi=ht

just don't load acpi_processor_init...

Reported-and-tested-by: Jens Rosenboom &lt;jens@leia.mcbone.net&gt;
Signed-off-by: Yinghai Lu &lt;yinghai@kernel.org&gt;
Acked-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: Len Brown &lt;lenb@kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branches 'acerhdf', 'acpi-pci-bind', 'bjorn-pci-root', 'bugzilla-12904', 'bugzilla-13121', 'bugzilla-13396', 'bugzilla-13533', 'bugzilla-13612', 'c3_lock', 'hid-cleanups', 'misc-2.6.31', 'pdc-leak-fix', 'pnpacpi', 'power_nocheck', 'thinkpad_acpi', 'video' and 'wmi' into release</title>
<updated>2009-06-24T05:19:50+00:00</updated>
<author>
<name>Len Brown</name>
<email>len.brown@intel.com</email>
</author>
<published>2009-06-24T05:19:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=fbe8cddd2d85979d273d7937a2b8a47498694d91'/>
<id>fbe8cddd2d85979d273d7937a2b8a47498694d91</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ACPI: Rename ACPI processor device bus ID</title>
<updated>2009-06-24T05:18:04+00:00</updated>
<author>
<name>Zhao Yakui</name>
<email>yakui.zhao@intel.com</email>
</author>
<published>2009-06-24T03:46:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=7a04b8491a077471a34938b8ca060c37220953be'/>
<id>7a04b8491a077471a34938b8ca060c37220953be</id>
<content type='text'>
Some BIOS re-use the same processor bus id
in different scope:

	\_SB.SCK0.CPU0
	\_SB.SCK1.CPU0

But the (deprecated) /proc/acpi/ interface
assumes the bus-id's are unique, resulting in an OOPS
when the processor driver is loaded:

WARNING: at fs/proc/generic.c:590 proc_register+0x148/0x180()
Hardware name: Sunrise Ridge
proc_dir_entry 'processor/CPU0' already registered
Call Trace:
 [&lt;ffffffff8023f7ef&gt;] warn_slowpath+0xb1/0xe5
 [&lt;ffffffff8036243b&gt;] ? ida_get_new_above+0x190/0x1b1
 [&lt;ffffffff803625a8&gt;] ? idr_pre_get+0x5f/0x75
 [&lt;ffffffff8030b2f6&gt;] proc_register+0x148/0x180
 [&lt;ffffffff8030b4ff&gt;] proc_mkdir_mode+0x3d/0x52
 [&lt;ffffffff8030b525&gt;] proc_mkdir+0x11/0x13
 [&lt;ffffffffa0014b89&gt;] acpi_processor_start+0x755/0x9bc [processor]

Rename the processor device bus id. And the new bus id will be
generated as the following format:
	CPU+ CPU ID

For example: If the cpu ID is 5, then the bus ID will be "CPU5".
	If the CPU ID is 10, then the bus ID will be "CPUA".

Yes, this will change the directory names seen
in /proc/acpi/processor/* on some systems.
Before this patch, those directory names where
totally arbitrary strings based on the interal AML device strings.

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

Signed-off-by: Zhao Yakui &lt;yakui.zhao@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some BIOS re-use the same processor bus id
in different scope:

	\_SB.SCK0.CPU0
	\_SB.SCK1.CPU0

But the (deprecated) /proc/acpi/ interface
assumes the bus-id's are unique, resulting in an OOPS
when the processor driver is loaded:

WARNING: at fs/proc/generic.c:590 proc_register+0x148/0x180()
Hardware name: Sunrise Ridge
proc_dir_entry 'processor/CPU0' already registered
Call Trace:
 [&lt;ffffffff8023f7ef&gt;] warn_slowpath+0xb1/0xe5
 [&lt;ffffffff8036243b&gt;] ? ida_get_new_above+0x190/0x1b1
 [&lt;ffffffff803625a8&gt;] ? idr_pre_get+0x5f/0x75
 [&lt;ffffffff8030b2f6&gt;] proc_register+0x148/0x180
 [&lt;ffffffff8030b4ff&gt;] proc_mkdir_mode+0x3d/0x52
 [&lt;ffffffff8030b525&gt;] proc_mkdir+0x11/0x13
 [&lt;ffffffffa0014b89&gt;] acpi_processor_start+0x755/0x9bc [processor]

Rename the processor device bus id. And the new bus id will be
generated as the following format:
	CPU+ CPU ID

For example: If the cpu ID is 5, then the bus ID will be "CPU5".
	If the CPU ID is 10, then the bus ID will be "CPUA".

Yes, this will change the directory names seen
in /proc/acpi/processor/* on some systems.
Before this patch, those directory names where
totally arbitrary strings based on the interal AML device strings.

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

Signed-off-by: Zhao Yakui &lt;yakui.zhao@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ACPI: pdc init related memory leak with physical CPU hotplug</title>
<updated>2009-06-20T04:50:52+00:00</updated>
<author>
<name>Pallipadi, Venkatesh</name>
<email>venkatesh.pallipadi@intel.com</email>
</author>
<published>2009-06-20T00:14:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=7b768f07dce463a054c9dd84862d15ccc3d2b712'/>
<id>7b768f07dce463a054c9dd84862d15ccc3d2b712</id>
<content type='text'>
arch_acpi_processor_cleanup_pdc() in x86 and ia64 results in memory allocated
for _PDC objects that is never freed and will cause memory leak in case of
physical CPU remove and add. Patch fixes the memory leak by freeing the
objects soon after _PDC is evaluated.

Reported-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Venkatesh Pallipadi &lt;venkatesh.pallipadi@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
arch_acpi_processor_cleanup_pdc() in x86 and ia64 results in memory allocated
for _PDC objects that is never freed and will cause memory leak in case of
physical CPU remove and add. Patch fixes the memory leak by freeing the
objects soon after _PDC is evaluated.

Reported-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Venkatesh Pallipadi &lt;venkatesh.pallipadi@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cpumask: alloc zeroed cpumask for static cpumask_var_ts</title>
<updated>2009-06-09T13:00:27+00:00</updated>
<author>
<name>Yinghai Lu</name>
<email>yinghai@kernel.org</email>
</author>
<published>2009-06-06T21:51:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=eaa958402ea40851097d051f52ba1bb7a885efe9'/>
<id>eaa958402ea40851097d051f52ba1bb7a885efe9</id>
<content type='text'>
These are defined as static cpumask_var_t so if MAXSMP is not used,
they are cleared already.  Avoid surprises when MAXSMP is enabled.

Signed-off-by: Yinghai Lu &lt;yinghai.lu@kernel.org&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are defined as static cpumask_var_t so if MAXSMP is not used,
they are cleared already.  Avoid surprises when MAXSMP is enabled.

Signed-off-by: Yinghai Lu &lt;yinghai.lu@kernel.org&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ACPI: processor: move device _HID into driver</title>
<updated>2009-05-28T01:14:28+00:00</updated>
<author>
<name>Bjorn Helgaas</name>
<email>bjorn.helgaas@hp.com</email>
</author>
<published>2009-04-27T22:33:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=9eccbc2f67efd0d19c47f40182abf2965c287add'/>
<id>9eccbc2f67efd0d19c47f40182abf2965c287add</id>
<content type='text'>
The ACPI0007 _HID used for processor "Device" objects in the namespace
is not needed outside the processor driver, so move it there.  Also, the
#define is only used once, so just remove it and hard-code "ACPI0007".

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ACPI0007 _HID used for processor "Device" objects in the namespace
is not needed outside the processor driver, so move it there.  Also, the
#define is only used once, so just remove it and hard-code "ACPI0007".

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ACPI: processor: check for synthetic _HID, default to "Device" declaration</title>
<updated>2009-05-28T01:14:03+00:00</updated>
<author>
<name>Bjorn Helgaas</name>
<email>bjorn.helgaas@hp.com</email>
</author>
<published>2009-04-27T22:33:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=6cc73b4806c07b4207780f6d85c456b4c5b29d71'/>
<id>6cc73b4806c07b4207780f6d85c456b4c5b29d71</id>
<content type='text'>
This patch inverts the logic that distinguishes "Processor" statements
from "Device" statements, so we now check explicitly for "Processor" and
default to "Device".  This removes the only real use of ACPI_PROCESSOR_HID,
so we can then remove the #define.  It also has the theoretical advantage
that if a new processor _HID were ever added, we wouldn't have to change
the code here.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch inverts the logic that distinguishes "Processor" statements
from "Device" statements, so we now check explicitly for "Processor" and
default to "Device".  This removes the only real use of ACPI_PROCESSOR_HID,
so we can then remove the #define.  It also has the theoretical advantage
that if a new processor _HID were ever added, we wouldn't have to change
the code here.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ACPI: processor: use .notify method instead of installing handler directly</title>
<updated>2009-04-05T06:25:07+00:00</updated>
<author>
<name>Bjorn Helgaas</name>
<email>bjorn.helgaas@hp.com</email>
</author>
<published>2009-03-30T17:48:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=7ec0a7290797f57b780f792d12f4bcc19c83aa4f'/>
<id>7ec0a7290797f57b780f792d12f4bcc19c83aa4f</id>
<content type='text'>
This patch adds a .notify() method.  The presence of .notify() causes
Linux/ACPI to manage event handlers and notify handlers on our behalf,
so we don't have to install and remove them ourselves.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
CC: Zhang Rui &lt;rui.zhang@intel.com&gt;
CC: Zhao Yakui &lt;yakui.zhao@intel.com&gt;
CC: Venki Pallipadi &lt;venkatesh.pallipadi@intel.com&gt;
CC: Anil S Keshavamurthy &lt;anil.s.keshavamurthy@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds a .notify() method.  The presence of .notify() causes
Linux/ACPI to manage event handlers and notify handlers on our behalf,
so we don't have to install and remove them ourselves.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
CC: Zhang Rui &lt;rui.zhang@intel.com&gt;
CC: Zhao Yakui &lt;yakui.zhao@intel.com&gt;
CC: Venki Pallipadi &lt;venkatesh.pallipadi@intel.com&gt;
CC: Anil S Keshavamurthy &lt;anil.s.keshavamurthy@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'linus' into release</title>
<updated>2009-04-05T06:14:15+00:00</updated>
<author>
<name>Len Brown</name>
<email>len.brown@intel.com</email>
</author>
<published>2009-04-05T06:14:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=478c6a43fcbc6c11609f8cee7c7b57223907754f'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	arch/x86/kernel/cpu/cpufreq/longhaul.c

Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>x86, ACPI: add support for x2apic ACPI extensions</title>
<updated>2009-04-04T00:08:12+00:00</updated>
<author>
<name>Suresh Siddha</name>
<email>suresh.b.siddha@intel.com</email>
</author>
<published>2009-03-30T21:55:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=7237d3de78ff89ec2e18eae5fe962d063024fef5'/>
<id>7237d3de78ff89ec2e18eae5fe962d063024fef5</id>
<content type='text'>
All logical processors with APIC ID values of 255 and greater will have their
APIC reported through Processor X2APIC structure (type-9 entry type) and all
logical processors with APIC ID less than 255 will have their APIC reported
through legacy Processor Local APIC (type-0 entry type) only. This is the
same case even for NMI structure reporting.
    
The Processor X2APIC Affinity structure provides the association between the
X2APIC ID of a logical processor and the proximity domain to which the logical
processor belongs.
    
For OSPM, Procssor IDs outside the 0-254 range are to be declared as Device()
objects in the ACPI namespace.

Signed-off-by: Suresh Siddha &lt;suresh.b.siddha@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All logical processors with APIC ID values of 255 and greater will have their
APIC reported through Processor X2APIC structure (type-9 entry type) and all
logical processors with APIC ID less than 255 will have their APIC reported
through legacy Processor Local APIC (type-0 entry type) only. This is the
same case even for NMI structure reporting.
    
The Processor X2APIC Affinity structure provides the association between the
X2APIC ID of a logical processor and the proximity domain to which the logical
processor belongs.
    
For OSPM, Procssor IDs outside the 0-254 range are to be declared as Device()
objects in the ACPI namespace.

Signed-off-by: Suresh Siddha &lt;suresh.b.siddha@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
