[PATCH 0/2] PCI: Avoid capability searches in save/restore state

Bjorn Helgaas posted 2 patches 12 months ago
There is a newer version of this series
drivers/pci/pci.c       | 36 +++++++++++++++++++++---------------
drivers/pci/pci.h       |  1 +
drivers/pci/pcie/aspm.c | 15 ++++++++-------
drivers/pci/probe.c     |  1 +
drivers/pci/vc.c        | 22 +++++++++++-----------
include/linux/pci.h     |  1 +
6 files changed, 43 insertions(+), 33 deletions(-)
[PATCH 0/2] PCI: Avoid capability searches in save/restore state
Posted by Bjorn Helgaas 12 months ago
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 +
 drivers/pci/vc.c        | 22 +++++++++++-----------
 include/linux/pci.h     |  1 +
 6 files changed, 43 insertions(+), 33 deletions(-)

-- 
2.34.1
Re: [PATCH 0/2] PCI: Avoid capability searches in save/restore state
Posted by Bjorn Helgaas 11 months, 4 weeks ago
On Fri, Feb 07, 2025 at 11:03:27PM -0600, Bjorn Helgaas wrote:
> 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 +
>  drivers/pci/vc.c        | 22 +++++++++++-----------
>  include/linux/pci.h     |  1 +
>  6 files changed, 43 insertions(+), 33 deletions(-)

Applied to pci/enumeration for v6.15, please speak up if you see a
problem.