]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cxl: export internal structs for external Type2 drivers
authorAlejandro Lucero <alucerop@amd.com>
Fri, 6 Mar 2026 16:47:39 +0000 (16:47 +0000)
committerDave Jiang <dave.jiang@intel.com>
Mon, 16 Mar 2026 23:24:29 +0000 (16:24 -0700)
commit005869886d1d370afb6c10cd40709d956960e9c2
tree515c4b2cd1dd984af1b58c72ff879bbff776e92c
parent9a775c07bb04384f7c03a35dd04818ed818c1f71
cxl: export internal structs for external Type2 drivers

In preparation for type2 support, move structs and functions a type2
driver will need to access to into a new shared header file.

Differentiate between public and private data to be preserved by type2
drivers.

Signed-off-by: Alejandro Lucero <alucerop@amd.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Tested-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Gregory Price <gourry@gourry.net>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Link: https://patch.msgid.link/20260306164741.3796372-3-alejandro.lucero-palau@amd.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/cxl/cxl.h
drivers/cxl/cxlmem.h
include/cxl/cxl.h [new file with mode: 0644]