Skip to content

PCI: mediatek: Add MSI support for MT2712 and MT7622

[email protected] linux-arm-kernel linux-devicetree linux-mediatek linux-pci lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v11 patch 0 repliesSuperseded

Changes in v2 from the cover letter

- Add the first two patches into this patchset.
- Using -ENODEV instead of PTR_ERR if msi_domain == NULL
- Change the error logs with consistency of lower-case
- Using has_msi instead of support_msi to make the parameter name a bit shorter

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PCI: mediatek: Fix return value in case of errordrivers/pci/host/pcie-mediatek.c+3 -30 replies
2/3PCI: mediatek: take use of bus->sysdata to get host private datadrivers/pci/host/pcie-mediatek.c+1 -20 replies
3/3PCI: mediatek: add msi support for MT2712 and MT7622drivers/pci/host/pcie-mediatek.c+147 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRyder Lee
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] PCI: mediatek: Add MSI support for MT2712 and MT7622

From: Honghui Zhang <[email protected]>

MT2712 and MT7622's PCIe host controller support MSI, but only 32bit MSI address are supportted. It connect to GIC with the same IRQ number of INTx IRQ, so it shares the same IRQ with INTx IRQ.

This patchset add MSI support for MT2712 and MT7622. Also do some code fixup and cleanups.

Change Since V1:
- Add the first two patches into this patchset.
- Using -ENODEV instead of PTR_ERR if msi_domain == NULL
- Change the error logs with consistency of lower-case
- Using has_msi instead of support_msi to make the parameter name a bit shorter

Honghui Zhang (3):
PCI: mediatek: Fix return value in case of error
PCI: mediatek: take use of bus->sysdata to get host private data
PCI: mediatek: add msi support for MT2712 and MT7622

 drivers/pci/host/pcie-mediatek.c | 157 +++++++++++++++++++++++++++++++++++++--
 1 file changed, 151 insertions(+), 6 deletions(-)
Signature · 1 line
2.6.4