[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] xen/arm: dom0less: cope with missing /gic phandle
Hi, On 11/10/2024 22:28, Stefano Stabellini wrote: On Fri, 11 Oct 2024, Stewart Hildebrand wrote:If a partial DT has a /gic node, but no references to it, dtc may omit the phandle property. With the phandle property missing, fdt_get_phandle() returns 0, leading Xen to generate a malformed domU dtb due to invalid interrupt-parent phandle references. 0 is an invalid phandle value. Add a zero check, and fall back to GUEST_PHANDLE_GIC. Signed-off-by: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx> This is now committed. Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |