Skip to content

PCI/MSI: pci-xgene-msi: Enable MSI support in ACPI boot for X-Gene v1

Khuong Dinh linux-arm-kernel linux-pci lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 8 repliesIn review
  2. v31 patch 5 repliesSuperseded
  3. v21 patch 15 repliesSuperseded

Changes in v4 from the cover letter

- Remove Marc Zyngier ACK in v2
- Use acpi_bus_scan on MSI controller handle when MSI device is found
- Register ACPI MSI driver when MSI device is found instead of using subsys_initcall
- Split ACPI MSI driver support into two patches - one to enable MSI
support for X-Gene PCIe v1 hardware, one to enforce MSI driver loaded before PCIe controller driver in ACPI boot mode

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PCI/MSI: pci-xgene-msi: Enable MSI support in ACPI boot for X-Gene v1drivers/pci/host/pci-xgene-msi.c+35 -30 replies
2/2PCI/MSI: Enforce MSI driver loaded before PCIe in ACPI bootdrivers/acpi/Makefile drivers/acpi/acpi_msi.c drivers/acpi/acpi_platform.c +4 more+148 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 pci 0/2] PCI/MSI: pci-xgene-msi: Enable MSI support in ACPI boot for X-Gene v1

This patch set enables ACPI MSI support for X-Gene PCIe v1 hardware and provides the proper MSI driver initialization ordering.

---
v4:
- Remove Marc Zyngier ACK in v2
- Use acpi_bus_scan on MSI controller handle when MSI device is found
- Register ACPI MSI driver when MSI device is found instead of using subsys_initcall
- Split ACPI MSI driver support into two patches - one to enable MSI
support for X-Gene PCIe v1 hardware, one to enforce MSI driver loaded before PCIe controller driver in ACPI boot mode
v3:
- Input X-Gene MSI base address for irq_domain_alloc_fwnode
- Add a hook to enforce X-Gene MSI be probed prior acpi_bus_scan happens
v2:
- Verify with BIOS version 3.06.25 and 3.07.09
v1:
- Initial version
---

Khuong Dinh (2):
PCI/MSI: pci-xgene-msi: Enable MSI support in ACPI boot for X-Gene v1 PCI/MSI: Enforce MSI driver loaded before PCIe in ACPI boot

 drivers/acpi/Makefile            |    2 +-
 drivers/acpi/acpi_msi.c          |   86 ++++++++++++++++++++++++++++++++++++++
 drivers/acpi/acpi_platform.c     |    3 +-
 drivers/acpi/internal.h          |    1 +
 drivers/acpi/scan.c              |    1 +
 drivers/pci/host/pci-xgene-msi.c |   60 ++++++++++++++++++++++++--
 include/linux/acpi_msi.h         |   37 ++++++++++++++++
 7 files changed, 183 insertions(+), 7 deletions(-)
 create mode 100644 drivers/acpi/acpi_msi.c
 create mode 100644 include/linux/acpi_msi.h