public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Hanna Hawa <hhhawa@amazon.com>
To: tsahee@annapurnalabs.com, antoine.tenart@bootlin.com,
	linux@armlinux.org.uk, catalin.marinas@arm.com,
	will.deacon@arm.com, rjw@rjwysocki.net, lenb@kernel.org,
	tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com
Cc: ronenk@amazon.com, dwmw@amazon.co.uk, vaerov@amazon.com,
	zeev@amazon.com, alisaidi@amazon.com, talel@amazon.com,
	hhhawa@amazon.com, jonnyc@amazon.com, hanochu@amazon.com,
	barakw@amazon.com, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org
Subject: [PATCH 0/7] al-msi: Rename driver and add support for ACPI
Date: Sun, 31 Mar 2019 15:34:08 +0300	[thread overview]
Message-ID: <1554035655-11352-1-git-send-email-hhhawa@amazon.com> (raw)

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

             reply	other threads:[~2019-03-31 12:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-31 12:34 Hanna Hawa [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1554035655-11352-1-git-send-email-hhhawa@amazon.com \
    --to=hhhawa@amazon.com \
    --cc=alisaidi@amazon.com \
    --cc=antoine.tenart@bootlin.com \
    --cc=barakw@amazon.com \
    --cc=catalin.marinas@arm.com \
    --cc=dwmw@amazon.co.uk \
    --cc=hanochu@amazon.com \
    --cc=jason@lakedaemon.net \
    --cc=jonnyc@amazon.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=marc.zyngier@arm.com \
    --cc=rjw@rjwysocki.net \
    --cc=ronenk@amazon.com \
    --cc=talel@amazon.com \
    --cc=tglx@linutronix.de \
    --cc=tsahee@annapurnalabs.com \
    --cc=vaerov@amazon.com \
    --cc=will.deacon@arm.com \
    --cc=zeev@amazon.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox