[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <00b8721e-da69-dcf8-8f64-9a9028f24d13@linaro.org>
Date: Mon, 19 Jun 2023 12:01:06 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Douglas Anderson <dianders@...omium.org>, andersson@...nel.org
Cc: amit.pundir@...aro.org, Will Deacon <will@...nel.org>,
sumit.semwal@...aro.org, linux-arm-msm@...r.kernel.org,
konrad.dybcio@...ainline.org, linux-arm-kernel@...ts.infradead.org,
Stephan Gerhold <stephan@...hold.net>,
Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
Nikita Travkin <nikita@...n.ru>,
Stephen Boyd <swboyd@...omium.org>,
Sibi Sankar <quic_sibis@...cinc.com>,
Andy Gross <agross@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Das Srinagesh <quic_gurus@...cinc.com>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Robert Marko <robimarko@...il.com>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/4] dt-bindings: firmware: qcom,scm: Document that SCM
can be dma-coherent
On 16/06/2023 17:14, Douglas Anderson wrote:
> 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@...omium.org>
> ---
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Best regards,
Krzysztof
Powered by blists - more mailing lists