mbox series

[GIT,PULL] PCI fixes for v5.16

Message ID 20211111195040.GA1345641@bhelgaas
State New
Headers show
Series [GIT,PULL] PCI fixes for v5.16 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci-v5.16-fixes-1

Message

Bjorn Helgaas Nov. 11, 2021, 7:50 p.m. UTC
The following changes since commit dda4b381f05d447a0ae31e2e44aeb35d313a311f:

  Merge branch 'remotes/lorenzo/pci/xgene' (2021-11-05 11:28:53 -0500)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci-v5.16-fixes-1

for you to fetch changes up to e0217c5ba10d7bf640f038b2feae58e630f2f958:

  Revert "PCI: Use to_pci_driver() instead of pci_dev->driver" (2021-11-11 13:36:22 -0600)

N.B.: My for-linus branch, which contains these, also includes a revert of
041284181226 ("of/irq: Allow matching of an interrupt-map local to an
interrupt controller").  That revert is *not* included here and we hope we
don't need it, but that issue is not resolved yet.

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

  - Revert conversion to struct device.driver instead of struct
    pci_dev.driver.  The device.driver is set earlier, and using it
    caused the PCI core to call driver PM entry points before .probe()
    and after .remove(), when the driver isn't prepared.  This caused
    NULL pointer dereferences in i2c_designware_pci and probably other
    driver issues (Bjorn Helgaas)

----------------------------------------------------------------
Bjorn Helgaas (2):
      Revert "PCI: Remove struct pci_dev->driver"
      Revert "PCI: Use to_pci_driver() instead of pci_dev->driver"

 drivers/pci/iov.c        | 24 +++++++++---------------
 drivers/pci/pci-driver.c | 37 ++++++++++++++++++++-----------------
 drivers/pci/pci.c        | 17 ++++++++---------
 drivers/pci/pcie/err.c   |  8 ++++----
 include/linux/pci.h      |  1 +
 5 files changed, 42 insertions(+), 45 deletions(-)

Comments

pr-tracker-bot@kernel.org Nov. 11, 2021, 11:23 p.m. UTC | #1
The pull request you sent on Thu, 11 Nov 2021 13:50:40 -0600:

> git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci-v5.16-fixes-1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/5833291ab6de9c3e2374336b51c814e515e8f3a5

Thank you!