Skip to contentSkip to conversation

x86 updates for v2.6.28, phase #9, sparse IRQ support

GIT PULL Ingo Molnar 3 participants 9 messages Oct 10, 2008

Subsystems (27)
Network drivers x86 SCSI ACPI +23 more subsystems
lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest x86-v28-for-linus-phase9 git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git x86-v28-for-linus-phase9

Sparse IRQ support - make NR_IRQS dynamic by turning it into nr_irqs, an by creating irq descriptors in a sparse way.

Includes a number of dependent x86 topics: timers/hpet-percpu, IO-APIC and local APIC code unification, UV support updates.

Has been cross-built on all architectures we could get crosscompilers for:

http://www.tglx.de/autoqa/index

It should be largely uneventful for sparse-irq unaware, non-x86 architectures.

out-of-topic modifications in x86-v28-for-linus-phase9:
-------------------------------------------------------
arch/Kconfig # f9fd45f: x86: make HAVE_SPARSE_IRQ support
# f2f61d1: generic: sparse irqs: use irq_des # f4e4080: x86: enable dyn_array support
arch/ia64/kernel/acpi.c # eada62c: acpi/x86: introduce __apci_map_ta
arch/m68k/kernel/ints.c # 3af7043: sparseirq: export nr_irqs on m68k

                                   # 9e89c54: irq: introduce nr_irqs
arch/s390/kernel/irq.c             # 3af7043: sparseirq: export nr_irqs on m68k
                                   # 9e89c54: irq: introduce nr_irqs
arch/sparc/kernel/irq.c            # 3af7043: sparseirq: export nr_irqs on m68k
                                   # 9e89c54: irq: introduce nr_irqs
drivers/acpi/osl.c                 # eada62c: acpi/x86: introduce __apci_map_ta
drivers/acpi/tables.c              # eada62c: acpi/x86: introduce __apci_map_ta
drivers/acpi/tables/tbxface.c      # eada62c: acpi/x86: introduce __apci_map_ta
drivers/char/hpet.c                # efe5f1f: drivers/char: use nr_irqs
drivers/char/random.c              # 0f8348b: x86: put timer_rand_state pointer
                                   # 7d95b2f: irqs: make irq_timer_state to use
                                   # efe5f1f: drivers/char: use nr_irqs
drivers/char/vr41xx_giu.c          # efe5f1f: drivers/char: use nr_irqs
drivers/gpio/gpiolib.c             # f2f61d1: generic: sparse irqs: use irq_des
drivers/mfd/asic3.c                # f2f61d1: generic: sparse irqs: use irq_des
drivers/mfd/htc-egpio.c            # f2f61d1: generic: sparse irqs: use irq_des
drivers/net/3c59x.c                # 11eb183: drivers/net: use nr_irqs
drivers/net/hamradio/baycom_ser_fdx.c# 11eb183: drivers/net: use nr_irqs
drivers/net/hamradio/scc.c         # 11eb183: drivers/net: use nr_irqs
drivers/net/wan/sbni.c             # 11eb183: drivers/net: use nr_irqs
drivers/parisc/dino.c              # f2f61d1: generic: sparse irqs: use irq_des
drivers/parisc/eisa.c              # f2f61d1: generic: sparse irqs: use irq_des
drivers/parisc/gsc.c               # f2f61d1: generic: sparse irqs: use irq_des
drivers/parisc/iosapic.c           # f2f61d1: generic: sparse irqs: use irq_des
drivers/parisc/superio.c           # f2f61d1: generic: sparse irqs: use irq_des
drivers/pci/dmar.c                 # 6a6ea11: x86/pci: fix dmar_tbl early_iorem

# 0f48966: dmar: fix dmar_parse_dev() device # 2283240: dmar: use list_for_each_entry_saf # 3f1fdb3: dmar: initialize the return value # f12c73e: dmar: fix using early fixmap mapp
drivers/pci/htirq.c # fac1ddf: irq: error missed ifndef CONFIG_H
# daa86c2: irq: error missed ifndef CONFIG_H # 393b543: x86: use 28 bits irq NR for pci m
drivers/pci/intr_remapping.c # 52f0dd2: sparseirq: fix intr-remap with dy
# 0cd4568: x86: put irq_2_iommu pointer into # 7dd5896: irq: make irq2_iommu to use dyn_a # 09baa17: drivers/pci/ intr remapping: use

drivers/pcmcia/at91_cf.c           # 32d730e: drivers/pcmcia: use nr_irqs
drivers/pcmcia/hd64465_ss.c        # f2f61d1: generic: sparse irqs: use irq_des
drivers/pcmcia/vrc4171_card.c      # 32d730e: drivers/pcmcia: use nr_irqs
drivers/rtc/rtc-vr41xx.c           # 437dff2: drivers/rtc: use nr_irqs
drivers/scsi/aha152x.c             # 400163a: drivers/scsi: use nr_irqs
drivers/scsi/qla2xxx/qla_def.h     # 9e40236: pci: change msi-x vector to 32bit
drivers/serial/68328serial.c       # d1c1152: serial, 8250: remove NR_IRQ usage
drivers/serial/8250.c              # 06d4e48: drivers/serial: use nr_irqs
                                   # d1c1152: serial, 8250: remove NR_IRQ usage
drivers/serial/amba-pl010.c        # 06d4e48: drivers/serial: use nr_irqs
drivers/serial/amba-pl011.c        # 06d4e48: drivers/serial: use nr_irqs
drivers/serial/cpm_uart/cpm_uart_core.c# 06d4e48: drivers/serial: use nr_irqs
drivers/serial/m32r_sio.c          # 06d4e48: drivers/serial: use nr_irqs
drivers/serial/serial_core.c       # 06d4e48: drivers/serial: use nr_irqs
drivers/serial/serial_lh7a40x.c    # 06d4e48: drivers/serial: use nr_irqs
drivers/serial/sh-sci.c            # 06d4e48: drivers/serial: use nr_irqs
drivers/serial/ucc_uart.c          # 06d4e48: drivers/serial: use nr_irqs
fs/proc/proc_misc.c                # 393b543: x86: use 28 bits irq NR for pci m
                                   # 9ac68c3: x86_64: make /proc/interrupts wor
                                   # 40643ff: irq, fs/proc: replace loop with n
                                   # fb6dc57: x86: move kstat_irqs from kstat t
                                   # eb2befe: fs/proc: use nr_irqs
include/acpi/acpiosxf.h            # eada62c: acpi/x86: introduce __apci_map_ta
include/acpi/acpixf.h              # eada62c: acpi/x86: introduce __apci_map_ta
include/asm-generic/vmlinux.lds.h  # 28c00bc: add per_cpu_dyn_array support
                                   # 565a0e8: generic: add dyn_array support
include/linux/acpi.h               # eada62c: acpi/x86: introduce __apci_map_ta
include/linux/dmar.h               # f12c73e: dmar: fix using early fixmap mapp
include/linux/init.h               # dac5f10: x86: alloc dyn_array all together
                                   # 28c00bc: add per_cpu_dyn_array support
                                   # 565a0e8: generic: add dyn_array support
include/linux/interrupt.h          # 40643ff: irq, fs/proc: replace loop with n
                                   # 9e89c54: irq: introduce nr_irqs

include/linux/irq.h # 310e8db: sparseirq: move kstat_irqs from k
# b07e51e: x86: remove irqbalance in kernel # 393b543: x86: use 28 bits irq NR for pci m # 0cd4568: x86: put irq_2_iommu pointer into # 93dce19: irq: separate sparse_irqs from sp # 847f106: x86_64: rename irq_desc/irq_desc_ # 8d1d05e: generic: add irq_desc in function # 7329b0c: irq: replace loop with nr_irqs wi # 7ef7c43: irq: add irq_desc_without_new # fb6dc57: x86: move kstat_irqs from kstat t # 0f8348b: x86: put timer_rand_state pointer # f2f61d1: generic: sparse irqs: use irq_des # 78c82c3: irq: make irq_desc to use dyn_arr # 8d00a6c: genirq: remove last NO_IDLE_HZ le
include/linux/kernel_stat.h # 310e8db: sparseirq: move kstat_irqs from k
# fb6dc57: x86: move kstat_irqs from kstat t # f909491: irq: make irqs in kernel stat use

include/linux/pci.h                # 9e40236: pci: change msi-x vector to 32bit
init/Makefile                      # 35aa85d: dyn_array: split dyn_array functi
init/dyn_array.c                   # a7616e5: dyn_array: use %pF instead of pri

# 0bfd4d1: dyn_array: remove one panic # 00be105: dyn_array: fix typo # 28de6b7: dyn_array: don't break compiling # 35aa85d: dyn_array: split dyn_array functi
kernel/irq/autoprobe.c # ff2973b: irq: sparse irqs, fix IRQ auto-pr
# f2f61d1: generic: sparse irqs: use irq_des # 9e89c54: irq: introduce nr_irqs
kernel/irq/chip.c # dcec2cc: irq: set_irq_chip() has redundant
# 310e8db: sparseirq: move kstat_irqs from k # 847f106: x86_64: rename irq_desc/irq_desc_ # 1928d43: irq: remove >= nr_irqs checking w # fb6dc57: x86: move kstat_irqs from kstat t # f2f61d1: generic: sparse irqs: use irq_des # 9e89c54: irq: introduce nr_irqs
kernel/irq/handle.c # bcb7176: x86: fix typo in irq_desc array
# 14a929b: fix warning: "x86: sparse_irq nee # 2806dc4: sparseirq: remove some debug prin # 310e8db: sparseirq: move kstat_irqs from k # a532e19: x86: sparse_irq needs spin_lock i # 95e9fdf: sparseirq: fix lockdep # 93dce19: irq: separate sparse_irqs from sp # 847f106: x86_64: rename irq_desc/irq_desc_ # 8d1d05e: generic: add irq_desc in function # 7ef7c43: irq: add irq_desc_without_new # fb6dc57: x86: move kstat_irqs from kstat t # f2f61d1: generic: sparse irqs: use irq_des # 414ec26: irq: sparse irqs, export nr_irqs # 78c82c3: irq: make irq_desc to use dyn_arr # 9e89c54: irq: introduce nr_irqs # 8d00a6c: genirq: remove last NO_IDLE_HZ le
kernel/irq/internals.h # 7329b0c: irq: replace loop with nr_irqs wi
kernel/irq/manage.c # eefc5bb: x86: HPET_MSI change IRQ affinity
# b07e51e: x86: remove irqbalance in kernel # 847f106: x86_64: rename irq_desc/irq_desc_ # 1928d43: irq: remove >= nr_irqs checking w # 7329b0c: irq: replace loop with nr_irqs wi # f2f61d1: generic: sparse irqs: use irq_des # 9e89c54: irq: introduce nr_irqs
kernel/irq/migration.c # f2f61d1: generic: sparse irqs: use irq_des
kernel/irq/proc.c # 7329b0c: irq: replace loop with nr_irqs wi
# f2f61d1: generic: sparse irqs: use irq_des # 9e89c54: irq: introduce nr_irqs
kernel/irq/resend.c # f2f61d1: generic: sparse irqs: use irq_des

                                   # 9e89c54: irq: introduce nr_irqs

kernel/irq/spurious.c # bbd243a: irq: fix irqpoll && sparseirq
# f2f61d1: generic: sparse irqs: use irq_des # 9e89c54: irq: introduce nr_irqs # f84dbb9: genirq: enable polling for disabl

Thanks,

Ingo

------------------>
Alan Cox (1):
serial, 8250: remove NR_IRQ usage

Alex Nixon (2):
xen: fix memory access violation bug when CONFIG_HAVE_SPARSE_IRQ is enabled
xen: Fix bug `do_IRQ: cannot handle IRQ -1 vector 0x6 cpu 1'

Alok Kataria (1):
x86: VMI, initialize IRQ vector

Andrew Morton (1):
fix warning: "x86: sparse_irq needs spin_lock in allocations"

Cyrill Gorcunov (19):
x86: apic_64.c - setup_APIC_timer has to be __cpuinit function
x86: apic - introduce get_physical_broadcast for 64bit
x86: apic - unify setup_apicpmtimer
x86: apic_64.c - add sanity check for spurious vector definition
x86: apic - unify setup_local_APIC
x86: apic_32.c should use __cpuinit section
x86: apic - unify smp_apic_timer_interrupt
x86: apic - unify smp_spurious/error_interrupt declaration
x86: io-apic - use ARRAY_SIZE macro
x86: io-apic - declare irq_cfg_lock for SPARSE_IRQ only
x86: io-apic - code style cleaning for setup_IO_APIC_irqs
x86: io-apic - do not use KERN_DEBUG marker too much
x86: io-apic - get rid of __DO_ACTION macro
x86: apic - lapic_setup_esr does not handle esr_disable - fix it
x86: apic - skip writting ESR register if we dont have on
x86: apic - fix unused vars warning in calibrate_APIC_clock
x86: io-apic - do not use KERN_DEBUG marker too much, fix
x86: io-apic - interrupt remapping fix
x86: io-apic - interrupt remapping fix

Dean Nelson (3):
irq: error missed ifndef CONFIG_HAVE_SPARSE_IRQ
irq: set_irq_chip() has redundant call to irq_to_desc() x86, UV: add uv_setup_irq() and uv_teardown_irq() functions, v3

Eric W. Biederman (1):
genirq: enable polling for disabled screaming irqs

H. Peter Anvin (1):
dyn_array: don't break compiling for !CONFIG_SMP

Ingo Molnar (10):
irq: sparse irqs, export nr_irqs
irq: sparse irqs, fix #3
irq: sparse irqs, fix IRQ auto-probe crash
sparseirq: fix lockdep
x86: make io_apic_32.c the same as io_apic_64.c
warning: fix arch x86 kernel io_apic c
sparseirq: export nr_irqs on m68k/sparc/s390
x86: HPET_MSI Basic HPET_MSI setup code, cleanups
x86, UV: add uv_setup_irq() and uv_teardown_irq() functions, v3, fix Revert "pci: fix BAR print out"

Jack Steiner (3):
x86, uv: fix ordering of calls to uv_system_init & uv_cpu_init x86, uv: add early detection of UV system types x86, uv: fix for size of hub mappings

Russ Anderson (5):
sysfs, x86, uv: Document files in /sys/firmware/sgi_uv/
x86: Add UV EFI table entry v4
x86: Add UV bios call infrastructure v4
x86: Add UV partition call v4
x86: Add sysfs entries for UV v4

Steven Noonan (1):
x86: fix HPET compiler error when not using CONFIG_PCI_MSI

Suresh Siddha (3):
sparseirq: fix intr-remap with dyn_array/nr_irqs changes]
dmar: use list_for_each_entry_safe() in dmar_dev_scope_init()
dmar: fix dmar_parse_dev() devices_cnt error condition check

Thomas Gleixner (1):
genirq: remove last NO_IDLE_HZ leftovers

Venki Pallipadi (2):
x86: using HPET in MSI mode and setting up per CPU HPET timers, fix
hpet: clean up warning

Yinghai Lu (102):
x86: add after_bootmem flag for 32bit
x86: remove irq_vectors_limits
generic: add dyn_array support
add per_cpu_dyn_array support
x86: alloc dyn_array all together
x86: enable dyn_array support
irq: introduce nr_irqs
x86: use nr_irqs
drivers/char: use nr_irqs
drivers/net: use nr_irqs
drivers/pci/ intr remapping: use nr_irqs
drivers/pcmcia: use nr_irqs
drivers/rtc: use nr_irqs
drivers/scsi: use nr_irqs
drivers/serial: use nr_irqs
fs/proc: use nr_irqs
drivers/xen: use nr_irqs
irqs: make irq_timer_state to use dyn_array
irq: make irq2_iommu to use dyn_array
irq: make irq_desc to use dyn_array
irq: make irqs in kernel stat use per_cpu_dyn_array
x86: use dyn_array in io_apic_xx.c
x86, irq: get nr_irqs from madt
x86: remove nr_irq_vectors
generic: sparse irqs: use irq_desc() together with dyn_array, instead of irq_desc[]
x86: add irq_cfg in io_apic_64.c
x86: put irq_2_pin pointer into irq_cfg
x86: put timer_rand_state pointer into irq_desc
x86: move kstat_irqs from kstat to irq_desc
irq: add irq_desc_without_new
irq: replace loop with nr_irqs with for_each_irq_desc
irq, fs/proc: replace loop with nr_irqs for proc/stat
x86, ioapic: replace loop with nr_irqs with for_each_irq_icfg
irq: remove >= nr_irqs checking with config_have_sparse_irq
generic: add irq_desc in function in parameter
x86: check with without_new in show_interrupts
x86_64: rename irq_desc/irq_desc_alloc
irq: separate sparse_irqs from sparse_irqs_free
x86_64: separate irq_cfgx from irq_cfgx_free
x86_64: make /proc/interrupts work with dyn irq_desc
x86: put irq_2_iommu pointer into irq_desc
x86: use 28 bits irq NR for pci msi/msix and ht
x86: remove irqbalance in kernel for 32 bit
x86: add irq_cfg for 32bit
x86: make 32bit use irq_cfg_alloc, etc
x86: make 32bit to use irq_2_pin in irq_cfg
x86: make 32 bit to use sparse_irq
x86: make 32bit support per_cpu vector
x86: add debug info for 32bit sparse_irq
x86, io-apic: remove union about dest for log/phy
x86: ordering functions in io_apic_32.c
x86: ordering functions in io_apic_64.c
x86: order variables in io_apic_xx.c
x86: make headers files the same in io_apic_xx.c
x86: make 64 handle sis_apic_bug like the 32 bit
x86: remove ioapic_force
x86: make io_apic_64.c and io_apic_32.c the same
rename io_apic_64.c and io_apic_32.c to io_apic.c
io_apic: make 32 bit have io_apic resource in /proc/iomem
pci: change msi-x vector to 32bit
x86: irq: interrupt array size should be NR_VECTORS
x86: unify mask_IO_APIC_irq
x86: unify ack_apic_edge
x86: remove first_free_entry/pin_map_size
x86: print local APIC of APs one by one
x86: make HAVE_SPARSE_IRQ support selectable
x86: probe nr_irqs even only mptable is used
dyn_array: split dyn_array functions from init/main.c
x86: sparse_irq needs spin_lock in allocations
x86: fix 32-bit ioapic lockup with sparseirqs
x86: fix probe_nr_irqs for xen
x86: apic_xx.c order variables
x86: use HAVE_X2APIC in apic_64.c
x86: add hard_smp_prossor_id with MACRO in io_apic_xx.c
x86: make apic_32/64.c more like
x86: merge APIC_init_uniprocessor
x86: copy detect_init_APIC to the other
x86: merge header files in apic_xx.c
x86: apic unify smp_spurious/error_interrupt
x86: apic copy calibrate_APIC_clock to each other in apic_32/64.c
x86: apic copy apic_64.c to apic_32.c
x86: rename apic_32.c and apic_64.c to apic.c
x86: let 64 bit to use 32 bit calibrate_apic_clock
sparseirq: move kstat_irqs from kstat to irq_desc - fix
x2apic: fix reserved APIC register accesses in print_local_APIC()
dmar: fix using early fixmap mapping for DMAR table parsing
dmar: initialize the return value in dmar_parse_dev()
x86: print out if acpi want physical flat of all
dyn_array: fix typo
pci: fix BAR print out
irq: error missed ifndef CONFIG_HAVE_SPARSE_IRQ, v2
dyn_array: remove one panic
x86: lapic address print out like io apic addr
x86: print out apic id in hex format
dyn_array: use %pF instead of print_fn_descriptor_symbol
irq: fix irqpoll && sparseirq
sparseirq: remove some debug print out
x86/pci: fix dmar_tbl early_ioremap leak v2
x86: fix typo in irq_desc array
x86: irq no should not use hex in /proc/interrupts
x86: print out irq nr for msi/ht, v3
acpi/x86: introduce __apci_map_table, v4

[email protected] (4):
x86: HPET_MSI change IRQ affinity in process context when it is disabled
x86: HPET_MSI Refactor code in preparation for HPET_MSI
x86: HPET_MSI Basic HPET_MSI setup code
x86: HPET_MSI Initialise per-cpu HPET timers

 arch/Kconfig                                      |    3 +
 arch/ia64/kernel/acpi.c                           |    4 +
 arch/m68k/kernel/ints.c                           |    3 +
 arch/s390/kernel/irq.c                            |    3 +
 arch/sparc/kernel/irq.c                           |    4 +
 arch/x86/Kconfig                                  |   20 +-
 arch/x86/configs/i386_defconfig                   |    1 -
 arch/x86/kernel/Makefile                          |    6 +-
 arch/x86/kernel/acpi/boot.c                       |   20 +-
 arch/x86/kernel/{apic_32.c => apic.c}             |  619 ++++-
 arch/x86/kernel/apic_64.c                         | 1848 -------------
 arch/x86/kernel/bios_uv.c                         |  137 +-
 arch/x86/kernel/cpu/amd.c                         |    2 +-
 arch/x86/kernel/cpu/intel.c                       |    2 +-
 arch/x86/kernel/early-quirks.c                    |    4 +-
 arch/x86/kernel/efi.c                             |    4 +
 arch/x86/kernel/entry_32.S                        |    2 +-
 arch/x86/kernel/genapic_flat_64.c                 |    4 +-
 arch/x86/kernel/genx2apic_uv_x.c                  |   62 +-
 arch/x86/kernel/hpet.c                            |  453 +++-
 arch/x86/kernel/{io_apic_64.c => io_apic.c}       | 1689 ++++++++++---
 arch/x86/kernel/io_apic_32.c                      | 2908 ---------------------
 arch/x86/kernel/irq_32.c                          |   71 +-
 arch/x86/kernel/irq_64.c                          |   74 +-
 arch/x86/kernel/irqinit_32.c                      |   48 +-
 arch/x86/kernel/irqinit_64.c                      |   28 +-
 arch/x86/kernel/quirks.c                          |    3 -
 arch/x86/kernel/setup.c                           |    6 +
 arch/x86/kernel/setup_percpu.c                    |   19 +-
 arch/x86/kernel/smpboot.c                         |    6 +-
 arch/x86/kernel/uv_irq.c                          |   79 +
 arch/x86/kernel/uv_sysfs.c                        |   72 +
 arch/x86/kernel/visws_quirks.c                    |   32 +-
 arch/x86/kernel/vmiclock_32.c                     |    3 +
 arch/x86/kernel/vmlinux_32.lds.S                  |    1 +
 arch/x86/kernel/vmlinux_64.lds.S                  |    3 +
 arch/x86/lguest/boot.c                            |    2 +-
 arch/x86/mach-generic/bigsmp.c                    |    4 +
 arch/x86/mach-generic/es7000.c                    |   14 +
 arch/x86/mach-generic/numaq.c                     |   14 +
 arch/x86/mach-generic/summit.c                    |   14 +
 arch/x86/mach-voyager/voyager_smp.c               |    4 +-
 arch/x86/mm/init_32.c                             |    3 +
 arch/x86/mm/srat_64.c                             |    2 +-
 arch/x86/xen/irq.c                                |    2 -
 arch/x86/xen/spinlock.c                           |    2 +-
 drivers/acpi/osl.c                                |   11 +-
 drivers/acpi/tables.c                             |   20 +-
 drivers/acpi/tables/tbxface.c                     |   17 +-
 drivers/char/hpet.c                               |    2 +-
 drivers/char/random.c                             |   72 +-
 drivers/char/vr41xx_giu.c                         |    2 +-
 drivers/gpio/gpiolib.c                            |    2 +-
 drivers/mfd/asic3.c                               |    4 +-
 drivers/mfd/htc-egpio.c                           |    2 +-
 drivers/net/3c59x.c                               |    4 +-
 drivers/net/hamradio/baycom_ser_fdx.c             |    4 +-
 drivers/net/hamradio/scc.c                        |    6 +-
 drivers/net/wan/sbni.c                            |    2 +-
 drivers/parisc/dino.c                             |    6 +-
 drivers/parisc/eisa.c                             |    4 +-
 drivers/parisc/gsc.c                              |   12 +-
 drivers/parisc/iosapic.c                          |    4 +-
 drivers/parisc/superio.c                          |    4 +-
 drivers/pci/dmar.c                                |   66 +-
 drivers/pci/htirq.c                               |   20 +-
 drivers/pci/intr_remapping.c                      |  221 ++-
 drivers/pcmcia/at91_cf.c                          |    2 +-
 drivers/pcmcia/hd64465_ss.c                       |   12 +-
 drivers/pcmcia/vrc4171_card.c                     |    2 +-
 drivers/rtc/rtc-vr41xx.c                          |    4 +-
 drivers/scsi/aha152x.c                            |    2 +-
 drivers/scsi/qla2xxx/qla_def.h                    |    2 +-
 drivers/serial/68328serial.c                      |   11 +-
 drivers/serial/8250.c                             |   69 +-
 drivers/serial/amba-pl010.c                       |    2 +-
 drivers/serial/amba-pl011.c                       |    2 +-
 drivers/serial/cpm_uart/cpm_uart_core.c           |    2 +-
 drivers/serial/m32r_sio.c                         |    4 +-
 drivers/serial/serial_core.c                      |    2 +-
 drivers/serial/serial_lh7a40x.c                   |    2 +-
 drivers/serial/sh-sci.c                           |    2 +-
 drivers/serial/ucc_uart.c                         |    2 +-
 drivers/xen/events.c                              |   20 +-
 fs/proc/proc_misc.c                               |   72 +-
 include/acpi/acpiosxf.h                           |    1 +
 include/acpi/acpixf.h                             |    4 +
 include/asm-generic/vmlinux.lds.h                 |   13 +
 include/asm-x86/apic.h                            |   16 +-
 include/asm-x86/bigsmp/apic.h                     |   15 +-
 include/asm-x86/efi.h                             |   13 +
 include/asm-x86/es7000/apic.h                     |    3 +-
 include/asm-x86/genapic_32.h                      |    2 +
 include/asm-x86/hpet.h                            |   21 +
 include/asm-x86/hw_irq.h                          |   13 +-
 include/asm-x86/io_apic.h                         |   24 +-
 include/asm-x86/irq_vectors.h                     |   24 +-
 include/asm-x86/mach-default/entry_arch.h         |    1 +
 include/asm-x86/mach-default/mach_apic.h          |   15 +-
 include/asm-x86/mach-generic/irq_vectors_limits.h |   14 -
 include/asm-x86/mach-generic/mach_apic.h          |    1 +
 include/asm-x86/numaq/apic.h                      |    2 -
 include/asm-x86/summit/apic.h                     |    1 -
 include/asm-x86/summit/irq_vectors_limits.h       |   14 -
 include/asm-x86/uv/bios.h                         |   94 +-
 include/asm-x86/uv/uv_irq.h                       |   36 +
 include/linux/acpi.h                              |    1 +
 include/linux/dmar.h                              |    1 -
 include/linux/efi.h                               |    4 +
 include/linux/init.h                              |   44 +
 include/linux/interrupt.h                         |    7 +
 include/linux/irq.h                               |   89 +-
 include/linux/kernel_stat.h                       |   26 +-
 include/linux/pci.h                               |    2 +-
 init/Makefile                                     |    2 +-
 init/dyn_array.c                                  |  120 +
 init/main.c                                       |   11 +-
 kernel/irq/autoprobe.c                            |   30 +-
 kernel/irq/chip.c                                 |   99 +-
 kernel/irq/handle.c                               |  253 ++-
 kernel/irq/internals.h                            |    4 +-
 kernel/irq/manage.c                               |   68 +-
 kernel/irq/migration.c                            |   14 +-
 kernel/irq/proc.c                                 |   44 +-
 kernel/irq/resend.c                               |    6 +-
 kernel/irq/spurious.c                             |  154 +-
 126 files changed, 4423 insertions(+), 5886 deletions(-)
 rename arch/x86/kernel/{apic_32.c => apic.c} (79%)
 delete mode 100644 arch/x86/kernel/apic_64.c
 rename arch/x86/kernel/{io_apic_64.c => io_apic.c} (65%)
 delete mode 100644 arch/x86/kernel/io_apic_32.c
 create mode 100644 arch/x86/kernel/uv_irq.c
 create mode 100644 arch/x86/kernel/uv_sysfs.c
 delete mode 100644 include/asm-x86/mach-generic/irq_vectors_limits.h
 delete mode 100644 include/asm-x86/summit/irq_vectors_limits.h
 create mode 100644 include/asm-x86/uv/uv_irq.h
 create mode 100644 init/dyn_array.c
#1 lore raw
Quoted 10 lines · Ingo Molnar

Linus,

Please pull the latest x86-v28-for-linus-phase9 git tree from:

Sparse IRQ support - make NR_IRQS dynamic by turning it into nr_irqs, an by creating irq descriptors in a sparse way.

Includes a number of dependent x86 topics: timers/hpet-percpu, IO-APIC and local APIC code unification, UV support updates.

Quoted 7 lines

Has been cross-built on all architectures we could get crosscompilers for:

http://www.tglx.de/autoqa/index

It should be largely uneventful for sparse-irq unaware, non-x86 architectures.

please find updated pull request below. Relative to phase-N-1. Updates from today in this class of topics:

b570868: x86: apic - unify APIC_DIVISOR

And i removed:

eada62c: acpi/x86: introduce __apci_map_table, v4

[ Cc:-ed Yinghai for that - we can live without that patch (i.e. we at
most get a leak warning) and can have that via acpi.git, correct? ]

Ingo

--------------------->
Linus,

Please pull the latest x86-v28-for-linus-phase9-B git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git x86-v28-for-linus-phase9-B

out-of-topic modifications in x86-v28-for-linus-phase9-B:
---------------------------------------------------------
arch/Kconfig # f9fd45f: x86: make HAVE_SPARSE_IRQ support
# f2f61d1: generic: sparse irqs: use irq_des # f4e4080: x86: enable dyn_array support
arch/m68k/kernel/ints.c # 3af7043: sparseirq: export nr_irqs on m68k

                                   # 9e89c54: irq: introduce nr_irqs
arch/s390/kernel/irq.c             # 3af7043: sparseirq: export nr_irqs on m68k
                                   # 9e89c54: irq: introduce nr_irqs
arch/sparc/kernel/irq.c            # 3af7043: sparseirq: export nr_irqs on m68k
                                   # 9e89c54: irq: introduce nr_irqs

drivers/char/hpet.c # efe5f1f: drivers/char: use nr_irqs
drivers/char/random.c # 0f8348b: x86: put timer_rand_state pointer
# 7d95b2f: irqs: make irq_timer_state to use # efe5f1f: drivers/char: use nr_irqs

drivers/char/vr41xx_giu.c          # efe5f1f: drivers/char: use nr_irqs
drivers/gpio/gpiolib.c             # f2f61d1: generic: sparse irqs: use irq_des
drivers/mfd/asic3.c                # f2f61d1: generic: sparse irqs: use irq_des
drivers/mfd/htc-egpio.c            # f2f61d1: generic: sparse irqs: use irq_des
drivers/net/3c59x.c                # 11eb183: drivers/net: use nr_irqs
drivers/net/hamradio/baycom_ser_fdx.c# 11eb183: drivers/net: use nr_irqs
drivers/net/hamradio/scc.c         # 11eb183: drivers/net: use nr_irqs
drivers/net/wan/sbni.c             # 11eb183: drivers/net: use nr_irqs
drivers/parisc/dino.c              # f2f61d1: generic: sparse irqs: use irq_des
drivers/parisc/eisa.c              # f2f61d1: generic: sparse irqs: use irq_des
drivers/parisc/gsc.c               # f2f61d1: generic: sparse irqs: use irq_des
drivers/parisc/iosapic.c           # f2f61d1: generic: sparse irqs: use irq_des
drivers/parisc/superio.c           # f2f61d1: generic: sparse irqs: use irq_des
drivers/pci/dmar.c                 # 6a6ea11: x86/pci: fix dmar_tbl early_iorem

# 0f48966: dmar: fix dmar_parse_dev() device # 2283240: dmar: use list_for_each_entry_saf # 3f1fdb3: dmar: initialize the return value # f12c73e: dmar: fix using early fixmap mapp
drivers/pci/htirq.c # fac1ddf: irq: error missed ifndef CONFIG_H
# daa86c2: irq: error missed ifndef CONFIG_H # 393b543: x86: use 28 bits irq NR for pci m
drivers/pci/intr_remapping.c # 52f0dd2: sparseirq: fix intr-remap with dy
# 0cd4568: x86: put irq_2_iommu pointer into # 7dd5896: irq: make irq2_iommu to use dyn_a # 09baa17: drivers/pci/ intr remapping: use

drivers/pcmcia/at91_cf.c           # 32d730e: drivers/pcmcia: use nr_irqs
drivers/pcmcia/hd64465_ss.c        # f2f61d1: generic: sparse irqs: use irq_des
drivers/pcmcia/vrc4171_card.c      # 32d730e: drivers/pcmcia: use nr_irqs
drivers/rtc/rtc-vr41xx.c           # 437dff2: drivers/rtc: use nr_irqs
drivers/scsi/aha152x.c             # 400163a: drivers/scsi: use nr_irqs
drivers/scsi/qla2xxx/qla_def.h     # 9e40236: pci: change msi-x vector to 32bit
drivers/serial/68328serial.c       # d1c1152: serial, 8250: remove NR_IRQ usage
drivers/serial/8250.c              # 06d4e48: drivers/serial: use nr_irqs
                                   # d1c1152: serial, 8250: remove NR_IRQ usage
drivers/serial/amba-pl010.c        # 06d4e48: drivers/serial: use nr_irqs
drivers/serial/amba-pl011.c        # 06d4e48: drivers/serial: use nr_irqs
drivers/serial/cpm_uart/cpm_uart_core.c# 06d4e48: drivers/serial: use nr_irqs
drivers/serial/m32r_sio.c          # 06d4e48: drivers/serial: use nr_irqs
drivers/serial/serial_core.c       # 06d4e48: drivers/serial: use nr_irqs
drivers/serial/serial_lh7a40x.c    # 06d4e48: drivers/serial: use nr_irqs
drivers/serial/sh-sci.c            # 06d4e48: drivers/serial: use nr_irqs
drivers/serial/ucc_uart.c          # 06d4e48: drivers/serial: use nr_irqs
fs/proc/proc_misc.c                # 393b543: x86: use 28 bits irq NR for pci m

# 9ac68c3: x86_64: make /proc/interrupts wor # 40643ff: irq, fs/proc: replace loop with n # fb6dc57: x86: move kstat_irqs from kstat t # eb2befe: fs/proc: use nr_irqs
include/asm-generic/vmlinux.lds.h # 28c00bc: add per_cpu_dyn_array support
# 565a0e8: generic: add dyn_array support
include/linux/dmar.h # f12c73e: dmar: fix using early fixmap mapp
include/linux/init.h # dac5f10: x86: alloc dyn_array all together
# 28c00bc: add per_cpu_dyn_array support # 565a0e8: generic: add dyn_array support
include/linux/interrupt.h # 40643ff: irq, fs/proc: replace loop with n

                                   # 9e89c54: irq: introduce nr_irqs

include/linux/irq.h # 310e8db: sparseirq: move kstat_irqs from k
# b07e51e: x86: remove irqbalance in kernel # 393b543: x86: use 28 bits irq NR for pci m # 0cd4568: x86: put irq_2_iommu pointer into # 93dce19: irq: separate sparse_irqs from sp # 847f106: x86_64: rename irq_desc/irq_desc_ # 8d1d05e: generic: add irq_desc in function # 7329b0c: irq: replace loop with nr_irqs wi # 7ef7c43: irq: add irq_desc_without_new # fb6dc57: x86: move kstat_irqs from kstat t # 0f8348b: x86: put timer_rand_state pointer # f2f61d1: generic: sparse irqs: use irq_des # 78c82c3: irq: make irq_desc to use dyn_arr # 8d00a6c: genirq: remove last NO_IDLE_HZ le
include/linux/kernel_stat.h # 310e8db: sparseirq: move kstat_irqs from k
# fb6dc57: x86: move kstat_irqs from kstat t # f909491: irq: make irqs in kernel stat use

include/linux/pci.h                # 9e40236: pci: change msi-x vector to 32bit
init/Makefile                      # 35aa85d: dyn_array: split dyn_array functi
init/dyn_array.c                   # a7616e5: dyn_array: use %pF instead of pri

# 0bfd4d1: dyn_array: remove one panic # 00be105: dyn_array: fix typo # 28de6b7: dyn_array: don't break compiling # 35aa85d: dyn_array: split dyn_array functi
kernel/irq/autoprobe.c # ff2973b: irq: sparse irqs, fix IRQ auto-pr
# f2f61d1: generic: sparse irqs: use irq_des # 9e89c54: irq: introduce nr_irqs
kernel/irq/chip.c # dcec2cc: irq: set_irq_chip() has redundant
# 310e8db: sparseirq: move kstat_irqs from k # 847f106: x86_64: rename irq_desc/irq_desc_ # 1928d43: irq: remove >= nr_irqs checking w # fb6dc57: x86: move kstat_irqs from kstat t # f2f61d1: generic: sparse irqs: use irq_des # 9e89c54: irq: introduce nr_irqs
kernel/irq/handle.c # bcb7176: x86: fix typo in irq_desc array
# 14a929b: fix warning: "x86: sparse_irq nee # 2806dc4: sparseirq: remove some debug prin # 310e8db: sparseirq: move kstat_irqs from k # a532e19: x86: sparse_irq needs spin_lock i # 95e9fdf: sparseirq: fix lockdep # 93dce19: irq: separate sparse_irqs from sp # 847f106: x86_64: rename irq_desc/irq_desc_ # 8d1d05e: generic: add irq_desc in function # 7ef7c43: irq: add irq_desc_without_new # fb6dc57: x86: move kstat_irqs from kstat t # f2f61d1: generic: sparse irqs: use irq_des # 414ec26: irq: sparse irqs, export nr_irqs # 78c82c3: irq: make irq_desc to use dyn_arr # 9e89c54: irq: introduce nr_irqs # 8d00a6c: genirq: remove last NO_IDLE_HZ le
kernel/irq/internals.h # 7329b0c: irq: replace loop with nr_irqs wi
kernel/irq/manage.c # eefc5bb: x86: HPET_MSI change IRQ affinity
# b07e51e: x86: remove irqbalance in kernel # 847f106: x86_64: rename irq_desc/irq_desc_ # 1928d43: irq: remove >= nr_irqs checking w # 7329b0c: irq: replace loop with nr_irqs wi # f2f61d1: generic: sparse irqs: use irq_des # 9e89c54: irq: introduce nr_irqs
kernel/irq/migration.c # f2f61d1: generic: sparse irqs: use irq_des
kernel/irq/proc.c # 7329b0c: irq: replace loop with nr_irqs wi
# f2f61d1: generic: sparse irqs: use irq_des # 9e89c54: irq: introduce nr_irqs
kernel/irq/resend.c # f2f61d1: generic: sparse irqs: use irq_des

                                   # 9e89c54: irq: introduce nr_irqs

kernel/irq/spurious.c # bbd243a: irq: fix irqpoll && sparseirq
# f2f61d1: generic: sparse irqs: use irq_des # 9e89c54: irq: introduce nr_irqs # f84dbb9: genirq: enable polling for disabl

Thanks,

Ingo

------------------>
Alan Cox (1):
serial, 8250: remove NR_IRQ usage

Alex Nixon (2):
xen: fix memory access violation bug when CONFIG_HAVE_SPARSE_IRQ is enabled
xen: Fix bug `do_IRQ: cannot handle IRQ -1 vector 0x6 cpu 1'

Alok Kataria (1):
x86: VMI, initialize IRQ vector

Andrew Morton (1):
fix warning: "x86: sparse_irq needs spin_lock in allocations"

Cyrill Gorcunov (20):
x86: apic_64.c - setup_APIC_timer has to be __cpuinit function
x86: apic - introduce get_physical_broadcast for 64bit
x86: apic - unify setup_apicpmtimer
x86: apic_64.c - add sanity check for spurious vector definition
x86: apic - unify setup_local_APIC
x86: apic_32.c should use __cpuinit section
x86: apic - unify smp_apic_timer_interrupt
x86: apic - unify smp_spurious/error_interrupt declaration
x86: io-apic - use ARRAY_SIZE macro
x86: io-apic - declare irq_cfg_lock for SPARSE_IRQ only
x86: io-apic - code style cleaning for setup_IO_APIC_irqs
x86: io-apic - do not use KERN_DEBUG marker too much
x86: io-apic - get rid of __DO_ACTION macro
x86: apic - lapic_setup_esr does not handle esr_disable - fix it
x86: apic - skip writting ESR register if we dont have on
x86: apic - fix unused vars warning in calibrate_APIC_clock
x86: io-apic - do not use KERN_DEBUG marker too much, fix
x86: io-apic - interrupt remapping fix
x86: io-apic - interrupt remapping fix
x86: apic - unify APIC_DIVISOR

Dean Nelson (3):
irq: error missed ifndef CONFIG_HAVE_SPARSE_IRQ
irq: set_irq_chip() has redundant call to irq_to_desc() x86, UV: add uv_setup_irq() and uv_teardown_irq() functions, v3

Eric W. Biederman (1):
genirq: enable polling for disabled screaming irqs

H. Peter Anvin (1):
dyn_array: don't break compiling for !CONFIG_SMP

Ingo Molnar (10):
irq: sparse irqs, export nr_irqs
irq: sparse irqs, fix #3
irq: sparse irqs, fix IRQ auto-probe crash
sparseirq: fix lockdep
x86: make io_apic_32.c the same as io_apic_64.c
warning: fix arch x86 kernel io_apic c
sparseirq: export nr_irqs on m68k/sparc/s390
x86: HPET_MSI Basic HPET_MSI setup code, cleanups
x86, UV: add uv_setup_irq() and uv_teardown_irq() functions, v3, fix Revert "pci: fix BAR print out"

Jack Steiner (3):
x86, uv: fix ordering of calls to uv_system_init & uv_cpu_init x86, uv: add early detection of UV system types x86, uv: fix for size of hub mappings

Russ Anderson (5):
sysfs, x86, uv: Document files in /sys/firmware/sgi_uv/
x86: Add UV EFI table entry v4
x86: Add UV bios call infrastructure v4
x86: Add UV partition call v4
x86: Add sysfs entries for UV v4

Steven Noonan (1):
x86: fix HPET compiler error when not using CONFIG_PCI_MSI

Suresh Siddha (3):
sparseirq: fix intr-remap with dyn_array/nr_irqs changes]
dmar: use list_for_each_entry_safe() in dmar_dev_scope_init()
dmar: fix dmar_parse_dev() devices_cnt error condition check

Thomas Gleixner (1):
genirq: remove last NO_IDLE_HZ leftovers

Venki Pallipadi (2):
x86: using HPET in MSI mode and setting up per CPU HPET timers, fix
hpet: clean up warning

Yinghai Lu (102):
x86: add after_bootmem flag for 32bit
x86: remove irq_vectors_limits
generic: add dyn_array support
add per_cpu_dyn_array support
x86: alloc dyn_array all together
x86: enable dyn_array support
irq: introduce nr_irqs
x86: use nr_irqs
drivers/char: use nr_irqs
drivers/net: use nr_irqs
drivers/pci/ intr remapping: use nr_irqs
drivers/pcmcia: use nr_irqs
drivers/rtc: use nr_irqs
drivers/scsi: use nr_irqs
drivers/serial: use nr_irqs
fs/proc: use nr_irqs
drivers/xen: use nr_irqs
irqs: make irq_timer_state to use dyn_array
irq: make irq2_iommu to use dyn_array
irq: make irq_desc to use dyn_array
irq: make irqs in kernel stat use per_cpu_dyn_array
x86: use dyn_array in io_apic_xx.c
x86, irq: get nr_irqs from madt
x86: remove nr_irq_vectors
generic: sparse irqs: use irq_desc() together with dyn_array, instead of irq_desc[]
x86: add irq_cfg in io_apic_64.c
x86: put irq_2_pin pointer into irq_cfg
x86: put timer_rand_state pointer into irq_desc
x86: move kstat_irqs from kstat to irq_desc
irq: add irq_desc_without_new
irq: replace loop with nr_irqs with for_each_irq_desc
irq, fs/proc: replace loop with nr_irqs for proc/stat
x86, ioapic: replace loop with nr_irqs with for_each_irq_icfg
irq: remove >= nr_irqs checking with config_have_sparse_irq
generic: add irq_desc in function in parameter
x86: check with without_new in show_interrupts
x86_64: rename irq_desc/irq_desc_alloc
irq: separate sparse_irqs from sparse_irqs_free
x86_64: separate irq_cfgx from irq_cfgx_free
x86_64: make /proc/interrupts work with dyn irq_desc
x86: put irq_2_iommu pointer into irq_desc
x86: use 28 bits irq NR for pci msi/msix and ht
x86: remove irqbalance in kernel for 32 bit
x86: add irq_cfg for 32bit
x86: make 32bit use irq_cfg_alloc, etc
x86: make 32bit to use irq_2_pin in irq_cfg
x86: make 32 bit to use sparse_irq
x86: make 32bit support per_cpu vector
x86: add debug info for 32bit sparse_irq
x86, io-apic: remove union about dest for log/phy
x86: ordering functions in io_apic_32.c
x86: ordering functions in io_apic_64.c
x86: order variables in io_apic_xx.c
x86: make headers files the same in io_apic_xx.c
x86: make 64 handle sis_apic_bug like the 32 bit
x86: remove ioapic_force
x86: make io_apic_64.c and io_apic_32.c the same
rename io_apic_64.c and io_apic_32.c to io_apic.c
io_apic: make 32 bit have io_apic resource in /proc/iomem
pci: change msi-x vector to 32bit
x86: irq: interrupt array size should be NR_VECTORS
x86: unify mask_IO_APIC_irq
x86: unify ack_apic_edge
x86: remove first_free_entry/pin_map_size
x86: print local APIC of APs one by one
x86: make HAVE_SPARSE_IRQ support selectable
x86: probe nr_irqs even only mptable is used
dyn_array: split dyn_array functions from init/main.c
x86: sparse_irq needs spin_lock in allocations
x86: fix 32-bit ioapic lockup with sparseirqs
x86: fix probe_nr_irqs for xen
x86: apic_xx.c order variables
x86: use HAVE_X2APIC in apic_64.c
x86: add hard_smp_prossor_id with MACRO in io_apic_xx.c
x86: make apic_32/64.c more like
x86: merge APIC_init_uniprocessor
x86: copy detect_init_APIC to the other
x86: merge header files in apic_xx.c
x86: apic unify smp_spurious/error_interrupt
x86: apic copy calibrate_APIC_clock to each other in apic_32/64.c
x86: apic copy apic_64.c to apic_32.c
x86: rename apic_32.c and apic_64.c to apic.c
x86: let 64 bit to use 32 bit calibrate_apic_clock
sparseirq: move kstat_irqs from kstat to irq_desc - fix
x2apic: fix reserved APIC register accesses in print_local_APIC()
dmar: fix using early fixmap mapping for DMAR table parsing
dmar: initialize the return value in dmar_parse_dev()
x86: print out if acpi want physical flat of all
dyn_array: fix typo
pci: fix BAR print out
irq: error missed ifndef CONFIG_HAVE_SPARSE_IRQ, v2
dyn_array: remove one panic
x86: lapic address print out like io apic addr
x86: print out apic id in hex format
dyn_array: use %pF instead of print_fn_descriptor_symbol
irq: fix irqpoll && sparseirq
sparseirq: remove some debug print out
x86/pci: fix dmar_tbl early_ioremap leak v2
x86: fix typo in irq_desc array
x86: irq no should not use hex in /proc/interrupts
x86: print out irq nr for msi/ht, v3
x86: sparse_irq: fix typo in debug print out

[email protected] (4):
x86: HPET_MSI change IRQ affinity in process context when it is disabled
x86: HPET_MSI Refactor code in preparation for HPET_MSI
x86: HPET_MSI Basic HPET_MSI setup code
x86: HPET_MSI Initialise per-cpu HPET timers

 arch/Kconfig                                      |    3 +
 arch/m68k/kernel/ints.c                           |    3 +
 arch/s390/kernel/irq.c                            |    3 +
 arch/sparc/kernel/irq.c                           |    4 +
 arch/x86/Kconfig                                  |   20 +-
 arch/x86/configs/i386_defconfig                   |    1 -
 arch/x86/kernel/Makefile                          |    6 +-
 arch/x86/kernel/acpi/boot.c                       |    5 +-
 arch/x86/kernel/{apic_32.c => apic.c}             |  627 ++++-
 arch/x86/kernel/apic_64.c                         | 1848 -------------
 arch/x86/kernel/bios_uv.c                         |  137 +-
 arch/x86/kernel/cpu/amd.c                         |    2 +-
 arch/x86/kernel/cpu/intel.c                       |    2 +-
 arch/x86/kernel/efi.c                             |    4 +
 arch/x86/kernel/entry_32.S                        |    2 +-
 arch/x86/kernel/genapic_flat_64.c                 |    4 +-
 arch/x86/kernel/genx2apic_uv_x.c                  |   62 +-
 arch/x86/kernel/hpet.c                            |  453 +++-
 arch/x86/kernel/{io_apic_64.c => io_apic.c}       | 1689 ++++++++++---
 arch/x86/kernel/io_apic_32.c                      | 2908 ---------------------
 arch/x86/kernel/irq_32.c                          |   71 +-
 arch/x86/kernel/irq_64.c                          |   74 +-
 arch/x86/kernel/irqinit_32.c                      |   48 +-
 arch/x86/kernel/irqinit_64.c                      |   28 +-
 arch/x86/kernel/quirks.c                          |    3 -
 arch/x86/kernel/setup.c                           |    6 +
 arch/x86/kernel/setup_percpu.c                    |   19 +-
 arch/x86/kernel/smpboot.c                         |    6 +-
 arch/x86/kernel/uv_irq.c                          |   79 +
 arch/x86/kernel/uv_sysfs.c                        |   72 +
 arch/x86/kernel/visws_quirks.c                    |   32 +-
 arch/x86/kernel/vmiclock_32.c                     |    3 +
 arch/x86/kernel/vmlinux_32.lds.S                  |    1 +
 arch/x86/kernel/vmlinux_64.lds.S                  |    3 +
 arch/x86/lguest/boot.c                            |    2 +-
 arch/x86/mach-generic/bigsmp.c                    |    4 +
 arch/x86/mach-generic/es7000.c                    |   14 +
 arch/x86/mach-generic/numaq.c                     |   14 +
 arch/x86/mach-generic/summit.c                    |   14 +
 arch/x86/mach-voyager/voyager_smp.c               |    4 +-
 arch/x86/mm/init_32.c                             |    3 +
 arch/x86/mm/srat_64.c                             |    2 +-
 arch/x86/xen/irq.c                                |    2 -
 arch/x86/xen/spinlock.c                           |    2 +-
 drivers/char/hpet.c                               |    2 +-
 drivers/char/random.c                             |   72 +-
 drivers/char/vr41xx_giu.c                         |    2 +-
 drivers/gpio/gpiolib.c                            |    2 +-
 drivers/mfd/asic3.c                               |    4 +-
 drivers/mfd/htc-egpio.c                           |    2 +-
 drivers/net/3c59x.c                               |    4 +-
 drivers/net/hamradio/baycom_ser_fdx.c             |    4 +-
 drivers/net/hamradio/scc.c                        |    6 +-
 drivers/net/wan/sbni.c                            |    2 +-
 drivers/parisc/dino.c                             |    6 +-
 drivers/parisc/eisa.c                             |    4 +-
 drivers/parisc/gsc.c                              |   12 +-
 drivers/parisc/iosapic.c                          |    4 +-
 drivers/parisc/superio.c                          |    4 +-
 drivers/pci/dmar.c                                |   66 +-
 drivers/pci/htirq.c                               |   20 +-
 drivers/pci/intr_remapping.c                      |  221 ++-
 drivers/pcmcia/at91_cf.c                          |    2 +-
 drivers/pcmcia/hd64465_ss.c                       |   12 +-
 drivers/pcmcia/vrc4171_card.c                     |    2 +-
 drivers/rtc/rtc-vr41xx.c                          |    4 +-
 drivers/scsi/aha152x.c                            |    2 +-
 drivers/scsi/qla2xxx/qla_def.h                    |    2 +-
 drivers/serial/68328serial.c                      |   11 +-
 drivers/serial/8250.c                             |   69 +-
 drivers/serial/amba-pl010.c                       |    2 +-
 drivers/serial/amba-pl011.c                       |    2 +-
 drivers/serial/cpm_uart/cpm_uart_core.c           |    2 +-
 drivers/serial/m32r_sio.c                         |    4 +-
 drivers/serial/serial_core.c                      |    2 +-
 drivers/serial/serial_lh7a40x.c                   |    2 +-
 drivers/serial/sh-sci.c                           |    2 +-
 drivers/serial/ucc_uart.c                         |    2 +-
 drivers/xen/events.c                              |   20 +-
 fs/proc/proc_misc.c                               |   72 +-
 include/asm-generic/vmlinux.lds.h                 |   13 +
 include/asm-x86/apic.h                            |   16 +-
 include/asm-x86/bigsmp/apic.h                     |   15 +-
 include/asm-x86/efi.h                             |   13 +
 include/asm-x86/es7000/apic.h                     |    3 +-
 include/asm-x86/genapic_32.h                      |    2 +
 include/asm-x86/hpet.h                            |   21 +
 include/asm-x86/hw_irq.h                          |   13 +-
 include/asm-x86/io_apic.h                         |   24 +-
 include/asm-x86/irq_vectors.h                     |   24 +-
 include/asm-x86/mach-default/entry_arch.h         |    1 +
 include/asm-x86/mach-default/mach_apic.h          |   15 +-
 include/asm-x86/mach-generic/irq_vectors_limits.h |   14 -
 include/asm-x86/mach-generic/mach_apic.h          |    1 +
 include/asm-x86/numaq/apic.h                      |    2 -
 include/asm-x86/summit/apic.h                     |    1 -
 include/asm-x86/summit/irq_vectors_limits.h       |   14 -
 include/asm-x86/uv/bios.h                         |   94 +-
 include/asm-x86/uv/uv_irq.h                       |   36 +
 include/linux/dmar.h                              |    1 -
 include/linux/efi.h                               |    4 +
 include/linux/init.h                              |   44 +
 include/linux/interrupt.h                         |    7 +
 include/linux/irq.h                               |   89 +-
 include/linux/kernel_stat.h                       |   26 +-
 include/linux/pci.h                               |    2 +-
 init/Makefile                                     |    2 +-
 init/dyn_array.c                                  |  120 +
 init/main.c                                       |   11 +-
 kernel/irq/autoprobe.c                            |   30 +-
 kernel/irq/chip.c                                 |   99 +-
 kernel/irq/handle.c                               |  253 ++-
 kernel/irq/internals.h                            |    4 +-
 kernel/irq/manage.c                               |   68 +-
 kernel/irq/migration.c                            |   14 +-
 kernel/irq/proc.c                                 |   44 +-
 kernel/irq/resend.c                               |    6 +-
 kernel/irq/spurious.c                             |  154 +-
 118 files changed, 4368 insertions(+), 5872 deletions(-)
 rename arch/x86/kernel/{apic_32.c => apic.c} (79%)
 delete mode 100644 arch/x86/kernel/apic_64.c
 rename arch/x86/kernel/{io_apic_64.c => io_apic.c} (65%)
 delete mode 100644 arch/x86/kernel/io_apic_32.c
 create mode 100644 arch/x86/kernel/uv_irq.c
 create mode 100644 arch/x86/kernel/uv_sysfs.c
 delete mode 100644 include/asm-x86/mach-generic/irq_vectors_limits.h
 delete mode 100644 include/asm-x86/summit/irq_vectors_limits.h
 create mode 100644 include/asm-x86/uv/uv_irq.h
 create mode 100644 init/dyn_array.c
arch/Kconfig +3 -0
index 0267bab..c8a7c2e 100644
@@ -103,3 +103,6 @@ config HAVE_CLK
 	  The <linux/clk.h> calls support software clock gating and
 	  thus are a key power management tool on many systems.
 
+config HAVE_DYN_ARRAY
+	def_bool n
+
arch/m68k/kernel/ints.c +3 -0
index ded7dd2..8dd5591 100644
@@ -46,6 +46,9 @@
 #include <asm/q40ints.h>
 #endif
 
+int nr_irqs = NR_IRQS;
+EXPORT_SYMBOL(nr_irqs);
+
 extern u32 auto_irqhandler_fixup[];
 extern u32 user_irqhandler_fixup[];
 extern u16 user_irqvec_fixup[];
arch/s390/kernel/irq.c +3 -0
index e7c5bfb..3624c4a 100644
@@ -17,6 +17,9 @@
 #include <linux/proc_fs.h>
 #include <linux/profile.h>
 
+int nr_irqs = NR_IRQS;
+EXPORT_SYMBOL(nr_irqs);
+
 /*
  * show_interrupts is needed by /proc/interrupts.
  */
arch/sparc/kernel/irq.c +4 -0
index 93e1d1c..4b99e3c 100644
@@ -55,6 +55,10 @@
 #define SMP_NOP2
 #define SMP_NOP3
 #endif /* SMP */
+
+int nr_irqs = NR_IRQS;
+EXPORT_SYMBOL(nr_irqs);
+
 unsigned long __raw_local_irq_save(void)
 {
 	unsigned long retval;
arch/x86/Kconfig +12 -8
index 44d4f21..b667150 100644
@@ -32,6 +32,7 @@ config X86
 	select HAVE_ARCH_TRACEHOOK
 	select HAVE_GENERIC_DMA_COHERENT if X86_32
 	select HAVE_EFFICIENT_UNALIGNED_ACCESS
+	select HAVE_DYN_ARRAY
 
 config ARCH_DEFCONFIG
 	string
@@ -238,6 +239,17 @@ config SMP
 
 	  If you don't know what to do here, say N.
 
+config HAVE_SPARSE_IRQ
+	bool "Support sparse irq numbering"
+	depends on PCI_MSI || HT_IRQ
+	default y
+	help
+	  This enables support for sparse irq, esp for msi/msi-x. the irq
+	  number will be bus/dev/fn + 12bit. You may need if you have lots of
+	  cards supports msi-x installed.
+
+	  If you don't know what to do here, say Y.
+
 config X86_FIND_SMP_CONFIG
 	def_bool y
 	depends on X86_MPPARSE || X86_VOYAGER
@@ -1182,14 +1194,6 @@ config EFI
   	resultant kernel should continue to boot on existing non-EFI
   	platforms.
 
-config IRQBALANCE
-	def_bool y
-	prompt "Enable kernel irq balancing"
-	depends on X86_32 && SMP && X86_IO_APIC
-	help
-	  The default yes will allow the kernel to do irq load balancing.
-	  Saying no will keep the kernel from doing irq load balancing.
-
 config SECCOMP
 	def_bool y
 	prompt "Enable seccomp to safely compute untrusted bytecode"
arch/x86/configs/i386_defconfig +0 -1
index 9269ef4..c54b710 100644
@@ -287,7 +287,6 @@ CONFIG_MTRR=y
 # CONFIG_MTRR_SANITIZER is not set
 CONFIG_X86_PAT=y
 CONFIG_EFI=y
-# CONFIG_IRQBALANCE is not set
 CONFIG_SECCOMP=y
 # CONFIG_HZ_100 is not set
 # CONFIG_HZ_250 is not set
arch/x86/kernel/Makefile +3 -3
index f6160cc..4dc47a3 100644
@@ -61,8 +61,8 @@ obj-$(CONFIG_X86_32_SMP)	+= smpcommon.o
 obj-$(CONFIG_X86_64_SMP)	+= tsc_sync.o smpcommon.o
 obj-$(CONFIG_X86_TRAMPOLINE)	+= trampoline_$(BITS).o
 obj-$(CONFIG_X86_MPPARSE)	+= mpparse.o
-obj-$(CONFIG_X86_LOCAL_APIC)	+= apic_$(BITS).o nmi.o
-obj-$(CONFIG_X86_IO_APIC)	+= io_apic_$(BITS).o
+obj-$(CONFIG_X86_LOCAL_APIC)	+= apic.o nmi.o
+obj-$(CONFIG_X86_IO_APIC)	+= io_apic.o
 obj-$(CONFIG_X86_REBOOTFIXUPS)	+= reboot_fixups_32.o
 obj-$(CONFIG_DYNAMIC_FTRACE)	+= ftrace.o
 obj-$(CONFIG_KEXEC)		+= machine_kexec_$(BITS).o
@@ -104,7 +104,7 @@ obj-$(CONFIG_OLPC)		+= olpc.o
 # 64 bit specific files
 ifeq ($(CONFIG_X86_64),y)
         obj-y				+= genapic_64.o genapic_flat_64.o genx2apic_uv_x.o tlb_uv.o
-	obj-y				+= bios_uv.o
+	obj-y				+= bios_uv.o uv_irq.o uv_sysfs.o
         obj-y				+= genx2apic_cluster.o
         obj-y				+= genx2apic_phys.o
         obj-$(CONFIG_X86_PM_TIMER)	+= pmtimer_64.o
arch/x86/kernel/acpi/boot.c +3 -2
index 0f5b567..be320a5 100644
@@ -1238,9 +1238,10 @@ static int __init acpi_parse_madt_ioapic_entries(void)
 		return count;
 	}
 
+
 	count =
 	    acpi_table_parse_madt(ACPI_MADT_TYPE_INTERRUPT_OVERRIDE, acpi_parse_int_src_ovr,
-				  NR_IRQ_VECTORS);
+				  nr_irqs);
 	if (count < 0) {
 		printk(KERN_ERR PREFIX
 		       "Error parsing interrupt source overrides entry\n");
@@ -1260,7 +1261,7 @@ static int __init acpi_parse_madt_ioapic_entries(void)
 
 	count =
 	    acpi_table_parse_madt(ACPI_MADT_TYPE_NMI_SOURCE, acpi_parse_nmi_src,
-				  NR_IRQ_VECTORS);
+				  nr_irqs);
 	if (count < 0) {
 		printk(KERN_ERR PREFIX "Error parsing NMI SRC entry\n");
 		/* TBD: Cleanup to allow fallback to MPS */
arch/x86/kernel/apic.c renamed from arch/x86/kernel/apic_32.c +523 -104

927 lines not on this page · raw message

arch/x86/kernel/apic_64.c deleted +0 -1848

1,848 lines not on this page · raw message

arch/x86/kernel/bios_uv.c +115 -22

109 lines not on this page · raw message

arch/x86/kernel/cpu/amd.c +1 -1
index 32e7352..8f1e31d 100644

Lines of this file are not shown. View the raw message.

arch/x86/kernel/cpu/intel.c +1 -1
index 99468db..cce0b61 100644

Lines of this file are not shown. View the raw message.

arch/x86/kernel/efi.c +4 -0
index 945a31c..1119d24 100644

Lines of this file are not shown. View the raw message.

arch/x86/kernel/entry_32.S +1 -1
index b21fbfa..4d82171 100644

Lines of this file are not shown. View the raw message.

arch/x86/kernel/genapic_flat_64.c +3 -1
index 9eca5ba..2ec2de8 100644

Lines of this file are not shown. View the raw message.

arch/x86/kernel/genx2apic_uv_x.c +33 -29

62 lines not on this page · raw message

arch/x86/kernel/hpet.c +420 -33

453 lines not on this page · raw message

arch/x86/kernel/io_apic.c renamed from arch/x86/kernel/io_apic_64.c +1395 -294

1,689 lines not on this page · raw message

arch/x86/kernel/io_apic_32.c deleted +0 -2908

2,908 lines not on this page · raw message

arch/x86/kernel/irq_32.c +49 -22

71 lines not on this page · raw message

arch/x86/kernel/irq_64.c +49 -25

74 lines not on this page · raw message

arch/x86/kernel/irqinit_32.c +36 -12

48 lines not on this page · raw message

arch/x86/kernel/irqinit_64.c +12 -16
index 1f26fd9..2f4d009 100644

Lines of this file are not shown. View the raw message.

arch/x86/kernel/quirks.c +0 -3
index f6a11b9..67465ed 100644

Lines of this file are not shown. View the raw message.

arch/x86/kernel/setup.c +6 -0
index 09ee73a..e3599a4 100644

Lines of this file are not shown. View the raw message.

arch/x86/kernel/setup_percpu.c +14 -5
index 0e67f72..2b7dab6 100644

Lines of this file are not shown. View the raw message.

arch/x86/kernel/smpboot.c +3 -3
index d6a4d95..b58e7ac 100644

Lines of this file are not shown. View the raw message.

arch/x86/kernel/uv_irq.c new file +79 -0

79 lines not on this page · raw message

arch/x86/kernel/uv_sysfs.c new file +72 -0

72 lines not on this page · raw message

arch/x86/kernel/visws_quirks.c +18 -14
index 61a97e6..817aa55 100644

Lines of this file are not shown. View the raw message.

arch/x86/kernel/vmiclock_32.c +3 -0
index 6953859..254ee07 100644

Lines of this file are not shown. View the raw message.

arch/x86/kernel/vmlinux_32.lds.S +1 -0
index a9b8560..c36007a 100644

Lines of this file are not shown. View the raw message.

arch/x86/kernel/vmlinux_64.lds.S +3 -0
index 46e0544..30973db 100644

Lines of this file are not shown. View the raw message.

arch/x86/lguest/boot.c +1 -1
index 65f0b8a..48ee4f9 100644

Lines of this file are not shown. View the raw message.

arch/x86/mach-generic/bigsmp.c +4 -0
index df37fc9..3c3b471 100644

Lines of this file are not shown. View the raw message.

arch/x86/mach-generic/es7000.c +14 -0
index 6513d41..28459ca 100644

Lines of this file are not shown. View the raw message.

arch/x86/mach-generic/numaq.c +14 -0
index 8cf5839..71a309b 100644

Lines of this file are not shown. View the raw message.

arch/x86/mach-generic/summit.c +14 -0
index 6ad6b67..6272b5e 100644

Lines of this file are not shown. View the raw message.

arch/x86/mach-voyager/voyager_smp.c +2 -2
index ee0fba0..ace91f0 100644

Lines of this file are not shown. View the raw message.

arch/x86/mm/init_32.c +3 -0
index c67d78d..d3fc121 100644

Lines of this file are not shown. View the raw message.

arch/x86/mm/srat_64.c +1 -1
index 1b4763e..51c0a2f 100644

Lines of this file are not shown. View the raw message.

arch/x86/xen/irq.c +0 -2
index 28b85ab..bb04260 100644

Lines of this file are not shown. View the raw message.

arch/x86/xen/spinlock.c +1 -1
index dd71e3a..bb6bc72 100644

Lines of this file are not shown. View the raw message.

drivers/char/hpet.c +1 -1
index f3cfb4c..408f5f9 100644

Lines of this file are not shown. View the raw message.

drivers/char/random.c +67 -5

72 lines not on this page · raw message

drivers/char/vr41xx_giu.c +1 -1
index ffe9b4e..54c8372 100644

Lines of this file are not shown. View the raw message.

drivers/gpio/gpiolib.c +1 -1
index 8d29405..572d372 100644

Lines of this file are not shown. View the raw message.

drivers/mfd/asic3.c +2 -2
index ba5aa20..e4c0db4 100644

Lines of this file are not shown. View the raw message.

drivers/mfd/htc-egpio.c +1 -1
index 6be4317..ad3379f 100644

Lines of this file are not shown. View the raw message.

drivers/net/3c59x.c +2 -2
index 491ee16..9ba295d 100644

Lines of this file are not shown. View the raw message.

drivers/net/hamradio/baycom_ser_fdx.c +2 -2
index 17ac697..b6a816e 100644

Lines of this file are not shown. View the raw message.

drivers/net/hamradio/scc.c +3 -3
index 45ae9d1..c17e39b 100644

Lines of this file are not shown. View the raw message.

drivers/net/wan/sbni.c +1 -1
index 6596cd0..bc91f03 100644

Lines of this file are not shown. View the raw message.

drivers/parisc/dino.c +4 -2
index fd56128..3bc54b3 100644

Lines of this file are not shown. View the raw message.

drivers/parisc/eisa.c +2 -2
index 771cef5..7891db5 100644

Lines of this file are not shown. View the raw message.

drivers/parisc/gsc.c +8 -4
index f7d088b..e76db9e 100644

Lines of this file are not shown. View the raw message.

drivers/parisc/iosapic.c +3 -1
index 6fb3f79..7beffca 100644

Lines of this file are not shown. View the raw message.

drivers/parisc/superio.c +3 -1
index 1e8d2d1..1e93c83 100644

Lines of this file are not shown. View the raw message.

drivers/pci/dmar.c +39 -27

66 lines not on this page · raw message

drivers/pci/htirq.c +19 -1
index 279c940..9e4929a 100644

Lines of this file are not shown. View the raw message.

drivers/pci/intr_remapping.c +172 -49

221 lines not on this page · raw message

drivers/pcmcia/at91_cf.c +1 -1
index a0ffb8e..9e1140f 100644

Lines of this file are not shown. View the raw message.

drivers/pcmcia/hd64465_ss.c +9 -3
index fb2bc1f..6626b34 100644

Lines of this file are not shown. View the raw message.

drivers/pcmcia/vrc4171_card.c +1 -1
index eee2f1c..b2c4124 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/rtc-vr41xx.c +2 -2
index 884b635..834dcc6 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/aha152x.c +1 -1
index b5a868d..1e5478a 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/qla2xxx/qla_def.h +1 -1
index 94a720e..7f41e49 100644

Lines of this file are not shown. View the raw message.

drivers/serial/68328serial.c +2 -9
index 381b12a..d935b2d 100644

Lines of this file are not shown. View the raw message.

drivers/serial/8250.c +56 -13

69 lines not on this page · raw message

drivers/serial/amba-pl010.c +1 -1
index 90b56c2..7156268 100644

Lines of this file are not shown. View the raw message.

drivers/serial/amba-pl011.c +1 -1
index 9d08f27..b718004 100644

Lines of this file are not shown. View the raw message.

drivers/serial/cpm_uart/cpm_uart_core.c +1 -1
index 25efca5..e54574c 100644

Lines of this file are not shown. View the raw message.

drivers/serial/m32r_sio.c +2 -2
index 23d0305..611c97a 100644

Lines of this file are not shown. View the raw message.

drivers/serial/serial_core.c +1 -1
index f977c98..effd0bd 100644

Lines of this file are not shown. View the raw message.

drivers/serial/serial_lh7a40x.c +1 -1
index cb49a5a..61dc8b3 100644

Lines of this file are not shown. View the raw message.

drivers/serial/sh-sci.c +1 -1
index 3df2aae..667b4b8 100644

Lines of this file are not shown. View the raw message.

drivers/serial/ucc_uart.c +1 -1
index 5c5d18d..503f0b9 100644

Lines of this file are not shown. View the raw message.

drivers/xen/events.c +12 -8
index c3290bc..e6d47e8 100644

Lines of this file are not shown. View the raw message.

fs/proc/proc_misc.c +53 -19

72 lines not on this page · raw message

include/asm-generic/vmlinux.lds.h +13 -0
index 7440a0d..c68eda9 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/apic.h +14 -2
index d76a083..ef1d72d 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/bigsmp/apic.h +5 -10
index 0a9cd7c..1d9543b 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/efi.h +13 -0
index ed2de22..313438e 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/es7000/apic.h +1 -2
index bd2c44d..750afad 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/genapic_32.h +2 -0
index 34280f0..6fe4f81 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/hpet.h +21 -0
index cbbbb6d..58b273f 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/hw_irq.h +4 -9
index 50f6e03..749d042 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/io_apic.h +8 -16
index 8ec68a5..d35cbd7 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/irq_vectors.h +3 -21
index c5d2d76..a8d065d 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/mach-default/entry_arch.h +1 -0
index 9283b60..6b1add8 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/mach-default/mach_apic.h +14 -1
index 2a330a4..3c66f2c 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/mach-generic/irq_vectors_limits.h deleted +0 -14
deleted file mode 100644
index f7870e1..0000000

Lines of this file are not shown. View the raw message.

include/asm-x86/mach-generic/mach_apic.h +1 -0
index 5d010c6..5085b52 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/numaq/apic.h +0 -2
index a8344ba..0bf2a06 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/summit/apic.h +0 -1
index c5b2e4b..0f68037 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/summit/irq_vectors_limits.h deleted +0 -14
deleted file mode 100644
index 890ce3f..0000000

Lines of this file are not shown. View the raw message.

include/asm-x86/uv/bios.h +60 -34

94 lines not on this page · raw message

include/asm-x86/uv/uv_irq.h new file +36 -0
new file mode 100644
index 0000000..8bf5f32

Lines of this file are not shown. View the raw message.

include/linux/dmar.h +0 -1
index c360c55..f1984fc 100644

Lines of this file are not shown. View the raw message.

include/linux/efi.h +4 -0
index 807373d..bb66feb 100644

Lines of this file are not shown. View the raw message.

include/linux/init.h +44 -0

44 lines not on this page · raw message

include/linux/interrupt.h +7 -0
index 58ff4e7..d4039a0 100644

Lines of this file are not shown. View the raw message.

include/linux/irq.h +64 -25

89 lines not on this page · raw message

include/linux/kernel_stat.h +22 -4
index cf9f40a..21249d8 100644

Lines of this file are not shown. View the raw message.

include/linux/pci.h +1 -1
index 98dc624..1f8db24 100644

Lines of this file are not shown. View the raw message.

init/Makefile +1 -1
index 4a243df..dc5eeca 100644

Lines of this file are not shown. View the raw message.

init/dyn_array.c new file +120 -0

120 lines not on this page · raw message

init/main.c +9 -2
index 3820323..78d2bd3 100644

Lines of this file are not shown. View the raw message.

kernel/irq/autoprobe.c +20 -10
index 533068c..b3a5549 100644

Lines of this file are not shown. View the raw message.

kernel/irq/chip.c +62 -37

99 lines not on this page · raw message

kernel/irq/handle.c +240 -13

253 lines not on this page · raw message

kernel/irq/internals.h +2 -2
index 08a849a..605e88c 100644

Lines of this file are not shown. View the raw message.

kernel/irq/manage.c +41 -27

68 lines not on this page · raw message

kernel/irq/migration.c +7 -7
index 77b7acc..90b920d 100644

Lines of this file are not shown. View the raw message.

kernel/irq/proc.c +23 -21

44 lines not on this page · raw message

kernel/irq/resend.c +3 -3
index a804679..89c7117 100644

Lines of this file are not shown. View the raw message.

kernel/irq/spurious.c +98 -56

154 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.

#2 lore raw
Quoted 23 lines · Ingo Molnar
Quoted 10 lines · Ingo Molnar

Linus,

Please pull the latest x86-v28-for-linus-phase9 git tree from:

Sparse IRQ support - make NR_IRQS dynamic by turning it into nr_irqs, an by creating irq descriptors in a sparse way.

Includes a number of dependent x86 topics: timers/hpet-percpu, IO-APIC and local APIC code unification, UV support updates.

Quoted 7 lines

Has been cross-built on all architectures we could get crosscompilers for:

http://www.tglx.de/autoqa/index

It should be largely uneventful for sparse-irq unaware, non-x86 architectures.

please find updated pull request below. Relative to phase-N-1. Updates from today in this class of topics:

Quoted 8 lines

b570868: x86: apic - unify APIC_DIVISOR

And i removed:

eada62c: acpi/x86: introduce __apci_map_table, v4

[ Cc:-ed Yinghai for that - we can live without that patch (i.e. we at
most get a leak warning) and can have that via acpi.git, correct? ]

yes. we have several patches that even didn't pick up for a while.

also please ask Linus to pull pci tree from Jesse before sparseirq.

because we need
PCI: change MSI-x vector to 32bit

in pci tree.

YH

#3 lore raw
Quoted 32 lines · Yinghai Lu
Quoted 22 lines · Ingo Molnar
Quoted 10 lines · Ingo Molnar

Linus,

Please pull the latest x86-v28-for-linus-phase9 git tree from:

Sparse IRQ support - make NR_IRQS dynamic by turning it into nr_irqs, an by creating irq descriptors in a sparse way.

Includes a number of dependent x86 topics: timers/hpet-percpu, IO-APIC and local APIC code unification, UV support updates.

Quoted 7 lines

Has been cross-built on all architectures we could get crosscompilers for:

http://www.tglx.de/autoqa/index

It should be largely uneventful for sparse-irq unaware, non-x86 architectures.

please find updated pull request below. Relative to phase-N-1. Updates from today in this class of topics:

Quoted 8 lines

b570868: x86: apic - unify APIC_DIVISOR

And i removed:

eada62c: acpi/x86: introduce __apci_map_table, v4

[ Cc:-ed Yinghai for that - we can live without that patch (i.e. we at
most get a leak warning) and can have that via acpi.git, correct? ]

Quoted 8 lines

yes. we have several patches that even didn't pick up for a while.

also please ask Linus to pull pci tree from Jesse before sparseirq.

because we need
PCI: change MSI-x vector to 32bit

in pci tree.

I should have my pull ready soon; I'd like to do some cross compile tests with my latest bits first. But I think Ingo has a copy of this commit anyway so it may be ok for Linus to pull anyway.

Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center
#5 lore raw
In reply to Yinghai Lu
Quoted 33 lines · Yinghai Lu
Quoted 23 lines · Ingo Molnar
Quoted 10 lines · Ingo Molnar

Linus,

Please pull the latest x86-v28-for-linus-phase9 git tree from:

Sparse IRQ support - make NR_IRQS dynamic by turning it into nr_irqs, an by creating irq descriptors in a sparse way.

Includes a number of dependent x86 topics: timers/hpet-percpu, IO-APIC and local APIC code unification, UV support updates.

Quoted 7 lines

Has been cross-built on all architectures we could get crosscompilers for:

http://www.tglx.de/autoqa/index

It should be largely uneventful for sparse-irq unaware, non-x86 architectures.

please find updated pull request below. Relative to phase-N-1. Updates from today in this class of topics:

Quoted 8 lines

b570868: x86: apic - unify APIC_DIVISOR

And i removed:

eada62c: acpi/x86: introduce __apci_map_table, v4

[ Cc:-ed Yinghai for that - we can live without that patch (i.e. we at
most get a leak warning) and can have that via acpi.git, correct? ]

Quoted 8 lines

yes. we have several patches that even didn't pick up for a while.

also please ask Linus to pull pci tree from Jesse before sparseirq.

because we need
PCI: change MSI-x vector to 32bit

in pci tree.

is it absolutely needed?

Ingo

#4 lore raw

Re: [git pull, take 2] x86 updates for v2.6.28, phase #9, sparse IRQ?support

In reply to Jesse Barnes
Quoted 37 lines · Jesse Barnes
Quoted 36 lines · Yinghai Lu
Quoted 22 lines · Ingo Molnar
Quoted 10 lines · Ingo Molnar

Linus,

Please pull the latest x86-v28-for-linus-phase9 git tree from:

Sparse IRQ support - make NR_IRQS dynamic by turning it into nr_irqs, an by creating irq descriptors in a sparse way.

Includes a number of dependent x86 topics: timers/hpet-percpu, IO-APIC and local APIC code unification, UV support updates.

Quoted 7 lines

Has been cross-built on all architectures we could get crosscompilers for:

http://www.tglx.de/autoqa/index

It should be largely uneventful for sparse-irq unaware, non-x86 architectures.

please find updated pull request below. Relative to phase-N-1. Updates from today in this class of topics:

Quoted 8 lines

b570868: x86: apic - unify APIC_DIVISOR

And i removed:

eada62c: acpi/x86: introduce __apci_map_table, v4

[ Cc:-ed Yinghai for that - we can live without that patch (i.e. we at
most get a leak warning) and can have that via acpi.git, correct? ]

yes. we have several patches that even didn't pick up for a while.

also please ask Linus to pull pci tree from Jesse before sparseirq.

Quoted 8 lines
Quoted 4 lines

because we need
PCI: change MSI-x vector to 32bit

in pci tree.

I should have my pull ready soon; I'd like to do some cross compile tests with my latest bits first. But I think Ingo has a copy of this commit anyway so it may be ok for Linus to pull anyway.

Correct, it's safe to pull it, because irq/sparseirq has this commit:

9e40236: pci: change msi-x vector to 32bit

it's content-equal with yours so your merge should be painless.

Ingo

#6 lore raw
In reply to Ingo Molnar
Quoted 35 lines · Ingo Molnar
Quoted 33 lines · Yinghai Lu
Quoted 22 lines · Ingo Molnar
Quoted 10 lines · Ingo Molnar

Linus,

Please pull the latest x86-v28-for-linus-phase9 git tree from:

Sparse IRQ support - make NR_IRQS dynamic by turning it into nr_irqs, an by creating irq descriptors in a sparse way.

Includes a number of dependent x86 topics: timers/hpet-percpu, IO-APIC and local APIC code unification, UV support updates.

Quoted 7 lines

Has been cross-built on all architectures we could get crosscompilers for:

http://www.tglx.de/autoqa/index

It should be largely uneventful for sparse-irq unaware, non-x86 architectures.

please find updated pull request below. Relative to phase-N-1. Updates from today in this class of topics:

Quoted 8 lines

b570868: x86: apic - unify APIC_DIVISOR

And i removed:

eada62c: acpi/x86: introduce __apci_map_table, v4

[ Cc:-ed Yinghai for that - we can live without that patch (i.e. we at
most get a leak warning) and can have that via acpi.git, correct? ]

yes. we have several patches that even didn't pick up for a while.

Quoted 9 lines
Quoted 6 lines

also please ask Linus to pull pci tree from Jesse before sparseirq.

because we need
PCI: change MSI-x vector to 32bit

in pci tree.

is it absolutely needed?

qla2xxx with MSI-X will crash. only happend with the new card that support msi-x.

so it is not absolutely needed.

YH

#7 lore raw
Quoted 41 lines · Yinghai Lu
Quoted 40 lines · Ingo Molnar
Quoted 38 lines · Yinghai Lu
Quoted 22 lines · Ingo Molnar
Quoted 10 lines · Ingo Molnar

Linus,

Please pull the latest x86-v28-for-linus-phase9 git tree from:

Sparse IRQ support - make NR_IRQS dynamic by turning it into nr_irqs, an by creating irq descriptors in a sparse way.

Includes a number of dependent x86 topics: timers/hpet-percpu, IO-APIC and local APIC code unification, UV support updates.

Quoted 7 lines

Has been cross-built on all architectures we could get crosscompilers for:

http://www.tglx.de/autoqa/index

It should be largely uneventful for sparse-irq unaware, non-x86 architectures.

please find updated pull request below. Relative to phase-N-1. Updates from today in this class of topics:

Quoted 8 lines

b570868: x86: apic - unify APIC_DIVISOR

And i removed:

eada62c: acpi/x86: introduce __apci_map_table, v4

[ Cc:-ed Yinghai for that - we can live without that patch (i.e. we at
most get a leak warning) and can have that via acpi.git, correct? ]

yes. we have several patches that even didn't pick up for a while.

also please ask Linus to pull pci tree from Jesse before sparseirq.

because we need
PCI: change MSI-x vector to 32bit

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

in pci tree.

is it absolutely needed?

qla2xxx with MSI-X will crash. only happend with the new card that support msi-x.

so it is not absolutely needed.

but as Jesse noted we have:

9e40236: pci: change msi-x vector to 32bit

included in irq/sparseirq so it should be fine and there's no dependency on the PCI tree.

Ingo

#8 lore raw
Quoted 48 lines · Ingo Molnar
Quoted 46 lines · Yinghai Lu
Quoted 35 lines · Ingo Molnar
Quoted 33 lines · Yinghai Lu
Quoted 22 lines · Ingo Molnar
Quoted 10 lines · Ingo Molnar

Linus,

Please pull the latest x86-v28-for-linus-phase9 git tree from:

Sparse IRQ support - make NR_IRQS dynamic by turning it into nr_irqs, an by creating irq descriptors in a sparse way.

Includes a number of dependent x86 topics: timers/hpet-percpu, IO-APIC and local APIC code unification, UV support updates.

Quoted 7 lines

Has been cross-built on all architectures we could get crosscompilers for:

http://www.tglx.de/autoqa/index

It should be largely uneventful for sparse-irq unaware, non-x86 architectures.

please find updated pull request below. Relative to phase-N-1. Updates from today in this class of topics:

Quoted 8 lines

b570868: x86: apic - unify APIC_DIVISOR

And i removed:

eada62c: acpi/x86: introduce __apci_map_table, v4

[ Cc:-ed Yinghai for that - we can live without that patch (i.e. we at
most get a leak warning) and can have that via acpi.git, correct? ]

yes. we have several patches that even didn't pick up for a while.

Quoted 8 lines
Quoted 6 lines

also please ask Linus to pull pci tree from Jesse before sparseirq.

because we need
PCI: change MSI-x vector to 32bit

in pci tree.

is it absolutely needed?

qla2xxx with MSI-X will crash. only happend with the new card that support msi-x.

Quoted 8 lines
Quoted 1 line

so it is not absolutely needed.

but as Jesse noted we have:

9e40236: pci: change msi-x vector to 32bit

included in irq/sparseirq so it should be fine and there's no dependency on the PCI tree.

good. so sparseirq could be pulled before pci tree.

YH