Skip to content

irq: move some interrupt arch_* functions into struct irq_chip.

Ian Campbell linux-sh linuxppc-dev lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v11 patch 4 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2irq: move some interrupt arch_* functions into struct irq_chip.arch/powerpc/kernel/irq.c arch/sh/kernel/cpu/irq/ipr.c arch/x86/include/asm/hw_irq.h +10 more+112 -331 reply
2/2x86: irq_desc->chip_data is always correct whether or not SPARSE_IRQ is enabled.arch/x86/kernel/apic/io_apic.c+2 -70 replies

Reviews trailers per patch

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

PatchMichael Ellerman
1/2A-b A-b
2/2

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

Read the v3 thread

Cover letter [GITPULL+PATCH 0/2 v3] irq: move some interrupt arch_* functions into struct irq_chip.

This small series ensures that struct irq_desc->chip_data is available for alternative irq_chip implementations.

Since v2: pass x86_init_chip_data as a argument to irq_to_desc_alloc_node instead of calling in the arch code in order to get correct locking wrt the core code. Small impact on the SH arch code which is the only other user outside x86 and powerpc.

Since v1: dropped the renaming portion of the series since it was basically wrong, the functions I'd implicated as ioapic specific are not at all.

Ian.

The following changes since commit 1ebbdcc83e75697c0d75eb091df172b7d93c84c1:
Ingo Molnar (1):
Merge branch 'perf/urgent'

are available in the git repository at:

git://xenbits.xensource.com/people/ianc/linux-2.6.git for-x86/irq

Ian Campbell (2):
irq: move some interrupt arch_* functions into struct irq_chip.
x86: irq_desc->chip_data is always correct whether or not SPARSE_IRQ is enabled.

 arch/powerpc/kernel/irq.c      |    4 +-
 arch/sh/kernel/cpu/irq/ipr.c   |    2 +-
 arch/x86/include/asm/hw_irq.h  |   11 ++++++-
 arch/x86/kernel/apic/io_apic.c |   67 ++++++++++++++++++++++++++++++++--------
 arch/x86/kernel/uv_irq.c       |    5 +++
 arch/x86/lguest/boot.c         |    2 +-
 drivers/sh/intc.c              |    7 ++--
 drivers/xen/events.c           |    2 +-
 include/linux/interrupt.h      |    2 +-
 include/linux/irq.h            |   16 ++++++---
 kernel/irq/handle.c            |   15 ++++++---
 kernel/irq/numa_migrate.c      |   12 ++++++-
 kernel/softirq.c               |    3 +-
 13 files changed, 111 insertions(+), 37 deletions(-)