mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [v3 0/4] Introduce generic capability search functions
@ 2025-03-21  4:03 Hans Zhang
  2025-03-21  4:03 ` [v3 1/4] PCI: " Hans Zhang
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Hans Zhang @ 2025-03-21  4:03 UTC (permalink / raw)
  To: lpieralisi
  Cc: kw, manivannan.sadhasivam, robh, bhelgaas, jingoohan1,
	thomas.richard, linux-pci, linux-kernel, Hans Zhang

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.

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                           | 13 ++-
 6 files changed, 151 insertions(+), 89 deletions(-)


base-commit: a1cffe8cc8aef85f1b07c4464f0998b9785b795a
-- 
2.25.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-03-21  9:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-21  4:03 [v3 0/4] Introduce generic capability search functions Hans Zhang
2025-03-21  4:03 ` [v3 1/4] PCI: " Hans Zhang
2025-03-21  9:37   ` kernel test robot
2025-03-21  9:37   ` kernel test robot
2025-03-21  9:49   ` kernel test robot
2025-03-21  4:03 ` [v3 2/4] PCI: dwc: Replace dw_pcie_find_capability() and dw_pcie_find_ext_capability() Hans Zhang
2025-03-21  4:03 ` [v3 3/4] PCI: cadence: Add configuration space capability search API Hans Zhang
2025-03-21  4:03 ` [v3 4/4] PCI: cadence: Use cdns_pcie_find_*capability to find capability offset instead of hardcore Hans Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®