linux-stable/drivers/misc/ocxl
Ben Widawsky c6d7e1341c ocxl: Use pci core's DVSEC functionality
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@lists.ozlabs.org
Cc: Andrew Donnellan <ajd@linux.ibm.com>
Acked-by: Frederic Barrat <fbarrat@linux.ibm.com> (v1)
Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com>
Link: https://lore.kernel.org/r/163379789065.692348.7117946955275586530.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2021-10-29 11:53:52 -07:00
..
Kconfig powerpc updates for 5.10 2020-10-16 12:21:15 -07:00
Makefile ocxl: Provide global MMIO accessors for external drivers 2019-05-03 02:55:02 +10:00
afu_irq.c ocxl: Don't return trigger page when allocating an interrupt 2020-08-25 01:31:31 +10:00
config.c ocxl: Use pci core's DVSEC functionality 2021-10-29 11:53:52 -07:00
context.c ocxl: Update the Process Element Entry 2020-12-04 01:01:30 +11:00
core.c ocxl: simplify the return expression of free_function_dev() 2020-10-02 11:35:46 +02:00
file.c ocxl: use DEFINE_MUTEX() for mutex lock 2021-01-30 11:39:21 +11:00
link.c ocxl: Add new kernel traces 2020-12-04 01:01:30 +11:00
main.c powerpc/64s/radix: introduce options to disable use of the tlbie instruction 2019-09-05 14:22:41 +10:00
mmio.c ocxl: Provide global MMIO accessors for external drivers 2019-05-03 02:55:02 +10:00
ocxl_internal.h ocxl: Update the Process Element Entry 2020-12-04 01:01:30 +11:00
pasid.c
pci.c ocxl: Make ocxl_remove() static 2019-05-28 12:08:11 +10:00
sysfs.c ocxl: control via sysfs whether the FPGA is reloaded on a link reset 2020-07-15 11:07:19 +10:00
trace.c ocxl: Add trace points 2018-01-24 11:42:59 +11:00
trace.h ocxl: Add new kernel traces 2020-12-04 01:01:30 +11:00