From: Heiner Kallweit <hkallweit1@gmail.com>
To: Philipp Stanner <pstanner@redhat.com>,
Bjorn Helgaas <bhelgaas@google.com>
Cc: "linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>
Subject: [PATCH RFC 0/2] PCI: Restore original PCI_COMMAND value in pcim_release
Date: Fri, 29 Mar 2024 22:40:57 +0100 [thread overview]
Message-ID: <cb48fd68-9bfa-45b7-ac4f-d1c2b9b1f207@gmail.com> (raw)
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
next reply other threads:[~2024-03-29 21:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-29 21:40 Heiner Kallweit [this message]
2024-03-29 21:41 ` [PATCH RFC 1/2] PCI: Restore original PCI_COMMAND value in pcim_release Heiner Kallweit
2024-03-29 21:42 ` [PATCH RFC 2/2] PCI: Remove MWI and INTX related members from struct pci_devres Heiner Kallweit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cb48fd68-9bfa-45b7-ac4f-d1c2b9b1f207@gmail.com \
--to=hkallweit1@gmail.com \
--cc=bhelgaas@google.com \
--cc=linux-pci@vger.kernel.org \
--cc=pstanner@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox