Skip to content

x86_64 irq related fixes and cleanups.

Eric W. Biederman lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14x86_64 irq: Simplfy __assign_irq_vectorarch/x86_64/kernel/io_apic.c+5 -80 replies
2/14irq: Remove set_native_irq_infoarch/i386/kernel/io_apic.c arch/ia64/kernel/msi_ia64.c arch/ia64/sn/kernel/msi_sn.c +2 more+12 -230 replies
3/14x86_64 irq: Kill declaration of removed array, interruptarch/x86_64/kernel/io_apic.c+0 -20 replies
4/14x86_64 irq: Remove the unused vector parameter from ioapic_register_intrarch/x86_64/kernel/io_apic.c+3 -30 replies
5/14x86_64 irq: Refactor setup_IO_APIC_irqarch/x86_64/kernel/io_apic.c+34 -920 replies
6/14x86_64 irq: Simplfiy the set_affinity logic.arch/x86_64/kernel/io_apic.c+3 -90 replies
7/14x86_64 irq: In __DO_ACTION perform the FINAL action for every entry.arch/x86_64/kernel/io_apic.c+1 -10 replies
8/14x86_64 irq: Use NR_IRQS not NR_IRQ_VECTORSarch/x86_64/kernel/io_apic.c+5 -50 replies
9/14x86_64 irq: Begin consolidating per_irq data in structures.arch/x86_64/kernel/io_apic.c+50 -610 replies
10/14x86_64 irq: Simplify assign_irq_vector's arguments.arch/x86_64/kernel/io_apic.c+56 -530 replies
11/14x86_64 irq: Remove unnecessary irq 0 setup.arch/x86_64/kernel/i8259.c+0 -60 replies
12/14x86_64 irq: Add constants for the reserved IRQ vectors.arch/x86_64/kernel/i8259.c arch/x86_64/kernel/io_apic.c include/asm-x86_64/hw_irq.h+53 -375 replies
13/14x86_64 irq: Safely cleanup an irq after moving it.arch/x86_64/kernel/entry.S arch/x86_64/kernel/i8259.c arch/x86_64/kernel/io_apic.c +1 more+88 -82 replies
14/14genirq: Mask irqs when migrating them.kernel/irq/migration.c+4 -54 replies

Reviews trailers per patch

1 of 14 patches has a Reviewed-by or Acked-by.

PatchSuresh Siddha
1/14
2/14
3/14
4/14
5/14
6/14
7/14
8/14
9/14
10/14
11/14
12/14
13/14
14/14A-b

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

Read the v1 thread

Cover letter [PATCH 0/14] x86_64 irq related fixes and cleanups.

My recent ioapic investigation has been painful and has taken me all over the place. One of my conclusions is that our code for dealing with ioapics on i386 and x86_64 is a mess that has been growing for years.

I saw tremendous amounts of fodder for cleanup patches. Ugh.

When deciding how much to include in the patchset for addressing the irq migrations problems that have cropped up in the x86_64 code I really wanted to keep the patchset small and minimal. But I needed to make some substantial changes so I would have a low priority IPI I could use for ensuring irq migration was complete. When trying to throw out patches I kept finding things that were either bug fixes or relevant cleanups to the problem I was addressing.

So this patchset is bigger than I would for addressing the issue irq migration issue but there is nothing that isn't a simple cleanup or isn't a real bug fix. So I think we need it all one way or another.

I have lost track of who has what in which tree or who it makes sense to send this to. So this patchset is against Linus's latest git tree. And hopefully we can include this in 2.6.21.

Eric