• Marc Zyngier's avatar
    Merge branch irq/irqdomain-locking into irq/irqchip-next · 7135b35f
    Marc Zyngier authored
    * irq/irqdomain-locking:
      : .
      : irqdomain locking overhaul courtesy of Johan Hovold.
      :
      : From the cover letter:
      :
      : "Parallel probing (e.g. due to asynchronous probing) of devices that
      : share interrupts can currently result in two mappings for the same
      : hardware interrupt to be created.
      :
      : This series fixes this mapping race and reworks the irqdomain locking so
      : that in the end the global irq_domain_mutex is only used for managing
      : the likewise global irq_domain_list, while domain operations (e.g. IRQ
      : allocations) use per-domain (hierarchy) locking."
      : .
      irqdomain: Switch to per-domain locking
      irqchip/mvebu-odmi: Use irq_domain_create_hierarchy()
      irqchip/loongson-pch-msi: Use irq_domain_create_hierarchy()
      irqchip/gic-v3-mbi: Use irq_domain_create_hierarchy()
      irqchip/gic-v3-its: Use irq_domain_create_hierarchy()
      irqchip/gic-v2m: Use irq_domain_create_hierarchy()
      irqchip/alpine-msi: Use irq_domain_add_hierarchy()
      x86/uv: Use irq_domain_create_hierarchy()
      x86/ioapic: Use irq_domain_create_hierarchy()
      irqdomain: Clean up irq_domain_push/pop_irq()
      irqdomain: Drop leftover brackets
      irqdomain: Drop dead domain-name assignment
      irqdomain: Drop revmap mutex
      irqdomain: Fix domain registration race
      irqdomain: Fix mapping-creation race
      irqdomain: Refactor __irq_domain_alloc_irqs()
      irqdomain: Look for existing mapping only once
      irqdomain: Drop bogus fwspec-mapping error handling
      irqdomain: Fix disassociation race
      irqdomain: Fix association race
    Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
    7135b35f
irq-alpine-msi.c 6.99 KB