mbox series

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

Message ID 20231211085256.31292-1-jianjun.wang@mediatek.com (mailing list archive)
Headers show
Series PCI: mediatek: Allocate MSI address with dmam_alloc_coherent() | expand

Message

Jianjun Wang (王建军) Dec. 11, 2023, 8:52 a.m. UTC
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(-)