linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add log related mailbox commands
@ 2024-02-22 17:23 sthanneeru.opensrc
  2024-02-22 17:23 ` [PATCH v2 1/2] cxl/mbox: Add Get Log Capabilities and Get Supported Logs Sub-List commands sthanneeru.opensrc
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: sthanneeru.opensrc @ 2024-02-22 17:23 UTC (permalink / raw)
  To: linux-cxl, linux-mm, sthanneeru.opensrc
  Cc: Jonathan.Cameron, dan.j.williams, john, emirakhur, ajayjoshi,
	Ravis.OpenSrc, sthanneeru

From: Srinivasulu Thanneeru <sthanneeru.opensrc@micron.com>

Add support to expose following mailbox commands to userspace
for clearing and populating the Vendor debug log and
Component State dump log in certain scenarios,
allowing for the aggregation of results over time.

1. CXL r3.1 8.2.9.5.3 Get Log Capabilities.
2. CXL r3.1 8.2.9.5.4 Clear Log commands.
3. CXL r3.1 8.2.9.5.6 Get Supported Logs Sub-List.

---
Changes in v2:
- Add descption for exposing these mailbox log commands to ioctl.
- Create seperate patch for 'Clear log'.
- Restrict the ‘Clear log’ action to only apply to
Vendor debug logs and Component state dump logs.
- Rename get log sublist to get supported log sublist.
- Link to v1: https://lore.kernel.org/linux-mm/20240207103634.199-1-sthanneeru.opensrc@micron.com/
---

Srinivasulu Thanneeru (2):
  cxl/mbox: Add Get Log Capabilities and Get Supported Logs Sub-List
    commands
  cxl/mbox: Add Clear Log mailbox command

 drivers/cxl/core/mbox.c      | 13 +++++++++++++
 drivers/cxl/cxlmem.h         |  6 ++++++
 include/uapi/linux/cxl_mem.h |  3 +++
 3 files changed, 22 insertions(+)

-- 
2.25.1



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

end of thread, other threads:[~2024-03-05 10:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-22 17:23 [PATCH v2 0/2] Add log related mailbox commands sthanneeru.opensrc
2024-02-22 17:23 ` [PATCH v2 1/2] cxl/mbox: Add Get Log Capabilities and Get Supported Logs Sub-List commands sthanneeru.opensrc
2024-02-22 17:23 ` [PATCH v2 2/2] cxl/mbox: Add Clear Log mailbox command sthanneeru.opensrc
2024-03-04 20:39 ` [PATCH v2 0/2] Add log related mailbox commands Dan Williams
2024-03-05 10:16   ` Srinivasulu Opensrc

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