linux/Documentation
Douglas Anderson c0877829ad dt-bindings: firmware: qcom,scm: Document that SCM can be dma-coherent
Trogdor devices use firmware backed by TF-A instead of Qualcomm's
normal TZ. On TF-A we end up mapping memory as cacheable. Specifically,
you can see in Trogdor's TF-A code [1] in qti_sip_mem_assign() that we
call qti_mmap_add_dynamic_region() with MT_RO_DATA. This translates
down to MT_MEMORY instead of MT_NON_CACHEABLE or MT_DEVICE.

Let's allow devices like trogdor to be described properly by allowing
"dma-coherent" in the SCM node.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230616081440.v2.1.Ie79b5f0ed45739695c9970df121e11d724909157@changeid
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2023-06-22 12:20:12 -07:00
..
2023-05-03 11:11:56 -07:00
2023-04-28 14:53:30 -07:00
2023-05-06 08:28:58 -07:00
2023-04-25 12:11:54 -07:00
2023-04-29 10:17:05 -07:00
2023-05-03 11:25:01 -07:00
2023-05-02 10:36:02 -07:00
2023-04-28 14:02:54 -07:00
2023-04-05 13:47:18 +00:00
2023-04-27 17:41:23 -07:00
2023-05-05 13:11:02 -07:00
2023-05-02 11:56:43 -07:00