Linux CXL
 help / color / mirror / Atom feed
From: Davidlohr Bueso <dave@stgolabs.net>
To: jonathan.cameron@huawei.com
Cc: fan.ni@samsung.com, dan.j.williams@intel.com,
	a.manzanares@samsung.com, dave@stgolabs.net,
	linux-cxl@vger.kernel.org
Subject: [PATCH -qemu 0/3] hw/cxl: Support dirty shutdown
Date: Fri, 20 Dec 2024 08:00:23 -0800	[thread overview]
Message-ID: <20241220160026.204055-1-dave@stgolabs.net> (raw)

Hello,

The following adds support for emulating dirty shutdown semantics.

Patch 1 is a trivial cleanup, patch 2 adds get/set shutdown state
commands, and patch 3 introduces a new 'dirty-shutdown=N' parameter
for type3 memdevs which explicitly sets the dirty shutdown counter
to whatever passed value.

This series aids testing Global Persistent Flush support in the kernel.

Applies against the 'cxl-2024-11-27' branch in Jonathan's tree.

Thanks!

Davidlohr Bueso (3):
  cxl: Fix mbox cmd enum order
  cxl: Support Get/Set Shutdown State commands
  cxl/type3: Add 'dirty-shutdown' parameter

 hw/cxl/cxl-mailbox-utils.c  | 91 +++++++++++++++++++++++++++++++++++--
 hw/mem/cxl_type3.c          |  1 +
 include/hw/cxl/cxl_device.h |  5 ++
 3 files changed, 92 insertions(+), 5 deletions(-)

-- 
2.39.5


             reply	other threads:[~2024-12-20 21:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-20 16:00 Davidlohr Bueso [this message]
2024-12-20 16:00 ` [PATCH 1/3] cxl: Fix mbox cmd enum order Davidlohr Bueso
2024-12-21 19:05   ` Fan Ni
2024-12-20 16:00 ` [PATCH 2/3] cxl: Support Get/Set Shutdown State commands Davidlohr Bueso
2024-12-21 19:18   ` Fan Ni
2024-12-23 19:57     ` Jonathan Cameron
2024-12-23 20:01   ` Jonathan Cameron
2024-12-20 16:00 ` [PATCH 3/3] cxl/type3: Add 'dirty-shutdown' parameter Davidlohr Bueso
2024-12-23 20:08   ` Jonathan Cameron

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=20241220160026.204055-1-dave@stgolabs.net \
    --to=dave@stgolabs.net \
    --cc=a.manzanares@samsung.com \
    --cc=dan.j.williams@intel.com \
    --cc=fan.ni@samsung.com \
    --cc=jonathan.cameron@huawei.com \
    --cc=linux-cxl@vger.kernel.org \
    /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