1. 19 10月, 2017 19 次提交
  2. 17 10月, 2017 3 次提交
  3. 26 9月, 2017 1 次提交
    • T
      genirq/irqdomain: Update irq_domain_ops.activate() signature · 72491643
      Thomas Gleixner 提交于
      The irq_domain_ops.activate() callback has no return value and no way to
      tell the function that the activation is early.
      
      The upcoming changes to support a reservation scheme which allows to assign
      interrupt vectors on x86 only when the interrupt is actually requested
      requires:
      
        - A return value, so activation can fail at request_irq() time
        
        - Information that the activate invocation is early, i.e. before
          request_irq().
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Tested-by: NJuergen Gross <jgross@suse.com>
      Tested-by: NYu Chen <yu.c.chen@intel.com>
      Acked-by: NJuergen Gross <jgross@suse.com>
      Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: Marc Zyngier <marc.zyngier@arm.com>
      Cc: Alok Kataria <akataria@vmware.com>
      Cc: Joerg Roedel <joro@8bytes.org>
      Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: Rui Zhang <rui.zhang@intel.com>
      Cc: "K. Y. Srinivasan" <kys@microsoft.com>
      Cc: Arjan van de Ven <arjan@linux.intel.com>
      Cc: Dan Williams <dan.j.williams@intel.com>
      Cc: Len Brown <lenb@kernel.org>
      Link: https://lkml.kernel.org/r/20170913213152.848490816@linutronix.de
      72491643
  4. 20 9月, 2017 3 次提交
    • P
      irqchip.mips-gic: Fix shared interrupt mask writes · 90019f8f
      Paul Burton 提交于
      The write_gic_smask() & write_gic_rmask() functions take a shared
      interrupt number as a parameter, but we're incorrectly providing them a
      bitmask with the shared interrupt's bit set. This effectively means that
      we mask or unmask the shared interrupt 1<<n rather than shared interrupt
      n, and as a result likely drop interrupts.
      Signed-off-by: NPaul Burton <paul.burton@imgtec.com>
      Fixes: 68898c8765f4 ("irqchip: mips-gic: Drop gic_(re)set_mask() functions")
      Cc: Jason Cooper <jason@lakedaemon.net>
      Cc: Marc Zyngier <marc.zyngier@arm.com>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: linux-mips@linux-mips.org
      Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
      90019f8f
    • A
      irqchip/gic-v4: Fix building with ancient gcc · 6c09ffd0
      Arnd Bergmann 提交于
      gcc-4.5 and earlier don't like named initializers for anonymous
      union members:
      
      drivers/irqchip/irq-gic-v4.c: In function 'its_map_vlpi':
      drivers/irqchip/irq-gic-v4.c:176:3: error: unknown field 'map' specified in initializer
      drivers/irqchip/irq-gic-v4.c:176:3: error: missing braces around initializer
      drivers/irqchip/irq-gic-v4.c:176:3: error: (near initialization for 'info.<anonymous>')
      drivers/irqchip/irq-gic-v4.c: In function 'its_get_vlpi':
      drivers/irqchip/irq-gic-v4.c:192:3: error: unknown field 'map' specified in initializer
      drivers/irqchip/irq-gic-v4.c:192:3: error: missing braces around initializer
      drivers/irqchip/irq-gic-v4.c:192:3: error: (near initialization for 'info.<anonymous>')
      drivers/irqchip/irq-gic-v4.c: In function 'its_prop_update_vlpi':
      drivers/irqchip/irq-gic-v4.c:208:3: error: unknown field 'config' specified in initializer
      drivers/irqchip/irq-gic-v4.c:208:3: error: missing braces around initializer
      drivers/irqchip/irq-gic-v4.c:208:3: error: (near initialization for 'info.<anonymous>')
      drivers/irqchip/irq-gic-v4.c:208:3: error: initialization makes pointer from integer without a cast
      
      This is fairly easy to work around, by using extra curly braces.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
      6c09ffd0
    • Z
      irqchip/gic-v3: Iterate over possible CPUs by for_each_possible_cpu() · 3fad4cda
      zijun_hu 提交于
      get_cpu_number() doesn't use existing helper to iterate over possible
      CPUs, It will cause an error in case of discontinuous @cpu_possible_mask
      such as 0b11110001, which can result from a core having failed to come
      up on a SMP machine.
      
      Fixed by using existing helper for_each_possible_cpu().
      Signed-off-by: Nzijun_hu <zijun_hu@htc.com>
      Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
      3fad4cda
  5. 04 9月, 2017 14 次提交