[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XEN][RFC PATCH v4 1/1] Update libfdt to v1.6.1



Hi,

On 12/11/2021 22:01, Stefano Stabellini wrote:
On Fri, 12 Nov 2021, Luca Fancellu wrote:
On 12 Nov 2021, at 07:27, Vikram Garhwal <fnu.vikram@xxxxxxxxxx> wrote:

Update libfdt to v1.6.1 of libfdt taken from git://github.com/dgibson/dtc.
This update is done to support device tree overlays.

A few minor changes are done to make it compatible with Xen:
    fdt_overlay.c: overlay_fixup_phandle()

        Replace strtoul() with simple_strtoul() as strtoul() is not available in
        Xen lib and included lib.h.

        Change char *endptr to const char *endptr. This change is required for
        using simple_strtoul().

    libfdt_env.h:
        Remaining Xen changes to libfdt_env.h carried over from existing
        libfdt (v1.4.0)

Reviewed-by: Luca Fancellu <luca.fancellu@xxxxxxx>

I’ve also tested it on FVP and on a Juno board, starting few guests and it 
worked.

Tested-by: Luca Fancellu <luca.fancellu@xxxxxxx>

Thanks Luca! The patch also passes the gitlab-ci tests and looks OK to
me. I'll let Julien ack it as he was the one with a couple of comments
before.

The next version addressed my comments. So:

Reviewed-by: Julien Grall <jgrall@xxxxxxxxxx>

I have also queued the patch in a temporary branch for-next/4.17:

https://xenbits.xen.org/gitweb/?p=people/julieng/xen-unstable.git;a=shortlog;h=refs/heads/for-next/4.17

The patch will land in staging when the tree re-opens.

Cheers,

--
Julien Grall



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.