On Tue, Feb 11, 2025 at 05:43:19PM -0800, Roman Kisel wrote: > The existing example lacks the GIC interrupt controller property > making it not possible to boot on ARM64, and it lacks the DMA GIC controller is not relevant to this binding. > coherence property making the kernel do more work on maintaining > CPU caches on ARM64 although the VMBus trancations are cache-coherent. > > Add the GIC node, specify DMA coherence, and define interrupt-parent > and interrupts properties in the example to provide a complete reference > for platforms utilizing GIC-based interrupts, and add the DMA coherence > property to not do extra work on the architectures where DMA defaults to > non cache-coherent. > > Signed-off-by: Roman Kisel <romank@xxxxxxxxxxxxxxxxxxx> > --- > .../devicetree/bindings/bus/microsoft,vmbus.yaml | 11 +++++++++++ > 1 file changed, 11 insertions(+) Last time I said: not tested by automation. Now: I see automation build failures, although I do not see anything incorrect in the code, so that's a bit surprising. Please confirm that binding was tested on latest dtschema. > > diff --git a/Documentation/devicetree/bindings/bus/microsoft,vmbus.yaml b/Documentation/devicetree/bindings/bus/microsoft,vmbus.yaml > index a8d40c766dcd..5ec69226ab85 100644 > --- a/Documentation/devicetree/bindings/bus/microsoft,vmbus.yaml > +++ b/Documentation/devicetree/bindings/bus/microsoft,vmbus.yaml > @@ -44,11 +44,22 @@ examples: > #size-cells = <1>; > ranges; > > + gic: intc@fe200000 { > + compatible = "arm,gic-v3"; > + reg = <0x0 0xfe200000 0x0 0x10000>, /* GIC Dist */ > + <0x0 0xfe280000 0x0 0x200000>; /* GICR */ > + interrupt-controller; > + #interrupt-cells = <3>; > + } I fail to see how this is relevant here. This is example only of vmbus. Look how other bindings are done. Drop the example. > + > vmbus@ff0000000 { > compatible = "microsoft,vmbus"; > #address-cells = <2>; > #size-cells = <1>; > ranges = <0x0f 0xf0000000 0x0f 0xf0000000 0x10000000>; > + dma-coherent; > + interrupt-parent = <&gic>; > + interrupts = <1 2 1>; Use proper defines for known constants. Best regards, Krzysztof