[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211111195040.GA1345641@bhelgaas>
Date: Thu, 11 Nov 2021 13:50:40 -0600
From: Bjorn Helgaas <helgaas@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org,
Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
Robert Święcki <robert@...ecki.net>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
"Rafael J. Wysocki" <rafael@...nel.org>
Subject: [GIT PULL] PCI fixes for v5.16
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(-)
Powered by blists - more mailing lists