1. 29 3月, 2011 2 次提交
  2. 12 10月, 2010 2 次提交
  3. 31 7月, 2010 1 次提交
  4. 16 6月, 2009 1 次提交
  5. 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
  6. 24 3月, 2009 1 次提交
  7. 13 1月, 2009 1 次提交
  8. 13 12月, 2008 1 次提交
  9. 18 10月, 2008 1 次提交
  10. 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
  11. 31 10月, 2007 1 次提交
  12. 18 7月, 2007 2 次提交
  13. 07 4月, 2007 1 次提交
  14. 30 3月, 2007 1 次提交
  15. 27 2月, 2007 1 次提交
  16. 08 2月, 2007 1 次提交
  17. 04 10月, 2006 3 次提交
    • E
      [PATCH] msi: move the ia64 code into arch/ia64 · 03571e11
      Eric W. Biederman 提交于
      This is just a few makefile tweaks and some file renames.
      Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: Andi Kleen <ak@suse.de>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Greg KH <greg@kroah.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      03571e11
    • E
      [PATCH] msi: refactor and move the msi irq_chip into the arch code · 3b7d1921
      Eric W. Biederman 提交于
      It turns out msi_ops was simply not enough to abstract the architecture
      specific details of msi.  So I have moved the resposibility of constructing
      the struct irq_chip to the architectures, and have two architecture specific
      functions arch_setup_msi_irq, and arch_teardown_msi_irq.
      
      For simple architectures those functions can do all of the work.  For
      architectures with platform dependencies they can call into the appropriate
      platform code.
      
      With this msi.c is finally free of assuming you have an apic, and this
      actually takes less code.
      
      The helpers for the architecture specific code are declared in the linux/msi.h
      to keep them separate from the msi functions used by drivers in linux/pci.h
      Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: Andi Kleen <ak@suse.de>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Greg KH <greg@kroah.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3b7d1921
    • E
      [PATCH] genirq: msi: refactor the msi_ops · 38bc0361
      Eric W. Biederman 提交于
      The current msi_ops are short sighted in a number of ways, this patch attempts
      to fix the glaring deficiences.
      
      - Report in msi_ops if a 64bit address is needed in the msi message, so we
        can fail 32bit only msi structures.
      
      - Send and receive a full struct msi_msg in both setup and target.  This is
        a little cleaner and allows for architectures that need to modify the data
        to retarget the msi interrupt to a different cpu.
      
      - In target pass in the full cpu mask instead of just the first cpu in case
        we can make use of the full cpu mask.
      
      - Operate in terms of irqs and not vectors, currently there is still a 1-1
        relationship but on architectures other than ia64 I expect this will change.
      Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Rajesh Shah <rajesh.shah@intel.com>
      Cc: Andi Kleen <ak@muc.de>
      Cc: "Protasevich, Natalie" <Natalie.Protasevich@UNISYS.com>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      38bc0361
  18. 27 6月, 2006 1 次提交
    • C
      [PATCH] x86_64: msi_apic.c build fix · a4cffb64
      Christian Kujau 提交于
            CC      drivers/pci/msi-apic.o
      In file included from include/asm/msi.h:11,
                        from drivers/pci/msi.h:71,
                        from drivers/pci/msi-apic.c:8:
      include/asm/smp.h:103: error: syntax error before '->' token
      
      akpm: nasty.  It appears to be
      
        static inline unsigned int cpu_mask_to_apicid(cpumask_t cpumask)
      
      conflicting with include/asm-x86_64/mach_apic.h's
      
        #define cpu_mask_to_apicid (genapic->cpu_mask_to_apicid)
      
      And I don't know which patch in rc4-mm1 triggered this.
      
      Fixing this in the .c file seems wrong.
      
      Including asm/smp.h instead of linux/smp.h seems wrong too.  Need that
      .config.
      
      Cc: Andi Kleen <ak@muc.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NAndi Kleen <ak@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      a4cffb64
  19. 22 6月, 2006 1 次提交