[PATCH 0/3] iommu/arm-smmu: Qualcomm bootsplash/efifb

From: Bjorn Andersson
Date: Thu Dec 26 2019 - 17:17:59 EST


These patches implements the stream mapping inheritance that's necessary in
order to not hit a security violation as the display hardware looses its stream
mapping during initialization of arm-smmu in various Qualcomm platforms.

This was previously posted as an RFC [1], changes since then involves the
rebase and migration of the read-back code to the Qualcomm specific
implementation, the mapping is maintained indefinitely - to handle probe
deferring clients - and rewritten commit messages.

[1] https://lore.kernel.org/linux-arm-msm/20190605210856.20677-1-bjorn.andersson@xxxxxxxxxx/

Bjorn Andersson (3):
iommu/arm-smmu: Don't blindly use first SMR to calculate mask
iommu/arm-smmu: Expose s2cr and smr structs to impl
iommu/arm-smmu: Allow inherting stream mapping from bootloader

drivers/iommu/arm-smmu-qcom.c | 35 ++++++++++++++++++
drivers/iommu/arm-smmu.c | 70 +++++++++++++++++++++++------------
drivers/iommu/arm-smmu.h | 15 ++++++++
3 files changed, 96 insertions(+), 24 deletions(-)

--
2.24.0