From: Jonathan Cameron <Jonathan.Cameron@Huawei.com>
To: Jehoon Park <jehoon.park@samsung.com>
Cc: <linux-cxl@vger.kernel.org>, <nvdimm@lists.linux.dev>,
Alison Schofield <alison.schofield@intel.com>,
Vishal Verma <vishal.l.verma@intel.com>,
"Ira Weiny" <ira.weiny@intel.com>,
Dan Williams <dan.j.williams@intel.com>,
"Dave Jiang" <dave.jiang@intel.com>,
Davidlohr Bueso <dave@stgolabs.net>,
"Kyungsan Kim" <ks0204.kim@samsung.com>,
Junhyeok Im <junhyeok.im@samsung.com>
Subject: Re: [ndctl PATCH v2 1/3] libcxl: Update a revision by CXL 3.0 specification
Date: Mon, 7 Aug 2023 14:02:06 +0100 [thread overview]
Message-ID: <20230807140206.00006232@Huawei.com> (raw)
In-Reply-To: <20230807063549.5942-2-jehoon.park@samsung.com>
On Mon, 7 Aug 2023 15:35:47 +0900
Jehoon Park <jehoon.park@samsung.com> wrote:
> Update the predefined value for device temperature field when it is not
> implemented. (CXL 3.0.8.2.9.8.3.1)
>
> Signed-off-by: Jehoon Park <jehoon.park@samsung.com>
Hi Jehoon,
Key here is not that it was in 3.0, but that it was changed in 2.0 Errata F38
and as such software doesn't need to cope with the old (wrong) value.
Good to state that clearly in the patch description. If it had been merely
a change for 3.0 there would have needed to be an enable bit to change the
default behavior (or something like that).
Otherwise LGTM
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> ---
> cxl/lib/private.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/cxl/lib/private.h b/cxl/lib/private.h
> index a641727..a692fd5 100644
> --- a/cxl/lib/private.h
> +++ b/cxl/lib/private.h
> @@ -360,7 +360,7 @@ struct cxl_cmd_set_partition {
> #define CXL_CMD_HEALTH_INFO_EXT_CORRECTED_PERSISTENT_WARNING (1)
>
> #define CXL_CMD_HEALTH_INFO_LIFE_USED_NOT_IMPL 0xff
> -#define CXL_CMD_HEALTH_INFO_TEMPERATURE_NOT_IMPL 0xffff
> +#define CXL_CMD_HEALTH_INFO_TEMPERATURE_NOT_IMPL 0x7fff
>
> static inline int check_kmod(struct kmod_ctx *kmod_ctx)
> {
next prev parent reply other threads:[~2023-08-07 13:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20230807063513epcas2p261ba4dfbfff34e99077596128eb6fc48@epcas2p2.samsung.com>
2023-08-07 6:35 ` [ndctl PATCH v2 0/3] Fix accessors for temperature field when it is negative Jehoon Park
2023-08-07 6:35 ` [ndctl PATCH v2 1/3] libcxl: Update a revision by CXL 3.0 specification Jehoon Park
2023-08-07 13:02 ` Jonathan Cameron [this message]
2023-08-08 7:38 ` Jehoon Park
2023-08-25 1:45 ` Davidlohr Bueso
2023-08-07 6:35 ` [ndctl PATCH v2 2/3] libcxl: Fix accessors for temperature field to support negative value Jehoon Park
2023-08-07 13:14 ` Jonathan Cameron
2023-08-08 7:41 ` Jehoon Park
2023-08-07 6:35 ` [ndctl PATCH v2 3/3] cxl: Fix the checking value when listing device's health info Jehoon Park
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=20230807140206.00006232@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=jehoon.park@samsung.com \
--cc=junhyeok.im@samsung.com \
--cc=ks0204.kim@samsung.com \
--cc=linux-cxl@vger.kernel.org \
--cc=nvdimm@lists.linux.dev \
--cc=vishal.l.verma@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.