From: Huaisheng Ye <huaisheng.ye@intel.com>
To: Ira Weiny <ira.weiny@intel.com>, <dan.j.williams@intel.com>
Cc: <linux-cxl@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<pei.p.jia@intel.com>
Subject: Re: [PATCH] cxl/core/mbox: get next_persistent_bytes by next_persistent_cap
Date: Thu, 7 Dec 2023 10:29:18 +0800 [thread overview]
Message-ID: <5fed153a-6668-c980-c573-3a31077c52ac@intel.com> (raw)
In-Reply-To: <656f9a94d9b48_18297729452@iweiny-mobl.notmuch>
On 2023-12-06 05:48, Ira Weiny wrote:
> Huaisheng Ye wrote:
>> According to CXL 2.0 8.2.9.5.2.1 table 176, the next Persistent
>> Bytes should be calculated by next Persistent Capacity.
>>
>> Signed-off-by: Huaisheng Ye <huaisheng.ye@intel.com>
> Do we have a fixes tag for this? Was there a bug associated with this
> find?
>
> Ira
Hi Ira,
This bug could be found in cxl-next branch.
It looks like just cxl-pci would calculate next_persistent_bytes during
probe. Afterwards, it will no longer be accessed by current cxl drivers.
For v78 ndctl, cxl_cmd_partition_get_next_persistent_size is calculated from
next_persistent, which is correct.
May I have your Reviewed-by?
Huaisheng
next prev parent reply other threads:[~2023-12-07 2:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-01 16:40 [PATCH] cxl/core/mbox: get next_persistent_bytes by next_persistent_cap Huaisheng Ye
2023-12-05 21:48 ` Ira Weiny
2023-12-07 2:29 ` Huaisheng Ye [this message]
2023-12-07 4:51 ` Ira Weiny
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=5fed153a-6668-c980-c573-3a31077c52ac@intel.com \
--to=huaisheng.ye@intel.com \
--cc=dan.j.williams@intel.com \
--cc=ira.weiny@intel.com \
--cc=linux-cxl@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pei.p.jia@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox