[PATCH v2 8/9] ocxl: Use pci core's DVSEC functionality

Andrew Donnellan ajd at linux.ibm.com
Tue Sep 28 15:52:38 AEST 2021


On 24/9/21 3:26 am, Ben Widawsky wrote:
> Reduce maintenance burden of DVSEC query implementation by using the
> centralized PCI core implementation.
> 
> There are two obvious places to simply drop in the new core
> implementation. There remains find_dvsec_from_pos() which would benefit
> from using a core implementation. As that change is less trivial it is
> reserved for later.
> 
> Cc: linuxppc-dev at lists.ozlabs.org
> Cc: Andrew Donnellan <ajd at linux.ibm.com>
> Acked-by: Frederic Barrat <fbarrat at linux.ibm.com> (v1)
> Signed-off-by: Ben Widawsky <ben.widawsky at intel.com>

Looks fine, but we should clean up find_dvsec_from_pos() afterwards.

Reviewed-by: Andrew Donnellan <ajd at linux.ibm.com>

-- 
Andrew Donnellan              OzLabs, ADL Canberra
ajd at linux.ibm.com             IBM Australia Limited


More information about the Linuxppc-dev mailing list