From: Jonathan Cameron via <qemu-devel@nongnu.org>
To: Arpit Kumar <arpit1.kumar@samsung.com>
Cc: <qemu-devel@nongnu.org>, <gost.dev@samsung.com>,
<linux-cxl@vger.kernel.org>, <nifan.cxl@gmail.com>,
<dave@stgolabs.net>, <vishak.g@samsung.com>,
<krish.reddy@samsung.com>, <a.manzanares@samsung.com>,
<alok.rathore@samsung.com>
Subject: Re: [PATCH v2 0/3] CXL CCI Log Commands implementation
Date: Thu, 20 Feb 2025 16:08:50 +0000 [thread overview]
Message-ID: <20250220160850.00003016@huawei.com> (raw)
In-Reply-To: <20250218085731.550029-1-arpit1.kumar@samsung.com>
On Tue, 18 Feb 2025 14:27:28 +0530
Arpit Kumar <arpit1.kumar@samsung.com> wrote:
> CXL CCI log commands implmented as per CXL Specification 3.2 8.2.10.5
> 1) get_log_capabilities (Opcode 0402h)
> 2) clear_log (Opcode 0403h)
> 3) populate_log (Opcode 0404h)
>
> This v2 patch addresses the feedback from the v1 patch and include some new changes.
I'll apply these to my staging tree, but it is a little odd
to have the last two commands without any logs that they actually apply to.
Maybe we should make up a component state dump?
I think that currently the populate only really applies to that
one (or the vendor defined one).
We can also look at wiring up the ECS logs and some suitable error
injection as clear log would apply to those. I like the idea
of having media test longer term as well as the use cases for that in
kernel are interesting to explore.
Jonathan
>
> Changes in from v1 to v2:
> - Added descriptive text for each patches
> - Added reference from CXL spec 3.2
> - Updated naming for better comprehension
> - Modified find_log_index() to return supported log
> - Handled array of log capabilities as static const pointers
> - Replaced bit fields for param_flags with defines for individual bits
> - Disabled support of clear & populate log command for command effect log
>
> The patches are generated against the Johnathan's tree
> https://gitlab.com/jic23/qemu.git and branch cxl-2024-11-27.
>
> Arpit Kumar (3):
> hw/cxl/cxl-mailbox-utils.c: Added support for Get Log Capabilities
> (Opcode 0402h)
> hw/cxl/cxl-mailbox-utils.c: Added support for Clear Log (Opcode 0403h)
> hw/cxl/cxl-mailbox-utils.c: Added support for Populate Log (Opcode
> 0404h)
>
> hw/cxl/cxl-mailbox-utils.c | 100 +++++++++++++++++++++++++++++++++++
> include/hw/cxl/cxl_device.h | 20 +++++++
> include/hw/cxl/cxl_mailbox.h | 5 ++
> 3 files changed, 125 insertions(+)
>
next prev parent reply other threads:[~2025-02-20 16:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20250218085809epcas5p3ee3d79ffec77b13bb097c6d15bb24710@epcas5p3.samsung.com>
2025-02-18 8:57 ` [PATCH v2 0/3] CXL CCI Log Commands implementation Arpit Kumar
[not found] ` <CGME20250218085810epcas5p42b0e96fff3fff297a1e7334cc7feae9f@epcas5p4.samsung.com>
2025-02-18 8:57 ` [PATCH v2 1/3] hw/cxl/cxl-mailbox-utils.c: Added support for Get Log Capabilities (Opcode 0402h) Arpit Kumar
[not found] ` <CGME20250218085812epcas5p3981d9649c89f876d59724a24c0ed8d80@epcas5p3.samsung.com>
2025-02-18 8:57 ` [PATCH v2 2/3] hw/cxl/cxl-mailbox-utils.c: Added support for Clear Log (Opcode 0403h) Arpit Kumar
[not found] ` <CGME20250218085814epcas5p384be512f40b0add05588d2242e2f0061@epcas5p3.samsung.com>
2025-02-18 8:57 ` [PATCH v2 3/3] hw/cxl/cxl-mailbox-utils.c: Added support for Populate Log (Opcode 0404h) Arpit Kumar
2025-02-20 16:08 ` Jonathan Cameron via [this message]
2025-02-24 11:54 ` [PATCH v2 0/3] CXL CCI Log Commands implementation Arpit Kumar
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=20250220160850.00003016@huawei.com \
--to=qemu-devel@nongnu.org \
--cc=Jonathan.Cameron@huawei.com \
--cc=a.manzanares@samsung.com \
--cc=alok.rathore@samsung.com \
--cc=arpit1.kumar@samsung.com \
--cc=dave@stgolabs.net \
--cc=gost.dev@samsung.com \
--cc=krish.reddy@samsung.com \
--cc=linux-cxl@vger.kernel.org \
--cc=nifan.cxl@gmail.com \
--cc=vishak.g@samsung.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;
as well as URLs for NNTP newsgroup(s).