From: Bjorn Helgaas <helgaas@kernel.org>
To: linux-pci@vger.kernel.org
Cc: "Alex Williamson" <alex.williamson@redhat.com>,
"Christian König" <ckoenig.leichtzumerken@gmail.com>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
linux-kernel@vger.kernel.org,
"Bjorn Helgaas" <bhelgaas@google.com>
Subject: [PATCH v2 0/2] PCI: Avoid capability searches in save/restore state
Date: Fri, 14 Feb 2025 18:02:59 -0600 [thread overview]
Message-ID: <20250215000301.175097-1-helgaas@kernel.org> (raw)
From: Bjorn Helgaas <bhelgaas@google.com>
Reduce the number of times we search config space for PCI capabilities when
saving and restoring device state.
Bjorn Helgaas (2):
PCI: Avoid pointless capability searches
PCI: Cache offset of Resizable BAR capability
drivers/pci/pci.c | 36 +++++++++++++++++++++---------------
drivers/pci/pci.h | 1 +
drivers/pci/pcie/aspm.c | 15 ++++++++-------
drivers/pci/probe.c | 1 +
include/linux/pci.h | 1 +
5 files changed, 32 insertions(+), 22 deletions(-)
v2 changes:
- Drop VC change that broke saving state (thanks, Ilpo)
v1: https://lore.kernel.org/r/20250208050329.1092214-1-helgaas@kernel.org
--
2.34.1
next reply other threads:[~2025-02-15 0:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-15 0:02 Bjorn Helgaas [this message]
2025-02-15 0:03 ` [PATCH v2 1/2] PCI: Avoid pointless capability searches Bjorn Helgaas
2025-02-15 7:34 ` Ilpo Järvinen
2025-02-21 2:20 ` Kohei Enju
2025-03-04 14:12 ` kernel test robot
2025-03-04 15:34 ` Bjorn Helgaas
2025-02-15 0:03 ` [PATCH v2 2/2] PCI: Cache offset of Resizable BAR capability Bjorn Helgaas
2025-02-18 22:46 ` [PATCH v2 0/2] PCI: Avoid capability searches in save/restore state Bjorn Helgaas
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=20250215000301.175097-1-helgaas@kernel.org \
--to=helgaas@kernel.org \
--cc=alex.williamson@redhat.com \
--cc=bhelgaas@google.com \
--cc=ckoenig.leichtzumerken@gmail.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.