From: Ravis OpenSrc <Ravis.OpenSrc@micron.com>
To: "linux-cxl@vger.kernel.org" <linux-cxl@vger.kernel.org>,
"dan.j.williams@intel.com" <dan.j.williams@intel.com>,
"dave.jiang@intel.com" <dave.jiang@intel.com>,
"jonathan.cameron@huawei.com" <jonathan.cameron@huawei.com>
Cc: Srinivasulu Opensrc <sthanneeru.opensrc@micron.com>,
"john@jagalactic.com" <john@jagalactic.com>,
Ajay Joshi <ajayjoshi@micron.com>
Subject: [RFC 0/4] cxl: Support for mailbox background abort operation
Date: Wed, 16 Oct 2024 04:31:44 +0000 [thread overview]
Message-ID: <c3312b1ce2374fb28a899b0bdb01c6a4@micron.com> (raw)
In-Reply-To: <20241015205633.127333-1-ravis.opensrc@micron.com>
This patchset introduces the Request Background Abort operation as outlined
in CXL 3.1, section 8.2.9.1.5. It ensures that only background operations
supporting request background abort are allowed. A default timeout of
5 seconds is specified for operations where a timeout is not explicitly
defined. If this timeout expires, a Request Abort command is issued to
terminate the ongoing background operation.
This patchset is based on suggestion from Dan Williams, as referenced here:
https://lore.kernel.org/linux-cxl/66035c2e8ba17_770232948b@dwillia2-xfh.jf.intel.com.notmuch/
(1) Patch 1: Enables only those background mailbox commands
that also support request abort through their CEL.
(2) Patch 2: A default timeout of 5 secs for mailbox commands
that do not have an explicitly mentioned timeout.
(3) Patch 3: Adds support for sending an abort when a mailbox
background operation times out.
(4) Patch 4: Adds support for the Populate Log command,
a background operation that can potentially support abort.
Ravi Shankar (4):
cxl: Enable mailbox ops with background only if request abort
operation is supported.
cxl: Add default timeout for bg mailbox commands
cxl: Abort background operation in case of timeout
cxl/mbox: Add Populate Log support
drivers/cxl/core/mbox.c | 13 +++++++++++--
drivers/cxl/cxlmem.h | 18 ++++++++++++++++++
drivers/cxl/pci.c | 24 ++++++++++++++++++++++++
include/uapi/linux/cxl_mem.h | 1 +
4 files changed, 54 insertions(+), 2 deletions(-)
--
2.43.0
next parent reply other threads:[~2024-10-16 4:31 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20241015205633.127333-1-ravis.opensrc@micron.com>
2024-10-16 4:31 ` Ravis OpenSrc [this message]
[not found] ` <20241015205633.127333-2-ravis.opensrc@micron.com>
2024-10-16 4:31 ` [RFC PATCH 1/4] cxl: Enable mailbox ops with background only if request abort operation is supported Ravis OpenSrc
2024-10-16 4:59 ` [RFC PATCH v2 " Ravis OpenSrc
2024-10-17 15:27 ` Jonathan Cameron
[not found] ` <20241015205633.127333-4-ravis.opensrc@micron.com>
2024-10-16 4:32 ` [RFC PATCH 3/4] cxl: Abort background operation in case of timeout Ravis OpenSrc
2024-10-16 5:00 ` [RFC PATCH v2 " Ravis OpenSrc
2024-10-17 15:36 ` Jonathan Cameron
2024-10-18 6:39 ` Ravis OpenSrc
2024-10-18 16:14 ` Jonathan Cameron
[not found] ` <20241015205633.127333-5-ravis.opensrc@micron.com>
2024-10-16 4:32 ` [RFC PATCH 4/4] cxl/mbox: Add Populate Log support Ravis OpenSrc
2024-10-16 5:00 ` [RFC PATCH v2 " Ravis OpenSrc
2024-10-17 15:37 ` Jonathan Cameron
2024-10-16 4:59 ` [RFC v2 0/4] cxl: Support for mailbox background abort operation Ravis OpenSrc
[not found] ` <20241015205633.127333-3-ravis.opensrc@micron.com>
2024-10-16 4:32 ` [RFC PATCH 2/4] cxl: Add default timeout for bg mailbox commands Ravis OpenSrc
2024-10-16 4:59 ` [RFC PATCH v2 " Ravis OpenSrc
2024-10-17 15:32 ` Jonathan Cameron
2024-10-17 17:25 ` [EXT] " Srinivasulu Opensrc
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=c3312b1ce2374fb28a899b0bdb01c6a4@micron.com \
--to=ravis.opensrc@micron.com \
--cc=ajayjoshi@micron.com \
--cc=dan.j.williams@intel.com \
--cc=dave.jiang@intel.com \
--cc=john@jagalactic.com \
--cc=jonathan.cameron@huawei.com \
--cc=linux-cxl@vger.kernel.org \
--cc=sthanneeru.opensrc@micron.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