[GIT PULL] PCI fixes for v5.16

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux