projects
/
linux-2.6-microblaze.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
4b7a027
..
10c22b5
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