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.hildebr...@amd.com>
Reviewed-by: Stefano Stabellini <sstabell...@kernel.org>
This is now committed.
Cheers,
--
Julien Grall