<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/x86/kernel/apic/ipi.c, branch linux-3.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-01-28T13:54:05Z</updated>
<entry>
<title>x86: Always use x86_cpu_to_logical_apicid for cpu -&gt; logical apic id</title>
<updated>2011-01-28T13:54:05Z</updated>
<author>
<name>Tejun Heo</name>
</author>
<published>2011-01-23T13:37:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6f802c4bfa2acf1bffa8341fe9084da0205d581d'/>
<id>urn:sha1:6f802c4bfa2acf1bffa8341fe9084da0205d581d</id>
<content type='text'>
Currently, cpu -&gt; logical apic id translation is done by
apic-&gt;cpu_to_logical_apicid() callback which may or may not use
x86_cpu_to_logical_apicid.  This is unnecessary as it should
always equal logical_smp_processor_id() which is known early
during CPU bring up.

Initialize x86_cpu_to_logical_apicid after apic-&gt;init_apic_ldr()
in setup_local_APIC() and always use x86_cpu_to_logical_apicid
for cpu -&gt; logical apic id mapping.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Cc: eric.dumazet@gmail.com
Cc: yinghai@kernel.org
Cc: brgerst@gmail.com
Cc: gorcunov@gmail.com
Cc: penberg@kernel.org
Cc: shaohui.zheng@intel.com
Cc: rientjes@google.com
LKML-Reference: &lt;1295789862-25482-6-git-send-email-tj@kernel.org&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>x86: Make default_send_IPI_mask_sequence/allbutself_logical() 32bit only</title>
<updated>2011-01-28T13:54:05Z</updated>
<author>
<name>Tejun Heo</name>
</author>
<published>2011-01-23T13:37:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1245e1668c6e52bee76a423f8fab3bfcdd6226ae'/>
<id>urn:sha1:1245e1668c6e52bee76a423f8fab3bfcdd6226ae</id>
<content type='text'>
Both functions are used only in 32bit.  Put them inside
CONFIG_X86_32. This is to prepare for logical apicid handling
update.

- Cyrill Gorcunov spotted that I forgot to move declarations in
ipi.h   under CONFIG_X86_32.  Fixed.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Reviewed-by: Pekka Enberg &lt;penberg@kernel.org&gt;
Reviewed-by: Cyrill Gorcunov &lt;gorcunov@gmail.com&gt;
Acked-by: Yinghai Lu &lt;yinghai@kernel.org&gt;
Cc: eric.dumazet@gmail.com
Cc: brgerst@gmail.com
Cc: shaohui.zheng@intel.com
Cc: rientjes@google.com
LKML-Reference: &lt;1295789862-25482-4-git-send-email-tj@kernel.org&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>Merge commit 'v2.6.31-rc7' into x86/cleanups</title>
<updated>2009-08-24T10:25:54Z</updated>
<author>
<name>Ingo Molnar</name>
</author>
<published>2009-08-24T10:25:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5f9ece02401116b29eb04396b99ea092acb75dd8'/>
<id>urn:sha1:5f9ece02401116b29eb04396b99ea092acb75dd8</id>
<content type='text'>
Merge reason: we were on -rc1 before - go up to -rc7

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>x86: don't send an IPI to the empty set of CPU's</title>
<updated>2009-08-21T16:23:57Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2009-08-21T16:23:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=83d349f35e1ae72268c5104dbf9ab2ae635425d4'/>
<id>urn:sha1:83d349f35e1ae72268c5104dbf9ab2ae635425d4</id>
<content type='text'>
The default_send_IPI_mask_logical() function uses the "flat" APIC mode
to send an IPI to a set of CPU's at once, but if that set happens to be
empty, some older local APIC's will apparently be rather unhappy.  So
just warn if a caller gives us an empty mask, and ignore it.

This fixes a regression in 2.6.30.x, due to commit 4595f9620 ("x86:
change flush_tlb_others to take a const struct cpumask"), documented
here:

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

which causes a silent lock-up.  It only seems to happen on PPro, P2, P3
and Athlon XP cores.  Most developers sadly (or not so sadly, if you're
a developer..) have more modern CPU's.  Also, on x86-64 we don't use the
flat APIC mode, so it would never trigger there even if the APIC didn't
like sending an empty IPI mask.

Reported-by: Pavel Vilim &lt;wylda@volny.cz&gt;
Reported-and-tested-by: Thomas Björnell &lt;thomas.bjornell@gmail.com&gt;
Reported-and-tested-by: Martin Rogge &lt;marogge@onlinehome.de&gt;
Cc: Mike Travis &lt;travis@sgi.com&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>x86, ipi: Clean up safe_smp_processor_id() by using the cpu_has_apic() macro helper</title>
<updated>2009-07-10T13:58:34Z</updated>
<author>
<name>Cyrill Gorcunov</name>
</author>
<published>2009-07-05T16:01:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a1b4f1a5b7f57be2593a9f1fca465a529c95fc07'/>
<id>urn:sha1:a1b4f1a5b7f57be2593a9f1fca465a529c95fc07</id>
<content type='text'>
We already use a lot of cpu_has_ helpers.
Lets do here the same for consistency.

Signed-off-by: Cyrill Gorcunov &lt;gorcunov@openvz.org&gt;
Cc: Yinghai Lu &lt;yinghai@kernel.org&gt;
LKML-Reference: &lt;20090705160154.GB4791@lenovo&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>x86, apic: move APIC drivers to arch/x86/kernel/apic/*</title>
<updated>2009-02-17T17:17:36Z</updated>
<author>
<name>Ingo Molnar</name>
</author>
<published>2009-02-17T17:09:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f62bae5009c1ba596cd475cafbc83e0570a36e26'/>
<id>urn:sha1:f62bae5009c1ba596cd475cafbc83e0570a36e26</id>
<content type='text'>
arch/x86/kernel/ is getting a bit crowded, and the APIC
drivers are scattered into various different files.

Move them to arch/x86/kernel/apic/*, and also remove
the 'gen' prefix from those which had it.

Also move APIC related functionality: the IO-APIC driver,
the NMI and the IPI code.

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
</feed>
