[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250321101710.371480-1-18255117159@163.com>
Date: Fri, 21 Mar 2025 18:17:06 +0800
From: Hans Zhang <18255117159@....com>
To: lpieralisi@...nel.org
Cc: kw@...ux.com,
manivannan.sadhasivam@...aro.org,
robh@...nel.org,
bhelgaas@...gle.com,
jingoohan1@...il.com,
thomas.richard@...tlin.com,
linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org,
Hans Zhang <18255117159@....com>
Subject: [v4 0/4] Introduce generic capability search functions
1. Introduce generic capability search functions.
2. Replace dw_pcie_find_capability() and dw_pcie_find_ext_capability().
3. Add configuration space capability search API.
4. Use cdns_pcie_find_*capability to find capability offset instead of
hardcore.
Changes since v3:
- Resolved [v3 1/4] compilation error.
- Other patches are not modified.
Changes since v2:
- Add and split into a series of patches.
Hans Zhang (4):
PCI: Introduce generic capability search functions
PCI: dwc: Replace dw_pcie_find_capability() and
dw_pcie_find_ext_capability()
PCI: cadence: Add configuration space capability search API
PCI: cadence: Use cdns_pcie_find_*capability to find capability offset
instead of hardcore
.../pci/controller/cadence/pcie-cadence-ep.c | 40 +++++----
drivers/pci/controller/cadence/pcie-cadence.c | 25 ++++++
drivers/pci/controller/cadence/pcie-cadence.h | 8 +-
drivers/pci/controller/dwc/pcie-designware.c | 71 ++--------------
drivers/pci/pci.c | 83 +++++++++++++++++++
include/linux/pci.h | 14 +++-
6 files changed, 152 insertions(+), 89 deletions(-)
base-commit: a1cffe8cc8aef85f1b07c4464f0998b9785b795a
--
2.25.1
Powered by blists - more mailing lists