[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACGkMEsfgGU99_NC3NTYgyH89=6eADKPFiChVW0kZkfF1Js7NA@mail.gmail.com>
Date: Thu, 29 May 2025 14:05:34 +0800
From: Jason Wang <jasowang@...hat.com>
To: Viresh Kumar <viresh.kumar@...aro.org>
Cc: "Michael S. Tsirkin" <mst@...hat.com>, Xuan Zhuo <xuanzhuo@...ux.alibaba.com>,
Eugenio Pérez <eperezma@...hat.com>,
Vincent Guittot <vincent.guittot@...aro.org>, Alex Bennée <alex.bennee@...aro.org>,
Bill Mills <bill.mills@...aro.org>, virtualization@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] virtio-mmio: Remove virtqueue list from mmio device
On Wed, May 21, 2025 at 7:34 PM Viresh Kumar <viresh.kumar@...aro.org> wrote:
>
> The MMIO transport implementation creates a list of virtqueues for a
> virtio device, while the same is already available in the struct
> virtio_device.
>
> Don't create a duplicate list, and use the other one instead.
>
> While at it, fix the virtio_device_for_each_vq() macro to accept an
> argument like "&vm_dev->vdev" (which currently fails to build).
>
> Signed-off-by: Viresh Kumar <viresh.kumar@...aro.org>
> ---
Acked-by: Jason Wang <jasowang@...hat.com>
Btw, virtio-vdpa may need the same optimization.
Thanks
Powered by blists - more mailing lists