lkml.org 
[lkml]   [2012]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/28] AMD IOMMU interrupt remapping support
Date
Hi,

this patch-set adds support for IRQ remapping to the AMD IOMMU driver in
Linux. It works similar to the already present IRQ remapping code for
VT-d. The IOAPIC, HPET and MSI interrupts have a fixed setup to index an
interrupt remapping table entry and the real vector and destination is
only configured in the IRQ remapping table. This means that also the IRQ
affinity is only changed in the IOMMU. The code was heavily
stress-tested on a lot of machines and no known issues are left.

I also pushed this code into a branch of the IOMMU tree:

git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git irq-remapping

Use this branch if you want to test the code yourself.

Any feedback appreciated :)

Thanks,

Joerg

Diffstat:

arch/x86/include/asm/hw_irq.h | 15 +-
arch/x86/include/asm/irq_remapping.h | 2 +
arch/x86/kernel/apic/io_apic.c | 6 +-
drivers/iommu/amd_iommu.c | 507 +++++++++++++++++++++-
drivers/iommu/amd_iommu_init.c | 772 ++++++++++++++++++++++++----------
drivers/iommu/amd_iommu_proto.h | 8 +
drivers/iommu/amd_iommu_types.h | 58 ++-
drivers/iommu/intel_irq_remapping.c | 8 +-
drivers/iommu/irq_remapping.c | 6 +
drivers/iommu/irq_remapping.h | 5 +
10 files changed, 1151 insertions(+), 236 deletions(-)




\
 
 \ /
  Last update: 2012-07-05 15:41    [W:0.346 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site