[GIT PULL] memory: Tegra for v5.14, part two
From: Krzysztof Kozlowski
Date: Mon Jun 14 2021 - 15:52:11 EST
Hi Arnd and Olof,
Tegra got quite big rework this cycle. The last piece comes from Thierry,
however it depends on one patch in Will's tree. Since the last Thierry's
patches depend both on that one patch and other memory controller drivers
changes, they are here.
Best regards,
Krzysztof
The following changes since commit 393d66fd2cacba3e6aa95d7bb38790bfb7b1cc3a:
memory: tegra: Implement SID override programming (2021-06-03 21:50:43 +0200)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl.git tags/memory-controller-drv-tegra-5.14-2
for you to fetch changes up to 2c1bc371268862a991a6498e1dddc8971b9076b8:
iommu/arm-smmu: Use Tegra implementation on Tegra186 (2021-06-11 08:44:53 +0200)
----------------------------------------------------------------
Memory controller drivers for v5.14 - Tegra SoC, part two
Second set of changes for Tegra SoC memory controller drivers,
containing patchset from Thierry Reding:
"The goal here is to avoid early identity mappings altogether and instead
postpone the need for the identity mappings to when devices are attached
to the SMMU. This works by making the SMMU driver coordinate with the
memory controller driver on when to start enforcing SMMU translations.
This makes Tegra behave in a more standard way and pushes the code to
deal with the Tegra-specific programming into the NVIDIA SMMU
implementation."
This pulls a dependency from Will Deacon (ARM SMMU driver) and contains
further ARM SMMU driver patches to resolve complex dependencies between
different patchsets. The pull from Will contains only one patch
("Implement ->probe_finalize()"). Further work in Will's tree might
depend on this patch, therefore patch was applied there.
On the other hand, this ("Implement ->probe_finalize()") patch is also a
dependency for ARM SMMU driver changes for Tegra. These changes,
bringing seamless transition from the firmware framebuffer to the OS
framebuffer, depend on earlier Tegra memory controller driver patches.
----------------------------------------------------------------
Dan Carpenter (1):
memory: tegra: Delete dead debugfs checking code
Krzysztof Kozlowski (1):
Merge branch 'for-thierry/arm-smmu' of https://git.kernel.org/pub/scm/linux/kernel/git/will/linux into for-v5.14/tegra-mc
Thierry Reding (5):
iommu/arm-smmu: Implement ->probe_finalize()
dt-bindings: arm-smmu: Add Tegra186 compatible string
iommu/arm-smmu: tegra: Detect number of instances at runtime
iommu/arm-smmu: tegra: Implement SID override programming
iommu/arm-smmu: Use Tegra implementation on Tegra186
.../devicetree/bindings/iommu/arm,smmu.yaml | 11 ++-
drivers/iommu/arm/arm-smmu/arm-smmu-impl.c | 3 +-
drivers/iommu/arm/arm-smmu/arm-smmu-nvidia.c | 90 +++++++++++++++++-----
drivers/iommu/arm/arm-smmu/arm-smmu.c | 13 ++++
drivers/iommu/arm/arm-smmu/arm-smmu.h | 1 +
drivers/memory/tegra/tegra124-emc.c | 4 -
drivers/memory/tegra/tegra20-emc.c | 4 -
drivers/memory/tegra/tegra210-emc-core.c | 4 -
drivers/memory/tegra/tegra30-emc.c | 4 -
9 files changed, 96 insertions(+), 38 deletions(-)