projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
094b10c
)
dt-bindings: virtio,mmio: Allow setting devices 'dma-coherent'
author
Rob Herring
<robh@kernel.org>
Thu, 10 Mar 2022 01:35:27 +0000
(19:35 -0600)
committer
Rob Herring
<robh@kernel.org>
Sun, 20 Mar 2022 19:08:08 +0000
(15:08 -0400)
'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
Documentation/devicetree/bindings/virtio/mmio.yaml
patch
|
blob
|
history
diff --git
a/Documentation/devicetree/bindings/virtio/mmio.yaml
b/Documentation/devicetree/bindings/virtio/mmio.yaml
index 4b7a0273181c1af8f69fb650c4e38e8a7083eaf2..10c22b5bd16a34688eb0d7586f44cf062dbc36fd 100644
(file)
--- 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