mbox series

[RFC,0/2] PCI: Restore original PCI_COMMAND value in pcim_release

Message ID cb48fd68-9bfa-45b7-ac4f-d1c2b9b1f207@gmail.com
Headers show
Series PCI: Restore original PCI_COMMAND value in pcim_release | expand

Message

Heiner Kallweit March 29, 2024, 9:40 p.m. UTC
Philipp's series refactors bigger parts of PCI devres. To reduce
complexity of the series it may be good to simplify the current
devres handling as much as possible first.

The patches proposed in my series allow to remove the MVI and INTX
related member from struct pci_devres.

If Philipp's patches allow to remove the region handling from
pcim_release(), and flag pinned is moved to struct pci_dev, then
I think we can completely get rid of struct pci_devres.

Heiner Kallweit (2):
  PCI: Restore original PCI_COMMAND value in pcim_release
  PCI: Remove MWI and INTX related members from struct pci_devres

 drivers/pci/devres.c | 15 ++-------------
 drivers/pci/pci.c    | 11 +----------
 drivers/pci/pci.h    |  3 ---
 drivers/pci/probe.c  |  3 +++
 include/linux/pci.h  |  1 +
 5 files changed, 7 insertions(+), 26 deletions(-)