linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] al-msi: Rename driver and add support for ACPI
@ 2019-03-31 12:34 Hanna Hawa
  2019-03-31 12:34 ` [PATCH 1/7] irqchip/alpine-msi: Call IOMMU DMA mapping MSI message hook Hanna Hawa
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Hanna Hawa @ 2019-03-31 12:34 UTC (permalink / raw)
  To: tsahee, antoine.tenart, linux, catalin.marinas, will.deacon, rjw,
	lenb, tglx, jason, marc.zyngier
  Cc: linux-arm-kernel, barakw, hhhawa, vaerov, linux-kernel, hanochu,
	linux-acpi, zeev, dwmw, jonnyc, ronenk, talel, alisaidi

This series includes three major changes:
1. IOMMU DMA mapping MSI message fix.
2. Re-name the AL-MSIx driver to new name convention.
3. Add ACPI support for the driver.

Alpine is the name of the SoC family, while AL stands for Annapurna
Labs. Rename to the latter since the driver will appear in other SoC
families other than Alpine.

The AL-MSIx controller is not standard, is not included in the UEFI
specification, and will not be added. The driver ACPI binding is
performed when the following conditions are true:
- OEM ID is AMAZON
- MADT table type is 0x80 (part of the OEM reserved range).

GICv2m driver is called from context of parent interrupt controller,
which ensures that the parent interrupt domain exists and holds valid
information. As calling AL-MSIx driver from GICv3 driver would not make
sense, a new API was added, to get the GSI IRQ domain that was registered
by GICv3 driver in the ACPI framework.

Hanna Hawa (7):
  irqchip/alpine-msi: Call IOMMU DMA mapping MSI message hook
  irqchip/alpine-msi: Update driver license to use SPDX
  irqchip/al-msi: Rename AL-MSIx driver
  irqchip/al-msi: Update wrong parameter naming
  ACPI / irq: Add GSI IRQ domain getter function
  irqchip/al-msi: Refactor in preparation to add ACPI support
  irqchip/al-msi: Add ACPI support

 arch/arm/mach-alpine/Kconfig                       |   2 +-
 arch/arm64/Kconfig.platforms                       |   2 +-
 drivers/acpi/irq.c                                 |  13 +
 drivers/irqchip/Kconfig                            |   2 +-
 drivers/irqchip/Makefile                           |   2 +-
 drivers/irqchip/{irq-alpine-msi.c => irq-al-msi.c} | 320 ++++++++++++++-------
 include/linux/acpi.h                               |   1 +
 7 files changed, 236 insertions(+), 106 deletions(-)
 rename drivers/irqchip/{irq-alpine-msi.c => irq-al-msi.c} (40%)

-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-04-01 12:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-31 12:34 [PATCH 0/7] al-msi: Rename driver and add support for ACPI Hanna Hawa
2019-03-31 12:34 ` [PATCH 1/7] irqchip/alpine-msi: Call IOMMU DMA mapping MSI message hook Hanna Hawa
2019-03-31 12:34 ` [PATCH 2/7] irqchip/alpine-msi: Update driver license to use SPDX Hanna Hawa
2019-03-31 12:46   ` Mukesh Ojha
2019-03-31 13:00     ` Hawa, Hanna
2019-04-01 11:52     ` David Woodhouse
2019-03-31 12:34 ` [PATCH 3/7] irqchip/al-msi: Rename AL-MSIx driver Hanna Hawa
2019-04-01  1:49   ` Marc Zyngier
2019-03-31 12:34 ` [PATCH 4/7] irqchip/al-msi: Update wrong parameter naming Hanna Hawa
2019-04-01  2:02 ` [PATCH 0/7] al-msi: Rename driver and add support for ACPI Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).