[PATCH v1 0/2] PCI: dwc: Add support for 64-bit MSI target addresses

From: Will McVicker
Date: Tue Aug 09 2022 - 14:02:00 EST


Hi,

I have two patches that address a couple of issues I've run into with the
PCIe DWC host driver:
(1) the host driver fails to probe when ZONE_DMA32 is disabled.
(2) the host driver will fail to probe if a 32-bit address is not
available even on devices that support 64-bit target addresses.

I have addressed both of these issues with the two patches (details can
found in each of the patch commit messages). Please take a look and let
me know your thoughts.

With regards to testing, I have verified them on Android with a Pixel 6
device on the 5.19 + pci-v5.20-changes kernel. My testing included running
with both ZONE_DMA32 and swiotlb disabled.

Thanks,
Will

Will McVicker (2):
PCI: dwc: drop dependency on ZONE_DMA32
PCI: dwc: add support for 64-bit MSI target address

.../pci/controller/dwc/pcie-designware-host.c | 42 ++++++++++++-------
drivers/pci/controller/dwc/pcie-designware.c | 9 ++++
drivers/pci/controller/dwc/pcie-designware.h | 6 +++
3 files changed, 41 insertions(+), 16 deletions(-)

--
2.37.1.559.g78731f0fdb-goog