From: Rob Herring Date: Thu, 10 Mar 2022 01:35:27 +0000 (-0600) Subject: dt-bindings: virtio,mmio: Allow setting devices 'dma-coherent' X-Git-Tag: v5.18-rc1~104^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ac02df3fff71ddacc71e2ae79b73c16873b41c5;p=thirdparty%2Fkernel%2Flinux.git dt-bindings: virtio,mmio: Allow setting devices 'dma-coherent' 'virtio,mmio' devices are always coherent within a guest. As Arm DTs are default non-coherent, the 'dma-coherent' property needs to be set on the virtio device to mark them as such. This aligns with the QEMU 'virt' machine DTB. Signed-off-by: Rob Herring Link: https://lore.kernel.org/r/20220310013528.549030-1-robh@kernel.org --- diff --git a/Documentation/devicetree/bindings/virtio/mmio.yaml b/Documentation/devicetree/bindings/virtio/mmio.yaml index 4b7a0273181c1..10c22b5bd16a3 100644 --- a/Documentation/devicetree/bindings/virtio/mmio.yaml +++ b/Documentation/devicetree/bindings/virtio/mmio.yaml @@ -20,6 +20,8 @@ properties: reg: maxItems: 1 + dma-coherent: true + interrupts: maxItems: 1