1. 16 2月, 2009 1 次提交
  2. 15 2月, 2009 1 次提交
  3. 10 2月, 2009 1 次提交
  4. 09 2月, 2009 5 次提交
    • Y
      x86: find nr_irqs_gsi with mp_ioapic_routing · 3f4a739c
      Yinghai Lu 提交于
      Impact: find right nr_irqs_gsi on some systems.
      
      One test-system has gap between gsi's:
      
      [    0.000000] ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
      [    0.000000] IOAPIC[0]: apic_id 4, version 0, address 0xfec00000, GSI 0-23
      [    0.000000] ACPI: IOAPIC (id[0x05] address[0xfeafd000] gsi_base[48])
      [    0.000000] IOAPIC[1]: apic_id 5, version 0, address 0xfeafd000, GSI 48-54
      [    0.000000] ACPI: IOAPIC (id[0x06] address[0xfeafc000] gsi_base[56])
      [    0.000000] IOAPIC[2]: apic_id 6, version 0, address 0xfeafc000, GSI 56-62
      ...
      [    0.000000] nr_irqs_gsi: 38
      
      So nr_irqs_gsi is not right. some irq for MSI will overwrite with io_apic.
      
      need to get that with acpi_probe_gsi when acpi io_apic is used
      Signed-off-by: NYinghai Lu <yinghai@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      3f4a739c
    • Y
      x86: find nr_irqs_gsi with mp_ioapic_routing · cc6c5006
      Yinghai Lu 提交于
      Impact: find right nr_irqs_gsi on some systems.
      
      One test-system has gap between gsi's:
      
      [    0.000000] ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
      [    0.000000] IOAPIC[0]: apic_id 4, version 0, address 0xfec00000, GSI 0-23
      [    0.000000] ACPI: IOAPIC (id[0x05] address[0xfeafd000] gsi_base[48])
      [    0.000000] IOAPIC[1]: apic_id 5, version 0, address 0xfeafd000, GSI 48-54
      [    0.000000] ACPI: IOAPIC (id[0x06] address[0xfeafc000] gsi_base[56])
      [    0.000000] IOAPIC[2]: apic_id 6, version 0, address 0xfeafc000, GSI 56-62
      ...
      [    0.000000] nr_irqs_gsi: 38
      
      So nr_irqs_gsi is not right. some irq for MSI will overwrite with io_apic.
      
      need to get that with acpi_probe_gsi when acpi io_apic is used
      Signed-off-by: NYinghai Lu <yinghai@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      cc6c5006
    • Y
      x86: check_timer cleanup · f72dccac
      Yinghai Lu 提交于
      Impact: make check-timer more robust potentially solve boot fragility
      
      For edge trigger io-apic routing, we already unmasked the pin via
      setup_IO_APIC_irq(), so don't unmask it again.
      
      Also call local_irq_disable() between timer_irq_works(), because it
      calls local_irq_enable() inside.
      
      Also remove not needed apic version reading for 64-bit
      Signed-off-by: NYinghai Lu <yinghai@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      f72dccac
    • Y
      x86: use NR_IRQS_LEGACY to replace 16 · abcaa2b8
      Yinghai Lu 提交于
      Impact: cleanup
      
      also could kill platform_legacy_irq
      Signed-off-by: NYinghai Lu <yinghai@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      abcaa2b8
    • Y
      x86/irq: optimize nr_irqs · f1ee5548
      Yinghai Lu 提交于
      Impact: make nr_irqs depend more on cards used in a system
      
      depend on nr_irq_gsi more, and have a ratio for MSI.
      
      v2: make nr_irqs less than NR_VECTORS * nr_cpu_ids
          aka if only one cpu, we only can support nr_irqs = NR_VECTORS
      Signed-off-by: NYinghai Lu <yinghai@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      f1ee5548
  5. 06 2月, 2009 1 次提交
  6. 01 2月, 2009 1 次提交
    • Y
      irq, x86: fix lock status with numa_migrate_irq_desc · 10b888d6
      Yinghai Lu 提交于
      Eric Paris reported:
      
      > I have an hp dl785g5 which is unable to successfully run
      > 2.6.29-0.66.rc3.fc11.x86_64 or 2.6.29-rc2-next-20090126.  During bootup
      > (early in userspace daemons starting) I get the below BUG, which quickly
      > renders the machine dead.  I assume it is because sparse_irq_lock never
      > gets released when the BUG kills that task.
      
      Adjust lock sequence when migrating a descriptor with
      CONFIG_NUMA_MIGRATE_IRQ_DESC enabled.
      Signed-off-by: NYinghai Lu <yinghai@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      10b888d6
  7. 31 1月, 2009 1 次提交
  8. 29 1月, 2009 17 次提交
  9. 21 1月, 2009 1 次提交
  10. 19 1月, 2009 1 次提交
    • M
      x86: Remove never-called arch_setup_msi_irq() · 422e79a8
      Michael Ellerman 提交于
      Since commit 75c46fa6, "x64, x2apic/intr-remap: MSI and MSI-X
      support for interrupt remapping infrastructure", x86 has had an
      implementation of arch_setup_msi_irqs().
      
      That implementation does not call arch_setup_msi_irq(), instead it calls
      setup_irq(). No other x86 code calls arch_setup_msi_irq().
      
      That leaves only arch_setup_msi_irqs() in drivers/pci/msi.c, but that
      routine is overridden by the x86 version of arch_setup_msi_irqs().
      
      So arch_setup_msi_irq() is dead code, remove it.
      Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
      422e79a8
  11. 15 1月, 2009 1 次提交
  12. 14 1月, 2009 2 次提交
  13. 13 1月, 2009 1 次提交
  14. 12 1月, 2009 2 次提交
    • M
      irq: change references from NR_IRQS to nr_irqs · 9594949b
      Mike Travis 提交于
      Impact: preparation, cleanup, add KERN_INFO printk
      
      Modify references from NR_IRQS to nr_irqs as the later will become
      variable-sized based on nr_cpu_ids when CONFIG_SPARSE_IRQS=y.
      Signed-off-by: NMike Travis <travis@sgi.com>
      9594949b
    • M
      cpumask: update irq_desc to use cpumask_var_t · 7f7ace0c
      Mike Travis 提交于
      Impact: reduce memory usage, use new cpumask API.
      
      Replace the affinity and pending_masks with cpumask_var_t's.  This adds
      to the significant size reduction done with the SPARSE_IRQS changes.
      
      The added functions (init_alloc_desc_masks & init_copy_desc_masks) are
      in the include file so they can be inlined (and optimized out for the
      !CONFIG_CPUMASKS_OFFSTACK case.)  [Naming chosen to be consistent with
      the other init*irq functions, as well as the backwards arg declaration
      of "from, to" instead of the more common "to, from" standard.]
      
      Includes a slight change to the declaration of struct irq_desc to embed
      the pending_mask within ifdef(CONFIG_SMP) to be consistent with other
      references, and some small changes to Xen.
      
      Tested: sparse/non-sparse/cpumask_offstack/non-cpumask_offstack/nonuma/nosmp on x86_64
      Signed-off-by: NMike Travis <travis@sgi.com>
      Cc: Chris Wright <chrisw@sous-sol.org>
      Cc: Jeremy Fitzhardinge <jeremy@xensource.com>
      Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
      Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
      Cc: virtualization@lists.osdl.org
      Cc: xen-devel@lists.xensource.com
      Cc: Yinghai Lu <yhlu.kernel@gmail.com>
      7f7ace0c
  15. 08 1月, 2009 1 次提交
  16. 04 1月, 2009 1 次提交
  17. 03 1月, 2009 1 次提交
  18. 30 12月, 2008 1 次提交