From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
To: Davidlohr Bueso <dave@stgolabs.net>
Cc: <dave.jiang@intel.com>, <dan.j.williams@intel.com>,
<ira.weiny@intel.com>, <alison.schofield@intel.com>,
<linux-cxl@vger.kernel.org>
Subject: Re: [PATCH 2/2] cxl: Document missing sysfs files
Date: Mon, 13 Jan 2025 12:58:59 +0000 [thread overview]
Message-ID: <20250113125859.00003dcb@huawei.com> (raw)
In-Reply-To: <20250113025240.327124-3-dave@stgolabs.net>
On Sun, 12 Jan 2025 18:52:40 -0800
Davidlohr Bueso <dave@stgolabs.net> wrote:
> Add to the ABI documentation the payload_max and label_storage_size
> read-only files, which have been there since the early days.
>
> Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
> ---
> Documentation/ABI/testing/sysfs-bus-cxl | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/Documentation/ABI/testing/sysfs-bus-cxl b/Documentation/ABI/testing/sysfs-bus-cxl
> index 7bdf0eb79d7c..96c7fffa5442 100644
> --- a/Documentation/ABI/testing/sysfs-bus-cxl
> +++ b/Documentation/ABI/testing/sysfs-bus-cxl
> @@ -18,6 +18,24 @@ Description:
> specification.
>
>
> +What: /sys/bus/cxl/devices/memX/payload_max
> +Date: December, 2020
> +KernelVersion: v5.12
> +Contact: linux-cxl@vger.kernel.org
> +Description:
> + (RO) Maximum size (in bytes) of the mailbox command payload
> + registers. Linux caps this at 1Mb if the device reports a
> + larger size.
Spec currently caps it to 1MiB as well so a device reporting larger is buggy
but I guess we don't need to mention that :)
Units wise probably MB or MiB if we are being fusy. I think Mb is mega bit?
MB is slightly more common in ABI docs. Oddly neither MiB or MB shows
up much. Mb not there at all.
> +
> +
> +What: /sys/bus/cxl/devices/memX/label_storage_size
> +Date: May, 2021
> +KernelVersion: v5.13
> +Contact: linux-cxl@vger.kernel.org
> +Description:
> + (RO) Size (in bytes) of the Label Storage Area (LSA).
> +
> +
> What: /sys/bus/cxl/devices/memX/ram/size
> Date: December, 2020
> KernelVersion: v5.12
next prev parent reply other threads:[~2025-01-13 12:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-13 2:52 [PATCH 0/2] cxl: Some ABI doc updates Davidlohr Bueso
2025-01-13 2:52 ` [PATCH 1/2] cxl: Plug typos in ABI doc Davidlohr Bueso
2025-01-13 12:54 ` Jonathan Cameron
2025-01-13 2:52 ` [PATCH 2/2] cxl: Document missing sysfs files Davidlohr Bueso
2025-01-13 12:58 ` Jonathan Cameron [this message]
2025-01-13 16:49 ` Davidlohr Bueso
-- strict thread matches above, loose matches on Subject: below --
2025-02-18 22:48 [PATCH v2 0/2] cxl: Some ABI doc updates Davidlohr Bueso
2025-02-18 22:48 ` [PATCH 2/2] cxl: Document missing sysfs files Davidlohr Bueso
2025-02-19 17:05 ` Dave Jiang
2025-02-20 5:31 ` Li Ming
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=20250113125859.00003dcb@huawei.com \
--to=jonathan.cameron@huawei.com \
--cc=alison.schofield@intel.com \
--cc=dan.j.williams@intel.com \
--cc=dave.jiang@intel.com \
--cc=dave@stgolabs.net \
--cc=ira.weiny@intel.com \
--cc=linux-cxl@vger.kernel.org \
/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