]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: qcom: scm: Add function to set the maximum IOMMU pool size
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Wed, 8 Dec 2021 08:34:22 +0000 (09:34 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 31 Jan 2022 21:00:46 +0000 (15:00 -0600)
commit4399287d49c264bff0b20933500ed5ec06fae9ee
treed7b2e9701288cb3b12144c66beef813854632789
parent4660d370db77cef0ba851f1a1ee656fbc21fb4e8
firmware: qcom: scm: Add function to set the maximum IOMMU pool size

This is not necessary for basic functionality of the IOMMU, but
it's an optimization that tells to the TZ what's the maximum
mappable size for the secure IOMMUs, so that it can optimize
the data structures in the TZ itself.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
[Marijn: ported from 5.3 to the unified architecture in 5.11]
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211208083423.22037-3-marijn.suijten@somainline.org
drivers/firmware/qcom_scm.c
drivers/firmware/qcom_scm.h
include/linux/qcom_scm.h