On 24/9/21 3:26 am, Ben Widawsky wrote:
Add pci_find_dvsec_capability to locate a Designated Vendor-Specific
Extended Capability with the specified DVSEC ID.

The Designated Vendor-Specific Extended Capability (DVSEC) allows one or
more vendor specific capabilities that aren't tied to the vendor ID of
the PCI component.

DVSEC is critical for both the Compute Express Link (CXL) driver as well
as the driver for OpenCAPI coherent accelerator (OCXL).

Cc: David E. Box <david.e....@linux.intel.com>
Cc: Jonathan Cameron <jonathan.came...@huawei.com>
Cc: Bjorn Helgaas <bhelg...@google.com>
Cc: Dan Williams <dan.j.willi...@intel.com>
Cc: linux-...@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
Cc: Andrew Donnellan <a...@linux.ibm.com>
Cc: Lu Baolu <baolu...@linux.intel.com>
Reviewed-by: Frederic Barrat <fbar...@linux.ibm.com>
Signed-off-by: Ben Widawsky <ben.widaw...@intel.com>

Looks good to me, it's essentially identical to the existing implementation in ocxl.

Reviewed-by: Andrew Donnellan <a...@linux.ibm.com>

--
Andrew Donnellan              OzLabs, ADL Canberra
a...@linux.ibm.com             IBM Australia Limited

Reply via email to