]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cxl/pci: Introduce cxl_gpf_get_dvsec()
authorDavidlohr Bueso <dave@stgolabs.net>
Thu, 20 Feb 2025 22:02:32 +0000 (14:02 -0800)
committerDave Jiang <dave.jiang@intel.com>
Fri, 14 Mar 2025 22:54:59 +0000 (15:54 -0700)
commit021b7e42fa7bc2c30a4bf676355f1079aa0fe6be
tree9e3b4e83a449d0bb9098803eab0d7bd9b116b570
parenta52b6a2c1c997b5047a724ccde955910f6150a97
cxl/pci: Introduce cxl_gpf_get_dvsec()

Add a helper to fetch the port/device GPF dvsecs. This is
currently only used for ports, but a later patch to export
dirty count to users will make use of the device one.

Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Reviewed-by: Li Ming <ming.li@zohomail.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://patch.msgid.link/20250220220235.276831-2-dave@stgolabs.net
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/cxl/core/pci.c
drivers/cxl/cxl.h