[PATCH v6 0/3] PCI: designware-ep: Fix DBI access before core init

From: Manivannan Sadhasivam
Date: Fri Oct 20 2023 - 02:44:00 EST


Hello,

This series is the continuation of previous work by Vidya Sagar [1] to fix the
issues related to accessing DBI register space before completing the core
initialization in some EP platforms like Tegra194/234 and Qcom SM8450.

Since Vidya is busy with other work and didn't respond to my queries [2], I took
the previous series, rebased it on top of pci/next (6e2fca71e187), removed
ep_init_late() callback as it is no longer necessary and posted v6.

I've also kept the Ack given by Jingoo Han for patch 1/3 as there is no drastic
change.

Testing
=======

I've tested the series on Qcom SM8450 based dev board. I also expect it to work
on Tegra platforms as well but it'd be good if Vidya or someone could test it.

- Mani

[1] https://lore.kernel.org/linux-pci/20221013175712.7539-1-vidyas@xxxxxxxxxx/
[2] https://lore.kernel.org/linux-pci/20230825123843.GD6005@thinkpad/

Changes in v6:

- Rebased on top of pci/next (6e2fca71e187)
- removed ep_init_late() callback as it is no longer necessary

For previous changelog, please refer [1].

Vidya Sagar (3):
PCI: designware-ep: Fix DBI access before core init
PCI: qcom-ep: Refactor EP initialization completion
PCI: tegra194: Refactor EP initialization completion

.../pci/controller/dwc/pcie-designware-ep.c | 142 +++++++++++-------
drivers/pci/controller/dwc/pcie-designware.h | 9 +-
drivers/pci/controller/dwc/pcie-qcom-ep.c | 4 +-
drivers/pci/controller/dwc/pcie-tegra194.c | 4 +-
4 files changed, 89 insertions(+), 70 deletions(-)


base-commit: 6e2fca71e187932281c7bf4faed1b40e6d9627d6
--
2.25.1