Linux PCI subsystem development
 help / color / mirror / Atom feed
* [v5 0/4] Introduce generic capability search functions
@ 2025-03-21 16:37 Hans Zhang
  2025-03-21 16:38 ` [v5 1/4] PCI: " Hans Zhang
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Hans Zhang @ 2025-03-21 16:37 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. dwc/cdns use common PCI host bridge APIs for finding the capabilities.
3. Use cdns_pcie_find_*capability to avoid hardcode.

Changes since v4:
- Resolved [v4 1/4] compilation warning.
- The patch subject and commit message were modified.

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: Use common PCI host bridge APIs for finding the capabilities
  PCI: cadence: Use common PCI host bridge APIs for finding the
    capabilities
  PCI: cadence: Use cdns_pcie_find_*capability to avoid hardcode.

 .../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                             | 86 +++++++++++++++++++
 include/linux/pci.h                           | 16 +++-
 6 files changed, 157 insertions(+), 89 deletions(-)


base-commit: a1cffe8cc8aef85f1b07c4464f0998b9785b795a
-- 
2.25.1


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

end of thread, other threads:[~2025-03-23 15:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-21 16:37 [v5 0/4] Introduce generic capability search functions Hans Zhang
2025-03-21 16:38 ` [v5 1/4] PCI: " Hans Zhang
2025-03-21 17:06   ` Lukas Wunner
2025-03-22 15:47     ` Hans Zhang
2025-03-22 16:11       ` Lukas Wunner
2025-03-23 15:36         ` Hans Zhang
2025-03-21 20:05   ` kernel test robot
2025-03-21 20:57   ` kernel test robot
2025-03-21 20:57   ` kernel test robot
2025-03-21 16:38 ` [v5 2/4] PCI: dwc: Use common PCI host bridge APIs for finding the capabilities Hans Zhang
2025-03-21 16:38 ` [v5 3/4] PCI: cadence: " Hans Zhang
2025-03-21 16:38 ` [v5 4/4] PCI: cadence: Use cdns_pcie_find_*capability to avoid hardcode Hans Zhang

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