public inbox for linux-pci@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC 0/2] PCI: Restore original PCI_COMMAND value in pcim_release
@ 2024-03-29 21:40 Heiner Kallweit
  2024-03-29 21:41 ` [PATCH RFC 1/2] " Heiner Kallweit
  2024-03-29 21:42 ` [PATCH RFC 2/2] PCI: Remove MWI and INTX related members from struct pci_devres Heiner Kallweit
  0 siblings, 2 replies; 3+ messages in thread
From: Heiner Kallweit @ 2024-03-29 21:40 UTC (permalink / raw)
  To: Philipp Stanner, Bjorn Helgaas; +Cc: linux-pci@vger.kernel.org

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

-- 
2.44.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-29 21:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-29 21:40 [PATCH RFC 0/2] PCI: Restore original PCI_COMMAND value in pcim_release Heiner Kallweit
2024-03-29 21:41 ` [PATCH RFC 1/2] " Heiner Kallweit
2024-03-29 21:42 ` [PATCH RFC 2/2] PCI: Remove MWI and INTX related members from struct pci_devres Heiner Kallweit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox