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

Jianjun Wang
2023-12-11T08:54:12Z

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