<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/arch/x86/kernel/apic/io_apic.c, branch v3.9.3</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.9.3</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.9.3'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2013-01-28T11:51:52+00:00</updated>
<entry>
<title>x86, io_apic: Introduce eoi_ioapic_pin call-back</title>
<updated>2013-01-28T11:51:52+00:00</updated>
<author>
<name>Joerg Roedel</name>
<email>joro@8bytes.org</email>
</author>
<published>2012-09-26T10:44:50+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=da165322dfb6cbc50042b1051f07b837a26f3bb8'/>
<id>urn:sha1:da165322dfb6cbc50042b1051f07b837a26f3bb8</id>
<content type='text'>
This callback replaces the old __eoi_ioapic_pin function
which needs a special path for interrupt remapping.

Signed-off-by: Joerg Roedel &lt;joro@8bytes.org&gt;
Acked-by: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
Reviewed-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>x86, msi: Introduce x86_msi.compose_msi_msg call-back</title>
<updated>2013-01-28T11:42:48+00:00</updated>
<author>
<name>Joerg Roedel</name>
<email>joro@8bytes.org</email>
</author>
<published>2012-09-26T10:44:49+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=7601384f91be1a5ea60cb4ef6e28cad628e6cd1e'/>
<id>urn:sha1:7601384f91be1a5ea60cb4ef6e28cad628e6cd1e</id>
<content type='text'>
This call-back points to the right function for initializing
the msi_msg structure. The old code for msi_msg generation
was split up into the irq-remapped and the default case.

The irq-remapped case just calls into the specific Intel or
AMD implementation when the device is behind an IOMMU.
Otherwise the default function is called.

Signed-off-by: Joerg Roedel &lt;joro@8bytes.org&gt;
Acked-by: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
Reviewed-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>x86, irq: Introduce setup_remapped_irq()</title>
<updated>2013-01-28T11:17:28+00:00</updated>
<author>
<name>Joerg Roedel</name>
<email>joro@8bytes.org</email>
</author>
<published>2012-09-26T10:44:48+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=2976fd8417f5744de3bb9109e4f30f353a36b1c0'/>
<id>urn:sha1:2976fd8417f5744de3bb9109e4f30f353a36b1c0</id>
<content type='text'>
This function does irq-remapping specific interrupt setup
like modifying the chip defaults.

Signed-off-by: Joerg Roedel &lt;joro@8bytes.org&gt;
Acked-by: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
Reviewed-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>x86, irq: Move irq_remapped() check into free_remapped_irq</title>
<updated>2013-01-28T11:17:27+00:00</updated>
<author>
<name>Joerg Roedel</name>
<email>joro@8bytes.org</email>
</author>
<published>2012-09-26T10:44:47+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=11b4a1cc3836ac71a214446d350e923c76012368'/>
<id>urn:sha1:11b4a1cc3836ac71a214446d350e923c76012368</id>
<content type='text'>
The function is called unconditionally now in IO-APIC code
removing another irq_remapped() check from x86 core code.

Signed-off-by: Joerg Roedel &lt;joro@8bytes.org&gt;
Acked-by: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
Reviewed-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>x86, io-apic: Remove !irq_remapped() check from __target_IO_APIC_irq()</title>
<updated>2013-01-28T11:17:27+00:00</updated>
<author>
<name>Joerg Roedel</name>
<email>joro@8bytes.org</email>
</author>
<published>2012-09-26T10:44:46+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=9f9d39e403faf5e1a22334fe4df96516e4f389a8'/>
<id>urn:sha1:9f9d39e403faf5e1a22334fe4df96516e4f389a8</id>
<content type='text'>
This function is only called from default_ioapic_set_affinity()
which is only used when interrupt remapping is disabled
since the introduction of the set_affinity function pointer.
So the check will always evaluate as true and can be
removed.

Signed-off-by: Joerg Roedel &lt;joro@8bytes.org&gt;
Acked-by: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
Reviewed-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>x86, io-apic: Move CONFIG_IRQ_REMAP code out of x86 core</title>
<updated>2013-01-28T11:17:27+00:00</updated>
<author>
<name>Joerg Roedel</name>
<email>joro@8bytes.org</email>
</author>
<published>2012-09-26T10:44:45+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=9b1b0e42f54bc452817f4bb6a8d939afe4f04303'/>
<id>urn:sha1:9b1b0e42f54bc452817f4bb6a8d939afe4f04303</id>
<content type='text'>
Move all the code to either to the header file
asm/irq_remapping.h or to drivers/iommu/.

Signed-off-by: Joerg Roedel &lt;joro@8bytes.org&gt;
Acked-by: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
Reviewed-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>x86, io_apic: Remove irq_remapping_enabled check in setup_timer_IRQ0_pin</title>
<updated>2013-01-28T11:17:26+00:00</updated>
<author>
<name>Joerg Roedel</name>
<email>joro@8bytes.org</email>
</author>
<published>2012-09-26T10:44:42+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=1d254428c0ba30a0fbb8112d875ba64f4e60db25'/>
<id>urn:sha1:1d254428c0ba30a0fbb8112d875ba64f4e60db25</id>
<content type='text'>
This function is only called when irq-remapping is disabled.

Signed-off-by: Joerg Roedel &lt;joro@8bytes.org&gt;
Acked-by: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
Reviewed-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>x86, io_apic: Move irq_remapping_enabled checks out of check_timer()</title>
<updated>2013-01-28T11:17:26+00:00</updated>
<author>
<name>Joerg Roedel</name>
<email>joro@8bytes.org</email>
</author>
<published>2012-09-26T10:44:41+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=6a9f5de27216801b4e38ccd8aa0168a5dd8eca9b'/>
<id>urn:sha1:6a9f5de27216801b4e38ccd8aa0168a5dd8eca9b</id>
<content type='text'>
Move these checks to IRQ remapping code by introducing the
panic_on_irq_remap() function.

Signed-off-by: Joerg Roedel &lt;joro@8bytes.org&gt;
Acked-by: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
Reviewed-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>x86, io_apic: Convert setup_ioapic_entry to function pointer</title>
<updated>2013-01-28T11:17:26+00:00</updated>
<author>
<name>Joerg Roedel</name>
<email>joro@8bytes.org</email>
</author>
<published>2012-09-26T10:44:40+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=a6a25dd3270944f3c4182ffcbe0f60482471e849'/>
<id>urn:sha1:a6a25dd3270944f3c4182ffcbe0f60482471e849</id>
<content type='text'>
This pointer is changed to a different function when IRQ
remapping is enabled.

Signed-off-by: Joerg Roedel &lt;joro@8bytes.org&gt;
Acked-by: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
Reviewed-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
<entry>
<title>x86, io_apic: Introduce set_affinity function pointer</title>
<updated>2013-01-28T11:17:26+00:00</updated>
<author>
<name>Joerg Roedel</name>
<email>joro@8bytes.org</email>
</author>
<published>2012-09-26T10:44:39+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=373dd7a27f2469020e7b56744cf47b82986b9749'/>
<id>urn:sha1:373dd7a27f2469020e7b56744cf47b82986b9749</id>
<content type='text'>
With interrupt remapping a special function is used to
change the affinity of an IO-APIC interrupt. Abstract this
with a function pointer.

Signed-off-by: Joerg Roedel &lt;joro@8bytes.org&gt;
Acked-by: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
Reviewed-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
</entry>
</feed>
