[GIT PULL] PCI fixes for v5.17

Bjorn Helgaas
2022-02-04T21:30:42Z

The following changes since commit e783362eb54cd99b2cac8b3a9aeac942e6f6ac07:

Linux 5.17-rc1 (2022-01-23 10:12:53 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git tags/pci-v5.17-fixes-3

for you to fetch changes up to 7dd3876205df92e07d824fe2264b38e0b8a9eec1:

PCI: kirin: Add dev struct for of_device_get_match_data() (2022-02-04 15:14:26 -0600)

N.B. These have been in linux-next for a couple days as 71c96af28da5
("PCI: kirin: Add dev struct for of_device_get_match_data()"), but I
amended that commit to add the reporter's info to the commit log.

----------------------------------------------------------------
PCI fixes:

- Restructure j721e_pcie_probe() so we don't dereference a NULL pointer
(Bjorn Helgaas)

- Add a kirin_pcie_data struct to identify different Kirin variants to
fix probe failure for controllers with an internal PHY (Bjorn Helgaas)

----------------------------------------------------------------
Bjorn Helgaas (2):
PCI: j721e: Initialize pcie->cdns_pcie before using it
PCI: kirin: Add dev struct for of_device_get_match_data()

drivers/pci/controller/cadence/pci-j721e.c | 85 +++++++++++++++---------------
drivers/pci/controller/dwc/pcie-kirin.c | 31 ++++++-----
2 files changed, 60 insertions(+), 56 deletions(-)