RFC cxl: Support for mailbox background abort operation
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 RFC Latest4 patches 7 repliesIn review
- v1 RFC4 patches 0 repliesSuperseded
Changes in v2 from the cover letter
* Added missing signature tags
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | cxl: Enable mailbox ops with background only if request abort operation is supported.drivers/ drivers/ | +0 | 1 reply | |
| 2/4 | cxl: Add default timeout for bg mailbox commandsdrivers/ | +0 | 2 replies | |
| 3/4 | cxl: Abort background operation in case of timeoutdrivers/ drivers/ | +0 | 3 replies | |
| 4/4 | cxl/mbox: Add Populate Log supportdrivers/ drivers/ include/ | +0 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [RFC v2 0/4] cxl: Support for mailbox background abort operation
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/[email protected]/
(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.
v2:
* Added missing signature tags
v1:
https://lore.kernel.org/linux-cxl/[email protected]/T/#t
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(-)
Signature · 1 line
2.43.0