Skip to content

PCI: mediatek: Allocate MSI address with dmam_alloc_coherent()

Jianjun Wang linux-arm-kernel 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. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

1. Add a separate patch for pcie-mediatek-gen3.c to prevent break the probe flow when MSI init fails.
2. Change the location of allocate the MSI address to prevent break the probe flow.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PCI: mediatek: Allocate MSI address with dmam_alloc_coherent()drivers/pci/controller/pcie-mediatek.c+16 -83 replies
2/3PCI: mediatek-gen3: Do not break probe flow when MSI init failsdrivers/pci/controller/pcie-mediatek-gen3.c+33 -350 replies
3/3PCI: mediatek-gen3: Allocate MSI address with dmam_alloc_coherent()drivers/pci/controller/pcie-mediatek-gen3.c+41 -310 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/3] PCI: mediatek: Allocate MSI address with dmam_alloc_coherent()

These series of patches change the allocation of MSI address on MediaTek platform, which uses dmam_alloc_coherent() to allocate the MSI address.

Changes in v2:
1. Add a separate patch for pcie-mediatek-gen3.c to prevent break the probe flow when MSI init fails.
2. Change the location of allocate the MSI address to prevent break the probe flow.

Jianjun Wang (3):
PCI: mediatek: Allocate MSI address with dmam_alloc_coherent()
PCI: mediatek-gen3: Do not break probe flow when MSI init fails
PCI: mediatek-gen3: Allocate MSI address with dmam_alloc_coherent()

 drivers/pci/controller/pcie-mediatek-gen3.c | 126 +++++++++++---------
 drivers/pci/controller/pcie-mediatek.c      |  24 ++--
 2 files changed, 83 insertions(+), 67 deletions(-)
Signature · 1 line
2.18.0