mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen/arm: vITS: add #msi-cells property
Non-PCI platform devices may use the ITS. Dom0 Linux drivers for such devices are failing to register IRQs due to a missing #msi-cells property. Add the missing #msi-cells property. Signed-off-by: Stewart Hildebrand <stewart.hildebrand@amd.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> Reviewed-by: Rahul Singh <rahul.singh@arm.com>
This commit is contained in:
1 parent
f06fbfe54d
commit
2dbb61001b
1 file changed
+4
@@ -951,6 +951,10 @@ int gicv3_its_make_hwdom_dt_nodes(const struct domain *d,
|
||||
if ( res )
|
||||
return res;
|
||||
|
||||
res = fdt_property_cell(fdt, "#msi-cells", 1);
|
||||
if ( res )
|
||||
return res;
|
||||
|
||||
if ( its->phandle )
|
||||
{
|
||||
res = fdt_property_cell(fdt, "phandle", its->phandle);
|
||||
|
||||