lkml.org 
[lkml]   [2017]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] PCI: mediatek: Add MSI support for MT2712 and MT7622
Date
From: Honghui Zhang <honghui.zhang@mediatek.com>

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(-)

--
2.6.4

\
 
 \ /
  Last update: 2017-08-14 15:05    [W:0.059 / U:0.296 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site