Skip to content

Commit 6ac02df

Browse files
committed
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 <robh@kernel.org> Link: https://lore.kernel.org/r/20220310013528.549030-1-robh@kernel.org
1 parent 094b10c commit 6ac02df

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • Documentation/devicetree/bindings/virtio

Documentation/devicetree/bindings/virtio/mmio.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ properties:
2020
reg:
2121
maxItems: 1
2222

23+
dma-coherent: true
24+
2325
interrupts:
2426
maxItems: 1
2527

0 commit comments

Comments
 (0)