linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Introduce pci_find_next_dvsec_capability() to simplify the code
@ 2023-08-08  4:08 Xiongfeng Wang
  2023-08-08  4:08 ` [PATCH v2 1/2] PCI: Add pci_find_next_dvsec_capability to find next Designated VSEC Xiongfeng Wang
  2023-08-08  4:08 ` [PATCH v2 2/2] ocxl: use pci_find_next_dvsec_capability() to simplify the code Xiongfeng Wang
  0 siblings, 2 replies; 4+ messages in thread
From: Xiongfeng Wang @ 2023-08-08  4:08 UTC (permalink / raw)
  To: bhelgaas, fbarrat, ajd, mpe, npiggin, christophe.leroy, arnd,
	gregkh, ben.widawsky
  Cc: linux-pci, yangyingliang, helgaas, david.e.box, jonathan.cameron,
	linuxppc-dev, wangxiongfeng2

Some devices may have several DVSEC (Designated Vendor-Specific Extended
Capability) entries with the same DVSEC ID. Introduce
pci_find_next_dvsec_capability() to simplify the code.

ChangeLog:
v1->v2:  Add Reviewed-by and Acked-by tags
	 Modify commit message and document a little for the first patch

Xiongfeng Wang (2):
  PCI: Add pci_find_next_dvsec_capability to find next Designated VSEC
  ocxl: use pci_find_next_dvsec_capability() to simplify the code

 arch/powerpc/platforms/powernv/ocxl.c | 20 ++------------
 drivers/misc/ocxl/config.c            | 21 +++++----------
 drivers/pci/pci.c                     | 39 ++++++++++++++++++---------
 include/linux/pci.h                   |  2 ++
 include/misc/ocxl-config.h            |  4 ---
 5 files changed, 36 insertions(+), 50 deletions(-)

-- 
2.20.1


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

end of thread, other threads:[~2023-08-08 15:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-08  4:08 [PATCH v2 0/2] Introduce pci_find_next_dvsec_capability() to simplify the code Xiongfeng Wang
2023-08-08  4:08 ` [PATCH v2 1/2] PCI: Add pci_find_next_dvsec_capability to find next Designated VSEC Xiongfeng Wang
2023-08-08 15:58   ` Bjorn Helgaas
2023-08-08  4:08 ` [PATCH v2 2/2] ocxl: use pci_find_next_dvsec_capability() to simplify the code Xiongfeng Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).