From 3ea3f4f82b271b191035be576e9db545ffb68651 Mon Sep 17 00:00:00 2001 From: "Bao D. Nguyen" Date: Wed, 20 May 2020 14:55:12 -0700 Subject: [PATCH] ARM: dts: msm: Enable iommu's atomic attribute for SD card Set the SD card's iommu "atomic" attribute. The SD card driver may acquire a spinlock before calling the iommu's unmap. Setting the SD card driver's iommu attribute to "atomic" to ensure the iommu driver doesn't invoke functions that might sleep in the SD card driver's path. Change-Id: I215498e8994a56fe1e4e46ea393afff1e81e66c5 --- qcom/lahaina.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index e12adaf135db..2ad12d3672b7 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -3138,6 +3138,7 @@ iommus = <&apps_smmu 0x4a0 0x0>; dma-coherent; + qcom,iommu-dma = "atomic"; status = "disabled"; };