From: Anthony PERARD <anthony.perard@citrix.com>
To: Viresh Kumar <viresh.kumar@linaro.org>
Cc: xen-devel@lists.xen.org,
"Vincent Guittot" <vincent.guittot@linaro.org>,
stratos-dev@op-lists.linaro.org,
"Alex Bennée" <alex.bennee@linaro.org>,
"Stefano Stabellini" <stefano.stabellini@xilinx.com>,
"Mathieu Poirier" <mathieu.poirier@linaro.com>,
"Mike Holmes" <mike.holmes@linaro.org>,
"Oleksandr Tyshchenko" <olekstysh@gmail.com>,
"Wei Liu" <wl@xen.org>, "Juergen Gross" <jgross@suse.com>,
"Julien Grall" <julien@xen.org>,
"Oleksandr Tyshchenko" <oleksandr_tyshchenko@epam.com>
Subject: Re: [PATCH V5 4/6] libxl: arm: Split make_virtio_mmio_node()
Date: Tue, 6 Sep 2022 17:32:28 +0100 [thread overview]
Message-ID: <Yxd2HCA9GDJS1A4N@perard.uk.xensource.com> (raw)
In-Reply-To: <981b663f6a44f9f82f32cc58219f6af26f73d66f.1661159474.git.viresh.kumar@linaro.org>
On Mon, Aug 22, 2022 at 02:45:16PM +0530, Viresh Kumar wrote:
> make_virtio_mmio_node() creates the DT node for simple MMIO devices
> currently, i.e. the ones that don't require any additional properties.
>
> In order to allow using it for other complex device types, split the
> functionality into two, one where the fdt node isn't closed and the
> other one to create a simple DT node.
>
> Reviewed-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
> ---
> diff --git a/tools/libs/light/libxl_arm.c b/tools/libs/light/libxl_arm.c
> index 0e3051bac5e4..4d0469f8166a 100644
> --- a/tools/libs/light/libxl_arm.c
> +++ b/tools/libs/light/libxl_arm.c
> @@ -1267,8 +1275,9 @@ static int libxl__prepare_dtb(libxl__gc *gc, libxl_domain_config *d_config,
> iommu_created = true;
> }
>
> - FDT( make_virtio_mmio_node(gc, fdt, disk->base, disk->irq,
> - disk->backend_domid) );
> + FDT( make_virtio_mmio_node_simple(gc, fdt, disk->base,
Renaming that function to add the suffix "_simple" doesn't meaning full,
could you keep the same name?
> + disk->irq,
> + disk->backend_domid) );
> }
> }
>
Thanks,
--
Anthony PERARD
next prev parent reply other threads:[~2022-09-06 21:37 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-22 9:15 [PATCH V5 0/6] Virtio toolstack support for I2C and GPIO on Arm Viresh Kumar
2022-08-22 9:15 ` [PATCH V5 1/6] libxl: Add support for Virtio I2C device Viresh Kumar
2022-09-06 16:15 ` Anthony PERARD
2022-09-07 12:32 ` Viresh Kumar
2022-09-07 17:49 ` Julien Grall
2022-09-08 4:24 ` Viresh Kumar
2022-09-08 6:50 ` Juergen Gross
2022-09-08 13:49 ` Anthony PERARD
2022-08-22 9:15 ` [PATCH V5 2/6] libxl: Add support for Virtio GPIO device Viresh Kumar
2022-09-06 16:16 ` Anthony PERARD
2022-08-22 9:15 ` [PATCH V5 3/6] libxl: arm: Create alloc_virtio_mmio_params() Viresh Kumar
2022-09-06 16:29 ` Anthony PERARD
2022-08-22 9:15 ` [PATCH V5 4/6] libxl: arm: Split make_virtio_mmio_node() Viresh Kumar
2022-09-06 16:32 ` Anthony PERARD [this message]
2022-08-22 9:15 ` [PATCH V5 5/6] libxl: Allocate MMIO params for I2c device and update DT Viresh Kumar
2022-09-06 16:38 ` Anthony PERARD
2022-08-22 9:15 ` [PATCH V5 6/6] libxl: Allocate MMIO params for GPIO " Viresh Kumar
2022-09-06 16:43 ` Anthony PERARD
2022-09-07 18:02 ` Julien Grall
2022-09-08 5:44 ` Viresh Kumar
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=Yxd2HCA9GDJS1A4N@perard.uk.xensource.com \
--to=anthony.perard@citrix.com \
--cc=alex.bennee@linaro.org \
--cc=jgross@suse.com \
--cc=julien@xen.org \
--cc=mathieu.poirier@linaro.com \
--cc=mike.holmes@linaro.org \
--cc=oleksandr_tyshchenko@epam.com \
--cc=olekstysh@gmail.com \
--cc=stefano.stabellini@xilinx.com \
--cc=stratos-dev@op-lists.linaro.org \
--cc=vincent.guittot@linaro.org \
--cc=viresh.kumar@linaro.org \
--cc=wl@xen.org \
--cc=xen-devel@lists.xen.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.