From: "Zhijian Li (Fujitsu)" <lizhijian@fujitsu.com>
To: Zhao Liu <zhao1.liu@intel.com>
Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>,
"linux-cxl@vger.kernel.org" <linux-cxl@vger.kernel.org>,
"mst@redhat.com" <mst@redhat.com>,
Markus Armbruster <armbru@redhat.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"linuxarm@huawei.com" <linuxarm@huawei.com>,
Zhao Liu <zhao1.liu@linux.intel.com>
Subject: Re: [PATCH 1/3] hw/cxl: Get rid of unused cfmw_list
Date: Fri, 5 Jul 2024 02:29:34 +0000 [thread overview]
Message-ID: <eb397f41-9a81-4b1f-a1ed-7f0b99b42b30@fujitsu.com> (raw)
In-Reply-To: <ZodXMPef9bIROG5u@intel.com>
On 05/07/2024 10:15, Zhao Liu wrote:
>> There is a new user for cfmw_list now
>> https://lore.kernel.org/qemu-devel/20240704093404.1848132-1-zhao1.liu@linux.intel.com/
>>
>> So I think we should drop this patch.
> Hi Zhijian,
>
> I'm not a "real" user and that bug was originally found by code reading.
>
> So that fix won't block your drop. 🙂
"hw/cxl: Get rid of unused cfmw_list" is no longer needed.
>
> And I think the fix is worth being laned before cfmw_list gets dropped,
> for being able to port backwards to stable QEMU.
Your fix[0] requires CXLState.cfmw_list, and I think CXLState.cfmw_list was designed for *get* purpose
but got mistake at that time.
[0] https://lore.kernel.org/qemu-devel/20240704093404.1848132-1-zhao1.liu@linux.intel.com/
>
>> On 02/07/2024 22:34, Jonathan Cameron wrote:
>>> From: Li Zhijian<lizhijian@fujitsu.com>
>>>
>>> There is no user for this member. All '-M cxl-fmw.N' options have
>>> been parsed and saved to CXLState.fixed_windows.
>>>
>>> Signed-off-by: Li Zhijian<lizhijian@fujitsu.com>
>>> Signed-off-by: Jonathan Cameron<Jonathan.Cameron@huawei.com>
>>> ---
>>> include/hw/cxl/cxl.h | 1 -
>>> hw/cxl/cxl-host.c | 1 -
>>> 2 files changed, 2 deletions(-)
>>>
>>> diff --git a/include/hw/cxl/cxl.h b/include/hw/cxl/cxl.h
>>> index 75e47b6864..e3ecbef038 100644
>>> --- a/include/hw/cxl/cxl.h
>>> +++ b/include/hw/cxl/cxl.h
>>> @@ -43,7 +43,6 @@ typedef struct CXLState {
>>> MemoryRegion host_mr;
>>> unsigned int next_mr_idx;
>>> GList *fixed_windows;
>>> - CXLFixedMemoryWindowOptionsList *cfmw_list;
>>> } CXLState;
>>>
next prev parent reply other threads:[~2024-07-05 2:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-02 14:34 [PATCH qemu 0/3] hw/cxl: Misc minor improvements Jonathan Cameron
2024-07-02 14:34 ` [PATCH 1/3] hw/cxl: Get rid of unused cfmw_list Jonathan Cameron
2024-07-05 1:04 ` Zhijian Li (Fujitsu)
2024-07-05 2:15 ` Zhao Liu
2024-07-05 2:29 ` Zhijian Li (Fujitsu) [this message]
2024-07-05 9:40 ` Jonathan Cameron
2024-07-02 14:34 ` [PATCH 2/3] hw/cxl/cxl-mailbox-utils: remove unneeded mailbox output payload space zeroing Jonathan Cameron
2024-07-02 14:34 ` [PATCH 3/3] hw/cxl: Check for multiple mappings of memory backends Jonathan Cameron
2024-07-05 11:41 ` [PATCH qemu 0/3] hw/cxl: Misc minor improvements Jonathan Cameron
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=eb397f41-9a81-4b1f-a1ed-7f0b99b42b30@fujitsu.com \
--to=lizhijian@fujitsu.com \
--cc=Jonathan.Cameron@huawei.com \
--cc=armbru@redhat.com \
--cc=linux-cxl@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=zhao1.liu@intel.com \
--cc=zhao1.liu@linux.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