diff options
author | Rob Herring <robh@kernel.org> | 2022-03-09 19:35:27 -0600 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2022-03-20 15:08:08 -0400 |
commit | 6ac02df3fff71ddacc71e2ae79b73c16873b41c5 (patch) | |
tree | 2b3269200b65053fb6b6faa547ed638fa303763d /Documentation | |
parent | 094b10cb795a85e2f90f03c24b030888ab2f1fa3 (diff) | |
download | linux-stable-6ac02df3fff71ddacc71e2ae79b73c16873b41c5.tar.gz linux-stable-6ac02df3fff71ddacc71e2ae79b73c16873b41c5.tar.bz2 linux-stable-6ac02df3fff71ddacc71e2ae79b73c16873b41c5.zip |
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
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/virtio/mmio.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/virtio/mmio.yaml b/Documentation/devicetree/bindings/virtio/mmio.yaml index 4b7a0273181c..10c22b5bd16a 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 |