Skip to content

PCI: Avoid capability searches in save/restore state

Bjorn Helgaas linux-pci lkml oe-lkp 2 versions – Applied

Status from this message: Applied to pci/enumeration with Ilpo's reviewed-by for v6.15.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesApplied
  2. v12 patches 5 repliesApplied

Changes in v2 from the cover letter

- Drop VC change that broke saving state (thanks, Ilpo)

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2PCI: Avoid pointless capability searchesdrivers/pci/pci.c drivers/pci/pcie/aspm.c+22 -203 replies
2/2PCI: Cache offset of Resizable BAR capabilitydrivers/pci/pci.c drivers/pci/pci.h drivers/pci/probe.c +1 more+10 -20 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchIlpo Järvinen
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

From: Bjorn Helgaas <[email protected]>

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/[email protected]

Signature · 1 line
2.34.1