[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250208050329.1092214-1-helgaas@kernel.org>
Date: Fri, 7 Feb 2025 23:03:27 -0600
From: Bjorn Helgaas <helgaas@...nel.org>
To: Alex Williamson <alex.williamson@...hat.com>,
Christian König <ckoenig.leichtzumerken@...il.com>
Cc: linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org,
Bjorn Helgaas <bhelgaas@...gle.com>
Subject: [PATCH 0/2] PCI: Avoid capability searches in save/restore state
From: Bjorn Helgaas <bhelgaas@...gle.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
Powered by blists - more mailing lists