Linux CXL
 help / color / mirror / Atom feed
* [RFC 0/2] type2 cxl initialization
@ 2025-02-20 20:00 alejandro.lucero-palau
  2025-02-20 20:00 ` [RFC type cxl initialization 1/2] cxl: add type2 device basic support alejandro.lucero-palau
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: alejandro.lucero-palau @ 2025-02-20 20:00 UTC (permalink / raw)
  To: linux-cxl, dan.j.williams; +Cc: Alejandro Lucero

From: Alejandro Lucero <alucerop@amd.com>

Avoiding to send the full type2 support patchset until there is an
agreement about how to do the cxl initialization from accel drivers.

Using the idea from fwctl for embedding cxl_dev_state in a private
accel driver struct and a macro helping for the allocation and
initialization of such struct.

The main problem is the amount of internal cxl structs which need to be
public for accel drivers which we tried to avoid since v1 of the type2
patchset history.

Alejandro Lucero (2):
  cxl: add type2 device basic support
  sfc: add cxl support

 drivers/cxl/core/mbox.c               |   3 +-
 drivers/cxl/core/memdev.c             |  25 +++
 drivers/cxl/core/pci.c                |   1 +
 drivers/cxl/core/regs.c               |   1 +
 drivers/cxl/cxl.h                     |  98 +----------
 drivers/cxl/cxlmem.h                  | 108 +------------
 drivers/cxl/cxlpci.h                  |  21 ---
 drivers/cxl/pci.c                     |  17 +-
 drivers/net/ethernet/sfc/Kconfig      |   6 +
 drivers/net/ethernet/sfc/Makefile     |   1 +
 drivers/net/ethernet/sfc/efx.c        |  15 +-
 drivers/net/ethernet/sfc/efx_cxl.c    |  53 ++++++
 drivers/net/ethernet/sfc/efx_cxl.h    |  40 +++++
 drivers/net/ethernet/sfc/net_driver.h |  10 ++
 include/cxl/cxl.h                     | 225 ++++++++++++++++++++++++++
 include/cxl/pci.h                     |  23 +++
 16 files changed, 417 insertions(+), 230 deletions(-)
 create mode 100644 drivers/net/ethernet/sfc/efx_cxl.c
 create mode 100644 drivers/net/ethernet/sfc/efx_cxl.h
 create mode 100644 include/cxl/cxl.h
 create mode 100644 include/cxl/pci.h


base-commit: d5d2106e2118c4e09fef131d9889f79559b95bfc
-- 
2.34.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-03-04 14:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-20 20:00 [RFC 0/2] type2 cxl initialization alejandro.lucero-palau
2025-02-20 20:00 ` [RFC type cxl initialization 1/2] cxl: add type2 device basic support alejandro.lucero-palau
2025-03-03 20:15   ` Dan Williams
2025-03-04 14:21     ` Alejandro Lucero Palau
2025-03-03 20:39   ` Ben Cheatham
2025-03-03 20:51     ` Dan Williams
2025-03-03 21:26       ` Ben Cheatham
2025-02-20 20:00 ` [RFC type cxl initialization 2/2] sfc: add cxl support alejandro.lucero-palau
2025-03-03 20:26   ` Dan Williams
2025-03-03 20:38 ` [RFC 0/2] type2 cxl initialization Ben Cheatham
2025-03-03 20:49   ` Dan Williams
2025-03-03 21:26     ` Ben Cheatham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox