]> www.infradead.org Git - users/dwmw2/linux.git/commit
iommu/arm-smmu-qcom: apply num_context_bank fixes for SDM630 / SDM660
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sat, 7 Sep 2024 18:48:12 +0000 (21:48 +0300)
committerWill Deacon <will@kernel.org>
Mon, 9 Sep 2024 14:21:56 +0000 (15:21 +0100)
commit19eb465c969f3d6ed1b98506d3e470e863b41e16
tree0d1bbf72d6fdb1c21a2f2432707e0f23dccdd73c
parenta2bb820e862d61f9ca1499e500915f9f505a2655
iommu/arm-smmu-qcom: apply num_context_bank fixes for SDM630 / SDM660

The Qualcomm SDM630 / SDM660 platform requires the same kind of
workaround as MSM8998: some IOMMUs have context banks reserved by
firmware / TZ, touching those banks resets the board.

Apply the num_context_bank workaround to those two SMMU devices in order
to allow them to be used by Linux.

Fixes: b812834b5329 ("iommu: arm-smmu-qcom: Add sdm630/msm8998 compatibles for qcom quirks")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20240907-sdm660-wifi-v1-1-e316055142f8@linaro.org
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c