Skip to content

Commit 4d29db2

Browse files
krzkandersson
authored andcommitted
arm64: dts: qcom: sm8350: fix BAM DMA crash and reboot
SM8350 HDK and MTP boards were silently dying and rebooting during BAM DMA probe, probably during reading BAM_REVISION register: [ 1.574304] vreg_bob: Setting 3008000-3960000uV [ 1.576918] bam-dFormat: Log Type - Time(microsec) - Message - Optional Info Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic S - QC_IMAGE_VERSION_STRING=BOOT.MXF.1.0-00637.1-LAHAINA-1 S - IMAGE_VARIANT_STRING=SocLahainaLAA S - OEM_IMAGE_VERSION_STRING=crm-ubuntu77 S - Boot Interface: UFS It seems that BAM DMA is not yet operational, thus mark it as failed and disable also QCE because it won't work without BAM DMA. Fixes: f1040a7 ("arm64: dts: qcom: sm8350: Add Crypto Engine support") Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230626145959.646747-1-krzysztof.kozlowski@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 9ea2c3f commit 4d29db2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/arm64/boot/dts/qcom/sm8350.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1744,6 +1744,8 @@
17441744
qcom,controlled-remotely;
17451745
iommus = <&apps_smmu 0x594 0x0011>,
17461746
<&apps_smmu 0x596 0x0011>;
1747+
/* FIXME: Probing BAM DMA causes some abort and system hang */
1748+
status = "fail";
17471749
};
17481750

17491751
crypto: crypto@1dfa000 {
@@ -1755,6 +1757,8 @@
17551757
<&apps_smmu 0x596 0x0011>;
17561758
interconnects = <&aggre2_noc MASTER_CRYPTO 0 &mc_virt SLAVE_EBI1 0>;
17571759
interconnect-names = "memory";
1760+
/* FIXME: dependency BAM DMA is disabled */
1761+
status = "disabled";
17581762
};
17591763

17601764
ipa: ipa@1e40000 {

0 commit comments

Comments
 (0)