From: Neil Armstrong <neil.armstrong@linaro.org>
To: Konrad Dybcio <konrad.dybcio@linaro.org>,
James Schulman <james.schulman@cirrus.com>,
David Rhodes <david.rhodes@cirrus.com>,
Richard Fitzgerald <rf@opensource.cirrus.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>,
Bjorn Andersson <andersson@kernel.org>,
Abel Vesa <abel.vesa@linaro.org>,
Sai Prakash Ranjan <quic_saipraka@quicinc.com>,
Kees Cook <keescook@chromium.org>,
Tony Luck <tony.luck@intel.com>,
"Guilherme G. Piccoli" <gpiccoli@igalia.com>
Cc: Marijn Suijten <marijn.suijten@somainline.org>,
alsa-devel@alsa-project.org, patches@opensource.cirrus.com,
linux-sound@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-hardening@vger.kernel.org
Subject: Re: [PATCH 3/7] arm64: dts: qcom: sm8550: Mark QUPs and GPI dma-coherent
Date: Mon, 12 Feb 2024 14:33:10 +0100 [thread overview]
Message-ID: <36869f81-fa1e-4938-a664-d8ce9afb63c6@linaro.org> (raw)
In-Reply-To: <20240210-topic-1v-v1-3-fda0db38e29b@linaro.org>
On 12/02/2024 14:10, Konrad Dybcio wrote:
> These peripherals are DMA-coherent on 8550. Mark them as such.
>
> Interestingly enough, the I2C master hubs are not.
Yeah they are not DMA capable at all
>
> Fixes: ffc50b2d3828 ("arm64: dts: qcom: Add base SM8550 dtsi")
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/sm8550.dtsi | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi
> index b8f1c7f97e48..d696ec6c6850 100644
> --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi
> @@ -812,6 +812,7 @@ gpi_dma2: dma-controller@800000 {
> dma-channels = <12>;
> dma-channel-mask = <0x3e>;
> iommus = <&apps_smmu 0x436 0>;
> + dma-coherent;
> status = "disabled";
> };
>
> @@ -823,6 +824,7 @@ qupv3_id_1: geniqup@8c0000 {
> clocks = <&gcc GCC_QUPV3_WRAP_2_M_AHB_CLK>,
> <&gcc GCC_QUPV3_WRAP_2_S_AHB_CLK>;
> iommus = <&apps_smmu 0x423 0>;
> + dma-coherent;
> #address-cells = <2>;
> #size-cells = <2>;
> status = "disabled";
> @@ -1322,6 +1324,7 @@ gpi_dma1: dma-controller@a00000 {
> dma-channels = <12>;
> dma-channel-mask = <0x1e>;
> iommus = <&apps_smmu 0xb6 0>;
> + dma-coherent;
> status = "disabled";
> };
>
> @@ -1335,6 +1338,7 @@ qupv3_id_0: geniqup@ac0000 {
> iommus = <&apps_smmu 0xa3 0>;
> interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>;
> interconnect-names = "qup-core";
> + dma-coherent;
> #address-cells = <2>;
> #size-cells = <2>;
> status = "disabled";
>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
next prev parent reply other threads:[~2024-02-12 13:33 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-12 13:10 [PATCH 0/7] Xperia 1 V support Konrad Dybcio
2024-02-12 13:10 ` [PATCH 1/7] dt-bindings: ASoC: cs35l45: Add interrupts Konrad Dybcio
2024-02-12 13:25 ` Krzysztof Kozlowski
2024-02-12 15:55 ` Rivera-Matos, Ricardo
2024-02-12 13:10 ` [PATCH 2/7] dt-bindings: arm: qcom: Add Xperia 1 V Konrad Dybcio
2024-02-12 13:25 ` Krzysztof Kozlowski
2024-02-12 13:10 ` [PATCH 3/7] arm64: dts: qcom: sm8550: Mark QUPs and GPI dma-coherent Konrad Dybcio
2024-02-12 13:33 ` Neil Armstrong [this message]
2024-02-12 13:10 ` [PATCH 4/7] arm64: dts: qcom: sm8550: Mark APPS SMMU as dma-coherent Konrad Dybcio
2024-02-12 13:33 ` Neil Armstrong
2024-02-12 13:10 ` [PATCH 5/7] arm64: dts: qcom: sm8550: Add missing DWC3 quirks Konrad Dybcio
2024-02-12 13:42 ` Neil Armstrong
2024-02-12 13:10 ` [PATCH 6/7] arm64: dts: qcom: sm8550: Mark DWC3 as dma-coherent Konrad Dybcio
2024-02-12 13:42 ` Neil Armstrong
2024-02-12 13:10 ` [PATCH 7/7] arm64: dts: qcom: Add SM8550 Xperia 1 V Konrad Dybcio
2024-02-12 17:26 ` Neil Armstrong
2024-04-04 19:41 ` Konrad Dybcio
2024-04-05 7:54 ` neil.armstrong
2024-04-17 9:04 ` David Wronek
2024-02-13 14:22 ` (subset) [PATCH 0/7] Xperia 1 V support Mark Brown
2024-04-16 2:36 ` Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=36869f81-fa1e-4938-a664-d8ce9afb63c6@linaro.org \
--to=neil.armstrong@linaro.org \
--cc=abel.vesa@linaro.org \
--cc=alsa-devel@alsa-project.org \
--cc=andersson@kernel.org \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=david.rhodes@cirrus.com \
--cc=devicetree@vger.kernel.org \
--cc=gpiccoli@igalia.com \
--cc=james.schulman@cirrus.com \
--cc=keescook@chromium.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=marijn.suijten@somainline.org \
--cc=patches@opensource.cirrus.com \
--cc=quic_saipraka@quicinc.com \
--cc=rf@opensource.cirrus.com \
--cc=robh@kernel.org \
--cc=rriveram@opensource.cirrus.com \
--cc=tony.luck@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).