1. 16 6月, 2009 1 次提交
  2. 28 4月, 2009 1 次提交
    • Y
      irq: change ->set_affinity() to return status · d5dedd45
      Yinghai Lu 提交于
      according to Ingo, change set_affinity() in irq_chip should return int,
      because that way we can handle failure cases in a much cleaner way, in
      the genirq layer.
      
      v2: fix two typos
      
      [ Impact: extend API ]
      Signed-off-by: NYinghai Lu <yinghai@kernel.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Suresh Siddha <suresh.b.siddha@intel.com>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Cc: linux-arch@vger.kernel.org
      LKML-Reference: <49F654E9.4070809@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      d5dedd45
  3. 26 2月, 2009 1 次提交
  4. 13 1月, 2009 1 次提交
  5. 26 12月, 2008 1 次提交
  6. 13 12月, 2008 1 次提交
  7. 02 8月, 2008 1 次提交
    • T
      [IA64] Move include/asm-ia64 to arch/ia64/include/asm · 7f30491c
      Tony Luck 提交于
      After moving the the include files there were a few clean-ups:
      
      1) Some files used #include <asm-ia64/xyz.h>, changed to <asm/xyz.h>
      
      2) Some comments alerted maintainers to look at various header files to
      make matching updates if certain code were to be changed. Updated these
      comments to use the new include paths.
      
      3) Some header files mentioned their own names in initial comments. Just
      deleted these self references.
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      7f30491c
  8. 25 6月, 2008 1 次提交
  9. 28 5月, 2008 1 次提交
  10. 07 3月, 2008 1 次提交
  11. 05 3月, 2008 1 次提交
    • K
      [IA64] Fix irq migration in multiple vector domain · a6cd6322
      Kenji Kaneshige 提交于
      Fix the problem that the following error message is sometimes displayed
      at irq migration when vector domain is enabled.
      
          "Unexpected interrupt vector %d on CPU %d is not mapped to any IRQ!"
      
      The cause of this problem is an interrupt is sent to the previous
      target CPU after cleaning up vector to irq mapping table. To clean up
      vector to irq map on the previous target CPU safty, change the irq
      migration in multiple vector domain as follows. The original idea is
      from x86 interrupt management code.
      
          - Delay vector to irq table cleanup until the interrupts are sent
            to new target CPUs. By this, it is ensured that target CPU is
            completely changed on the interrupt controller side.
      
          - Even after the interrupts are sent to new target CPUs, there can
            be pended interrupts remaining on the previous target CPU. So we
            need to delay clearning up vector to irq table until the pended
            interrupt is handled. For this, send IPI to the previous target
            CPU with lower priority vector and clean up vector to irq table
            in its handler.
      
      This patch affects only to irq migration code with multiple vector
      domain is enabled.
      Signed-off-by: NKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      a6cd6322
  12. 08 12月, 2007 2 次提交
  13. 10 11月, 2007 1 次提交
  14. 02 8月, 2007 1 次提交
  15. 31 7月, 2007 2 次提交
    • K
      [IA64] Fix registered interrupt check · c4c376f7
      Kenji Kaneshige 提交于
      Fix the problem that interrupts are not initialized correctly at PCI
      hotplug or driver reloading time.
      
      By vector domain change, the iosapic_rte_info structure was changed to
      be on the iosapic_intr_info[irq].rtes list even after the interrupts
      are unregistered. So iosapic_intr_info[irq].rtes list must not be
      checked to see if there are registered interrupts (RTEs) on the
      irq. We must check iosapic_intr_info[irq].count counter instead.
      Signed-off-by: NKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      c4c376f7
    • S
      [IA64] fix a few section mismatch warnings · 056e6d89
      Sam Ravnborg 提交于
      Fix the following section mismatch warnings:
      
      WARNING: vmlinux.o(.text+0x41902): Section mismatch: reference to .init.text:__alloc_bootmem (between 'ia64_mca_cpu_init' and 'ia64_do_tlb_purge')
      WARNING: vmlinux.o(.text+0x49222): Section mismatch: reference to .init.text:__alloc_bootmem (between 'register_intr' and 'iosapic_register_intr')
      WARNING: vmlinux.o(.text+0x62beb2): Section mismatch: reference to .init.text:__alloc_bootmem_node (between 'hubdev_init_node' and 'cnodeid_get_geoid')
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      056e6d89
  16. 20 7月, 2007 1 次提交
    • Y
      [IA64] Delete iosapic_free_rte() · bf903d0a
      Yasuaki Ishimatsu 提交于
      >   arch/ia64/kernel/iosapic.c:597: warning: 'iosapic_free_rte' defined but not used
      >
      > This isn't spurious, the only call to iosapic_free_rte() has been removed, but there
      > is still a call to iosapic_alloc_rte() ... which means we must have a memory leak.
      
      I did it on purpose (and gave the warning a miss...) and I consider
      iosapic_free_rte() is no longer needed.
      
      I decided to remain iosapic_rte_info to keep gsi-to-irq binding
      after device disable. Indeed it needs some extra memory, but it
      is only "sizeof(iosapic_rte_info) * <the number of removed devices>"
      bytes and has no memory leak becasue re-enabled devices use the
      iosapic_rte_info which they used before disabling.
      Signed-off-by: NYasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      bf903d0a
  17. 18 7月, 2007 10 次提交
  18. 09 5月, 2007 1 次提交
  19. 08 5月, 2007 1 次提交
  20. 08 3月, 2007 1 次提交
  21. 06 2月, 2007 1 次提交
    • A
      [IA64] Clear IRQ affinity when unregistered · 451fe00c
      Alex Williamson 提交于
      When we offline a CPU, migrate_irqs() tries to determine whether the
      affinity bits of the IRQ descriptor match any of the remaining online
      CPUs.  If not, it fixes up the interrupt to point somewhere else.
      Unfortunately, if an IRQ is unregistered the IRQ descriptor may still
      have affinity to the CPU being offlined, but the no_irq_chip handler
      doesn't provide a set_affinity function.  This causes us to hit the
      WARN_ON in migrate_irqs().
      
      The easiest solution seems to be setting all the bits in the affinity
      mask when the last interrupt is removed from the vector.  I hit this on
      an older kernel with Xen/ia64 using driver domains (so it probably needs
      more testing on upstream).  Xen essentially uses the bind/unbind
      interface in sysfs to unregister a device from a driver and thus
      unregister the interrupt.
      Signed-off-by: NAlex Williamson <alex.williamson@hp.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      451fe00c
  22. 08 12月, 2006 1 次提交
    • Z
      [IA64] IA64 Kexec/kdump · a7956113
      Zou Nan hai 提交于
      Changes and updates.
      
      1. Remove fake rendz path and related code according to discuss with Khalid Aziz.
      2. fc.i offset fix in relocate_kernel.S.
      3. iospic shutdown code eoi and mask race fix from Fujitsu.
      4. Warm boot hook in machine_kexec to SN SAL code from Jack Steiner.
      5. Send slave to SAL slave loop patch from Jay Lan.
      6. Kdump on non-recoverable MCA event patch from Jay Lan
      7. Use CTL_UNNUMBERED in kdump_on_init sysctl.
      Signed-off-by: NZou Nan hai <nanhai.zou@intel.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      a7956113
  23. 17 11月, 2006 2 次提交
  24. 01 7月, 2006 1 次提交
  25. 30 6月, 2006 2 次提交
    • I
      [PATCH] genirq: cleanup: remove irq_descp() · a8553acd
      Ingo Molnar 提交于
      Cleanup: remove irq_descp() - explicit use of irq_desc[] is shorter and more
      readable.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      a8553acd
    • I
      [PATCH] genirq: rename desc->handler to desc->chip · d1bef4ed
      Ingo Molnar 提交于
      This patch-queue improves the generic IRQ layer to be truly generic, by adding
      various abstractions and features to it, without impacting existing
      functionality.
      
      While the queue can be best described as "fix and improve everything in the
      generic IRQ layer that we could think of", and thus it consists of many
      smaller features and lots of cleanups, the one feature that stands out most is
      the new 'irq chip' abstraction.
      
      The irq-chip abstraction is about describing and coding and IRQ controller
      driver by mapping its raw hardware capabilities [and quirks, if needed] in a
      straightforward way, without having to think about "IRQ flow"
      (level/edge/etc.) type of details.
      
      This stands in contrast with the current 'irq-type' model of genirq
      architectures, which 'mixes' raw hardware capabilities with 'flow' details.
      The patchset supports both types of irq controller designs at once, and
      converts i386 and x86_64 to the new irq-chip design.
      
      As a bonus side-effect of the irq-chip approach, chained interrupt controllers
      (master/slave PIC constructs, etc.) are now supported by design as well.
      
      The end result of this patchset intends to be simpler architecture-level code
      and more consolidation between architectures.
      
      We reused many bits of code and many concepts from Russell King's ARM IRQ
      layer, the merging of which was one of the motivations for this patchset.
      
      This patch:
      
      rename desc->handler to desc->chip.
      
      Originally i did not want to do this, because it's a big patch.  But having
      both "desc->handler", "desc->handle_irq" and "action->handler" caused a
      large degree of confusion and made the code appear alot less clean than it
      truly is.
      
      I have also attempted a dual approach as well by introducing a
      desc->chip alias - but that just wasnt robust enough and broke
      frequently.
      
      So lets get over with this quickly.  The conversion was done automatically
      via scripts and converts all the code in the kernel.
      
      This renaming patch is the first one amongst the patches, so that the
      remaining patches can stay flexible and can be merged and split up
      without having some big monolithic patch act as a merge barrier.
      
      [akpm@osdl.org: build fix]
      [akpm@osdl.org: another build fix]
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      d1bef4ed
  26. 17 5月, 2006 1 次提交
  27. 29 3月, 2006 1 次提交