All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2 V5] irqchip: gic: Introduce ARM GICv2m MSI(-X) support
@ 2014-09-10  9:14 ` suravee.suthikulpanit-5C7GfCeVMHo
  0 siblings, 0 replies; 9+ messages in thread
From: suravee.suthikulpanit @ 2014-09-10  9:14 UTC (permalink / raw)
  To: marc.zyngier, mark.rutland, jason
  Cc: pawel.moll, Catalin.Marinas, Will.Deacon, tglx,
	Harish.Kasiviswanathan, linux-arm-kernel, linux-pci,
	linux-kernel, linux-doc, devicetree, Suravee Suthikulpanit

From: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>

This patch set introduces support for MSI(-X) in GICv2m specification,
which is implemented in some variation of GIC400.

This depends on and has been tested with the following patch set which
implements PCI supports for ARM64:
 
    * https://lkml.org/lkml/2014/8/12/394
    * https://lkml.org/lkml/2014/8/12/361

Changes in V5:
    * Rebase to git://git.infradead.org/users/jcooper/linux.git irqchip/core

  Marc Zyngier suggestions:
    * Only use GICv2m irq_chip for MSI interrupts.
    * Simplify logic to support multi-MSI in arch/arm64/kernel/msi.c.
    * Modify gicv2m_setup_msi_irq() to also handle multi-MSI.

  Mark Rutlan suggestions: 
    * V4 patch set did not support multiple MSI register frame within a GIC.
      Although, the proposed GICv2m device tree binding should be able to
      handle the case.  Mark was questioning on how we can properly handle
      this in the code. Therefore, I try to implement this by iterating through
      the subnodes and look for msi-controller property. Once found, the code
      parses v2m register frame information and store it in the v2m_list of
      each gic_chip_data.

  Jingoo han suggestions:
    * Misc clean up.

Suravee Suthikulpanit (2):
  irqchip: gic: Add supports for ARM GICv2m MSI(-X)
  irqchip: gicv2m: Add support for multiple MSI for ARM64 GICv2m

 Documentation/devicetree/bindings/arm/gic.txt |  39 +++
 arch/arm64/kernel/Makefile                    |   1 +
 arch/arm64/kernel/msi.c                       |  41 ++++
 drivers/irqchip/Kconfig                       |   7 +
 drivers/irqchip/Makefile                      |   1 +
 drivers/irqchip/irq-gic-v2m.c                 | 326 ++++++++++++++++++++++++++
 drivers/irqchip/irq-gic.c                     |  88 ++++---
 drivers/irqchip/irq-gic.h                     |  51 ++++
 8 files changed, 526 insertions(+), 28 deletions(-)
 create mode 100644 arch/arm64/kernel/msi.c
 create mode 100644 drivers/irqchip/irq-gic-v2m.c
 create mode 100644 drivers/irqchip/irq-gic.h

-- 
1.9.3


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-09-10  9:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-10  9:14 [PATCH 0/2 V5] irqchip: gic: Introduce ARM GICv2m MSI(-X) support suravee.suthikulpanit
2014-09-10  9:14 ` suravee.suthikulpanit at amd.com
2014-09-10  9:14 ` suravee.suthikulpanit-5C7GfCeVMHo
2014-09-10  9:15 ` [PATCH 1/2 V5] irqchip: gic: Add supports for ARM GICv2m MSI(-X) suravee.suthikulpanit
2014-09-10  9:15   ` suravee.suthikulpanit at amd.com
2014-09-10  9:15   ` suravee.suthikulpanit-5C7GfCeVMHo
2014-09-10  9:15 ` [PATCH 2/2 V5] irqchip: gicv2m: Add support for multiple MSI for ARM64 GICv2m suravee.suthikulpanit
2014-09-10  9:15   ` suravee.suthikulpanit at amd.com
2014-09-10  9:15   ` suravee.suthikulpanit

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.