All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <Jonathan.Cameron@Huawei.com>
To: Li Zhijian <lizhijian@fujitsu.com>
Cc: <qemu-devel@nongnu.org>, <fan.ni@samsung.com>,
	<linux-cxl@vger.kernel.org>
Subject: Re: [PATCH] cxl: Get rid of unused cfmw_list
Date: Wed, 5 Jun 2024 13:02:25 +0100	[thread overview]
Message-ID: <20240605130225.00006431@Huawei.com> (raw)
In-Reply-To: <20240531061317.865673-1-lizhijian@fujitsu.com>

On Fri, 31 May 2024 14:13:17 +0800
Li Zhijian <lizhijian@fujitsu.com> wrote:

> 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>

Hi Li,

Applied to my tree with slight change to patch title
to hw/cxl: Get rid of unused cfmw_list

I aim to send a group of more minor changes like this for upstream
in the next week or so.

Btw, to make it easy to spot QEMU patches in patchwork so that
the kernel maintainers can ignore them - when posting to linux-cxl@vger.kernel.org
[PATCH qemu]
marking for patches is helpful.

Thanks,

Jonathan

> ---
>  hw/cxl/cxl-host.c    | 1 -
>  include/hw/cxl/cxl.h | 1 -
>  2 files changed, 2 deletions(-)
> 
> diff --git a/hw/cxl/cxl-host.c b/hw/cxl/cxl-host.c
> index c5f5fcfd64d0..926d3d3da705 100644
> --- a/hw/cxl/cxl-host.c
> +++ b/hw/cxl/cxl-host.c
> @@ -335,7 +335,6 @@ static void machine_set_cfmw(Object *obj, Visitor *v, const char *name,
>      for (it = cfmw_list; it; it = it->next) {
>          cxl_fixed_memory_window_config(state, it->value, errp);
>      }
> -    state->cfmw_list = cfmw_list;
>  }
>  
>  void cxl_machine_init(Object *obj, CXLState *state)
> diff --git a/include/hw/cxl/cxl.h b/include/hw/cxl/cxl.h
> index 75e47b686441..e3ecbef03872 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;
>  
>  struct CXLHost {


WARNING: multiple messages have this Message-ID (diff)
From: Jonathan Cameron via <qemu-devel@nongnu.org>
To: Li Zhijian <lizhijian@fujitsu.com>
Cc: <qemu-devel@nongnu.org>, <fan.ni@samsung.com>,
	<linux-cxl@vger.kernel.org>
Subject: Re: [PATCH] cxl: Get rid of unused cfmw_list
Date: Wed, 5 Jun 2024 13:02:25 +0100	[thread overview]
Message-ID: <20240605130225.00006431@Huawei.com> (raw)
In-Reply-To: <20240531061317.865673-1-lizhijian@fujitsu.com>

On Fri, 31 May 2024 14:13:17 +0800
Li Zhijian <lizhijian@fujitsu.com> wrote:

> 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>

Hi Li,

Applied to my tree with slight change to patch title
to hw/cxl: Get rid of unused cfmw_list

I aim to send a group of more minor changes like this for upstream
in the next week or so.

Btw, to make it easy to spot QEMU patches in patchwork so that
the kernel maintainers can ignore them - when posting to linux-cxl@vger.kernel.org
[PATCH qemu]
marking for patches is helpful.

Thanks,

Jonathan

> ---
>  hw/cxl/cxl-host.c    | 1 -
>  include/hw/cxl/cxl.h | 1 -
>  2 files changed, 2 deletions(-)
> 
> diff --git a/hw/cxl/cxl-host.c b/hw/cxl/cxl-host.c
> index c5f5fcfd64d0..926d3d3da705 100644
> --- a/hw/cxl/cxl-host.c
> +++ b/hw/cxl/cxl-host.c
> @@ -335,7 +335,6 @@ static void machine_set_cfmw(Object *obj, Visitor *v, const char *name,
>      for (it = cfmw_list; it; it = it->next) {
>          cxl_fixed_memory_window_config(state, it->value, errp);
>      }
> -    state->cfmw_list = cfmw_list;
>  }
>  
>  void cxl_machine_init(Object *obj, CXLState *state)
> diff --git a/include/hw/cxl/cxl.h b/include/hw/cxl/cxl.h
> index 75e47b686441..e3ecbef03872 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;
>  
>  struct CXLHost {



  reply	other threads:[~2024-06-05 12:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-31  6:13 [PATCH] cxl: Get rid of unused cfmw_list Li Zhijian
2024-05-31  6:13 ` Li Zhijian via
2024-06-05 12:02 ` Jonathan Cameron [this message]
2024-06-05 12:02   ` Jonathan Cameron via
2024-06-06  0:04   ` Zhijian Li (Fujitsu)
2024-06-06  0:04     ` Zhijian Li (Fujitsu) via

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=20240605130225.00006431@Huawei.com \
    --to=jonathan.cameron@huawei.com \
    --cc=fan.ni@samsung.com \
    --cc=linux-cxl@vger.kernel.org \
    --cc=lizhijian@fujitsu.com \
    --cc=qemu-devel@nongnu.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 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.