genirq, irqchip: Convert ARM MSI handling to per device MSI domains
Status from this message: The following commit has been merged into the irq/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first
Changes in v4 from the cover letter
- Fix the conversion of the GIC V3 MBI driver - Marc
- Dropped a few stray MSI_FLAG_PCI_MSI_MASK_PARENT flags
- Dropped the trivial cleanup patches as they have been merged
- Picked up tags
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/21 | PCI/MSI: Provide MSI_FLAG_PCI_MSI_MASK_PARENTdrivers/ include/ | +23 | 0 replies | |
| 1/21 | PCI/MSI: Provide MSI_FLAG_PCI_MSI_MASK_PARENTdrivers/ include/ | +22 | 0 replies | |
| 2/21 | irqchip: Provide irq-msi-libdrivers/ drivers/ drivers/ +1 more | +135 | 2 replies | |
| 3/21 | irqchip/gic-v3-its: Provide MSI parent infrastructuredrivers/ drivers/ drivers/ +2 more | +41 | 0 replies | |
| 4/21 | irqchip/irq-msi-lib: Prepare for PCI MSI/MSIXdrivers/ drivers/ | +12 | 0 replies | |
| 5/21 | irqchip/gic-v3-its: Provide MSI parent for PCI/MSI[-X]drivers/ drivers/ drivers/ | +108 | 9 replies | |
| 6/21 | irqchip/irq-msi-lib: Prepare for DEVICE MSI to replace platform MSIdrivers/ drivers/ | +15 | 0 replies | |
| 7/21 | irqchip/mbigen: Prepare for real per device MSIdrivers/ | +70 | 0 replies | |
| 8/21 | irqchip/irq-msi-lib: Prepare for DOMAIN_BUS_WIRED_TO_MSIdrivers/ | +2 | 0 replies | |
| 9/21 | irqchip/gic-v3-its: Switch platform MSI to MSI parentdrivers/ drivers/ drivers/ | +73 | 0 replies | |
| 10/21 | irqchip/mbigen: Remove platform_msi_create_device_domain() fallbackdrivers/ | +4 | 2 replies | |
| 11/21 | genirq/msi: Remove platform_msi_create_device_domain()include/ | +0 | 0 replies | |
| 12/21 | irqchip/gic_v3_mbi: Switch over to parent domaindrivers/ | +46 | 0 replies | |
| 13/21 | irqchip/gic-v2m: Switch to device MSIdrivers/ drivers/ | +25 | 0 replies | |
| 14/21 | irqchip/imx-mu-msi: Switch to MSI parentdrivers/ drivers/ drivers/ | +24 | 0 replies | |
| 15/21 | irqchip/irq-mvebu-icu: Prepare for real per device MSIdrivers/ | +170 | 0 replies | |
| 16/21 | irqchip/mvebu-gicp: Switch to MSI parentdrivers/ drivers/ | +20 | 0 replies | |
| 17/21 | irqchip/mvebu-odmi: Switch to parent MSIdrivers/ drivers/ | +19 | 0 replies | |
| 18/21 | irqchip/irq-mvebu-sei: Switch to MSI parentdrivers/ | +20 | 0 replies | |
| 19/21 | irqchip/irq-mvebu-icu: Remove platform MSI leftoversdrivers/ | +6 | 0 replies | |
| 20/21 | genirq/msi: Remove platform MSI leftoversdrivers/ include/ kernel/ | +5 | 1 reply | |
| 21/21 | genirq/msi: Move msi_device_data to coreinclude/ kernel/ | +18 | 0 replies |
Reviews trailers per patch
3 of 22 patches have a Reviewed-by or Acked-by.
| Patch | Bjorn Helgaas | Greg Kroah-Hartman |
|---|---|---|
| 1/21 | A-b A-b | |
| 1/21 | A-b A-b | |
| 2/21 | ||
| 3/21 | ||
| 4/21 | ||
| 5/21 | ||
| 6/21 | ||
| 7/21 | ||
| 8/21 | ||
| 9/21 | ||
| 10/21 | ||
| 11/21 | ||
| 12/21 | ||
| 13/21 | ||
| 14/21 | ||
| 15/21 | ||
| 16/21 | ||
| 17/21 | ||
| 18/21 | ||
| 19/21 | ||
| 20/21 | R-b | |
| 21/21 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch V4 00/21] genirq, irqchip: Convert ARM MSI handling to per device MSI domains
This is version 4 of the series to convert ARM MSI handling over to per device MSI domains. Version 3 can be found here:
https://lore.kernel.org/lkml/[email protected]
The conversion aims to replace the existing platform MSI mechanism and enables ARM to support the future PCI/IMS mechanism.
The infrastructure to replace the platform MSI mechanism is already upstream and in use by RISC-V and has been tested on various ARM platforms during the V2 development.
Changes vs. V3:
- Fix the conversion of the GIC V3 MBI driver - Marc
- Dropped a few stray MSI_FLAG_PCI_MSI_MASK_PARENT flags
- Dropped the trivial cleanup patches as they have been merged
- Picked up tags
The series is only lightly tested due to lack of hardware, so we rely on the people who have access to affected machines to help with testing.
If there are no major objections raised or testing fallout reported, I'm aiming this series for the next merge window.
The series is also available from git:
git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git devmsi-arm-v4
Thanks,
tglx
--- b/drivers/base/platform-msi.c | 350 -------------------------- b/drivers/irqchip/Kconfig | 8 b/drivers/irqchip/Makefile | 4 b/drivers/irqchip/irq-gic-common.h | 3 b/drivers/irqchip/irq-gic-v2m.c | 80 +---- b/drivers/irqchip/irq-gic-v3-its-msi-parent.c | 210 +++++++++++++++ b/drivers/irqchip/irq-gic-v3-its.c | 5 b/drivers/irqchip/irq-gic-v3-mbi.c | 130 +++------ b/drivers/irqchip/irq-imx-mu-msi.c | 48 +-- b/drivers/irqchip/irq-mbigen.c | 96 ++----- b/drivers/irqchip/irq-msi-lib.c | 135 ++++++++++ b/drivers/irqchip/irq-msi-lib.h | 27 ++ b/drivers/irqchip/irq-mvebu-gicp.c | 44 +-- b/drivers/irqchip/irq-mvebu-icu.c | 275 ++++++++------------ b/drivers/irqchip/irq-mvebu-odmi.c | 37 +- b/drivers/irqchip/irq-mvebu-sei.c | 52 +-- b/drivers/pci/msi/irqdomain.c | 21 + b/include/linux/msi.h | 52 --- b/kernel/irq/msi.c | 95 +------ drivers/irqchip/irq-gic-v3-its-pci-msi.c | 202 --------------- drivers/irqchip/irq-gic-v3-its-platform-msi.c | 163 ------------ 21 files changed, 738 insertions(+), 1299 deletions(-)