Linux CXL
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Add log related mailbox commands
@ 2024-03-13  7:12 sthanneeru.opensrc
  2024-03-13  7:12 ` [PATCH v3 1/2] cxl/mbox: Add Get Log Capabilities and Get Supported Logs Sub-List commands sthanneeru.opensrc
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: sthanneeru.opensrc @ 2024-03-13  7:12 UTC (permalink / raw)
  To: linux-cxl, 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 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 v3:
- 'Component State Dump log' has several caveats for ioctl()
   not being a suitable ABI as pointed in v2.(Dan Williams)
- Remove Component State Dump from Clear log filter.
- Implement a seperate patch(yet to do) to address issues as pointed in v2.
- Link to v2:
https://lore.kernel.org/linux-mm/65e631951ff61_b62b294e1@dwillia2-mobl3.amr.corp.intel.com.notmuch/

Changes in v2:
Suggested by Jonathan Cameron:
- Add description for exposing these mailbox log commands to ioctl.
- Create separate 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/
---

*** BLURB HERE ***

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      | 12 ++++++++++++
 drivers/cxl/cxlmem.h         |  3 +++
 include/uapi/linux/cxl_mem.h |  3 +++
 3 files changed, 18 insertions(+)

-- 
2.25.1


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

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

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-13  7:12 [PATCH v3 0/2] Add log related mailbox commands sthanneeru.opensrc
2024-03-13  7:12 ` [PATCH v3 1/2] cxl/mbox: Add Get Log Capabilities and Get Supported Logs Sub-List commands sthanneeru.opensrc
2024-04-26 16:02   ` Jonathan Cameron
2024-03-13  7:12 ` [PATCH v3 2/2] cxl/mbox: Add Clear Log mailbox command sthanneeru.opensrc
2024-04-26 16:05   ` Jonathan Cameron
2024-03-26 23:37 ` [PATCH v3 0/2] Add log related mailbox commands Dan Williams
2024-04-01  6:03   ` [EXT] " Srinivasulu Opensrc
2024-04-05 17:31     ` Jonathan Cameron

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