Linux CXL
 help / color / mirror / Atom feed
* [PATCH 0/2] cxl: Pull out mailbox bits to be independent of cxl_dev_state.
@ 2024-07-24 18:55 Dave Jiang
  2024-07-24 18:55 ` [PATCH 1/2] cxl: Move mailbox related bits to the same context Dave Jiang
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Dave Jiang @ 2024-07-24 18:55 UTC (permalink / raw)
  To: linux-cxl
  Cc: alejandro.lucero-palau, dan.j.williams, ira.weiny, vishal.l.verma,
	alison.schofield, Jonathan.Cameron, dave

Hi Alejandro,
Please feel free to pull in the patches in this series into your type2 series.

The patches pulls out the related mailbox bits and form a 'struct cxl_mailbox'. A pointer
is created to point to that in 'struct cxl_dev_state'. The cxl_mailbox is independently
allocated if the mailbox register is discovered. This should separate the mailbox out
to be used by CXL type3 and type2 devices.

---

Dave Jiang (2):
      cxl: Move mailbox related bits to the same context
      cxl: Convert cxl_internal_send_cmd() to use 'struct cxl_mailbox' as input

 MAINTAINERS                  |   1 +
 drivers/cxl/core/mbox.c      | 139 ++++++++++++++++++++++++++++++++++++++++++++++++---------------
 drivers/cxl/core/memdev.c    |  55 ++++++++++++++++---------
 drivers/cxl/cxlmem.h         |  22 +++++-----
 drivers/cxl/pci.c            |  88 +++++++++++++++++++++++++++-------------
 drivers/cxl/pmem.c           |  13 ++++--
 drivers/cxl/security.c       |  23 ++++++-----
 include/linux/cxl/mailbox.h  |  28 +++++++++++++
 tools/testing/cxl/test/mem.c |  46 ++++++++++++++++-----
 9 files changed, 301 insertions(+), 114 deletions(-)

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

end of thread, other threads:[~2024-08-27 21:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-24 18:55 [PATCH 0/2] cxl: Pull out mailbox bits to be independent of cxl_dev_state Dave Jiang
2024-07-24 18:55 ` [PATCH 1/2] cxl: Move mailbox related bits to the same context Dave Jiang
2024-07-24 22:02   ` fan
2024-08-13  6:59     ` Alejandro Lucero Palau
2024-08-13 15:38       ` Dave Jiang
2024-08-15 16:57   ` Jonathan Cameron
2024-08-15 17:10     ` Dave Jiang
2024-08-27 15:27       ` Jonathan Cameron
2024-08-27 21:48         ` Dave Jiang
2024-07-24 18:55 ` [PATCH 2/2] cxl: Convert cxl_internal_send_cmd() to use 'struct cxl_mailbox' as input Dave Jiang
2024-07-24 22:08   ` fan
2024-08-15 17:00   ` Jonathan Cameron
2024-08-13  7:11 ` [PATCH 0/2] cxl: Pull out mailbox bits to be independent of cxl_dev_state Alejandro Lucero Palau

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