public inbox for linux-cxl@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Jiang <dave.jiang@intel.com>
To: linux-cxl@vger.kernel.org
Cc: alejandro.lucero-palau@amd.com, dan.j.williams@intel.com,
	ira.weiny@intel.com, vishal.l.verma@intel.com,
	alison.schofield@intel.com, Jonathan.Cameron@huawei.com,
	dave@stgolabs.net, fan.ni@samsung.com
Subject: [PATCH 0/2 v2] cxl: Pull out mailbox bits to be independent of cxl_dev_state
Date: Tue, 27 Aug 2024 14:49:48 -0700	[thread overview]
Message-ID: <20240827215116.536126-1-dave.jiang@intel.com> (raw)

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'. In
v2 Jonathan suggested that we keep cxl_mbox embedded. So I moved it back to be
embedded. For the type2 devices that does not use mailbox, it can just not have
the mailbox struct at all.

---

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      | 91 +++++++++++++++++++++++++++++++++++++++++-----------------------
 drivers/cxl/core/memdev.c    | 41 +++++++++++++++++------------
 drivers/cxl/cxlmem.h         | 22 +++++++---------
 drivers/cxl/pci.c            | 82 ++++++++++++++++++++++++++++++++++++++-------------------
 drivers/cxl/pmem.c           | 10 ++++---
 drivers/cxl/security.c       | 23 ++++++++--------
 include/linux/cxl/mailbox.h  | 27 +++++++++++++++++++
 tools/testing/cxl/test/mem.c | 44 +++++++++++++++++++++++--------
 9 files changed, 228 insertions(+), 113 deletions(-)

             reply	other threads:[~2024-08-27 21:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-27 21:49 Dave Jiang [this message]
2024-08-27 21:49 ` [PATCH v2 1/2] cxl: Move mailbox related bits to the same context Dave Jiang
2024-08-28 11:54   ` Jonathan Cameron
2024-08-29 15:41   ` Alison Schofield
2024-08-29 15:51     ` Dave Jiang
2024-08-29 16:50       ` Alison Schofield
2024-08-27 21:49 ` [PATCH v2 2/2] cxl: Convert cxl_internal_send_cmd() to use 'struct cxl_mailbox' as input Dave Jiang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240827215116.536126-1-dave.jiang@intel.com \
    --to=dave.jiang@intel.com \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=alejandro.lucero-palau@amd.com \
    --cc=alison.schofield@intel.com \
    --cc=dan.j.williams@intel.com \
    --cc=dave@stgolabs.net \
    --cc=fan.ni@samsung.com \
    --cc=ira.weiny@intel.com \
    --cc=linux-cxl@vger.kernel.org \
    --cc=vishal.l.verma@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox