Skip to content

Improve IRQ remapping abstraction in x86 core code

Joerg Roedel linux-iommu lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest19 patches 3 repliesIn review

Changes in v4 from the cover letter

* Rebased to v3.7-rc6
* Added Acked-bys
* Fixed problems with AMD IRQ remapping code that came up in testing

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19x86, apic: Move irq_remapping_enabled checks into IRQ-remapping codearch/x86/kernel/apic/apic.c drivers/iommu/irq_remapping.c+12 -80 replies
2/19x86, apic: Mask IO-APIC and PIC unconditionally on LAPIC resumearch/x86/kernel/apic/apic.c+9 -100 replies
3/19x86, io_apic: Introduce x86_io_apic_ops.disable()arch/x86/include/asm/io_apic.h arch/x86/include/asm/x86_init.h arch/x86/kernel/apic/io_apic.c +2 more+61 -310 replies
4/19x86, io_apic: Introduce x86_io_apic_ops.print_entries for debuggingarch/x86/include/asm/io_apic.h arch/x86/include/asm/x86_init.h arch/x86/kernel/apic/io_apic.c +2 more+69 -530 replies
5/19x86, hpet: Introduce x86_msi_ops.setup_hpet_msiarch/x86/include/asm/hpet.h arch/x86/include/asm/x86_init.h arch/x86/kernel/apic/io_apic.c +3 more+14 -140 replies
6/19x86, msi: Use IRQ remapping specific setup_msi_irqs routinearch/x86/include/asm/irq_remapping.h arch/x86/include/asm/pci.h arch/x86/kernel/apic/io_apic.c +1 more+59 -380 replies
7/19x86, io_apic: Introduce set_affinity function pointerarch/x86/include/asm/io_apic.h arch/x86/include/asm/irq_remapping.h arch/x86/include/asm/x86_init.h +3 more+22 -190 replies
8/19x86, io_apic: Convert setup_ioapic_entry to function pointerarch/x86/include/asm/io_apic.h arch/x86/include/asm/x86_init.h arch/x86/kernel/apic/io_apic.c +2 more+17 -90 replies
9/19x86, io_apic: Move irq_remapping_enabled checks out of check_timer()arch/x86/include/asm/irq_remapping.h arch/x86/kernel/apic/io_apic.c drivers/iommu/irq_remapping.c+13 -40 replies
10/19x86, io_apic: Remove irq_remapping_enabled check in setup_timer_IRQ0_pinarch/x86/kernel/apic/io_apic.c+0 -30 replies
11/19x86, irq: Move irq_remapping_enabled declaration to iommu codearch/x86/include/asm/irq_remapping.h drivers/iommu/dmar.c drivers/iommu/intel-iommu.c +1 more+5 -40 replies
12/19x86, irq: Add data structure to keep AMD specific irq remapping informationarch/x86/include/asm/hw_irq.h+11 -10 replies
13/19x86, io-apic: Move CONFIG_IRQ_REMAP code out of x86 corearch/x86/include/asm/hw_irq.h arch/x86/include/asm/io_apic.h arch/x86/include/asm/irq_remapping.h +3 more+53 -430 replies
14/19x86, io-apic: Remove !irq_remapped() check from __target_IO_APIC_irq()arch/x86/kernel/apic/io_apic.c+2 -60 replies
15/19x86, irq: Move irq_remapped() check into free_remapped_irqarch/x86/kernel/apic/io_apic.c drivers/iommu/irq_remapping.c+6 -30 replies
16/19x86, irq: Introduce setup_remapped_irq()arch/x86/include/asm/irq_remapping.h arch/x86/kernel/apic/io_apic.c drivers/iommu/irq_remapping.c+21 -100 replies
17/19x86, msi: Introduce x86_msi.compose_msi_msg call-backarch/x86/include/asm/io_apic.h arch/x86/include/asm/x86_init.h arch/x86/kernel/apic/io_apic.c +2 more+46 -310 replies
18/19x86, io_apic: Introduce eoi_ioapic_pin call-backarch/x86/include/asm/io_apic.h arch/x86/include/asm/x86_init.h arch/x86/kernel/apic/io_apic.c +2 more+25 -140 replies
19/19x86, irq: Move irq_remapped out of x86 core codearch/x86/include/asm/irq_remapping.h drivers/iommu/irq_remapping.c+5 -100 replies

Reviews trailers per patch

All 19 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSebastian Andrzej SiewiorKonrad Rzeszutek Wilk
SeriesR-b
1/19A-b
2/19A-b
3/19A-b
4/19A-b
5/19A-b
6/19A-b
7/19A-b
8/19A-b
9/19A-b
10/19A-b
11/19A-b
12/19A-b
13/19A-b
14/19A-b
15/19A-b
16/19A-b
17/19A-b
18/19A-b
19/19A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH 00/19 v4] Improve IRQ remapping abstraction in x86 core code

Hi,

here is the fourth version of the patch-set to improve the abstraction of interrupt remapping in the x86 core code. A more detailed description can be found in the original post at:

        https://lkml.org/lkml/2012/8/7/317

Changes from v3->v4:

* Rebased to v3.7-rc6
* Added Acked-bys
* Fixed problems with AMD IRQ remapping code that came up in testing

Changes from v2->v3:

* Rebased to v3.6-rc7
* Worked in most comments on v2 by Sebastian Andrzej Siewior

Changes from v1->v2:

* Fixed a couple of compile issues on i386 (reported by Fengguang Wu, thanks a lot)
* Rebased to Linux v3.6-rc2

Please review.

Cheers,

Joerg