All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] Nvidia Arm SMMUv2 Implementation
@ 2019-08-29 22:47 ` Krishna Reddy
  0 siblings, 0 replies; 122+ messages in thread
From: Krishna Reddy @ 2019-08-29 22:47 UTC (permalink / raw)
  Cc: linux-arm-kernel, iommu, linux-kernel, linux-tegra, treding,
	yhsu, snikam, praithatha, talho, avanbrunt, thomasz, olof,
	jtukkinen, mperttunen, Krishna Reddy

Hi All,
Nvidia Arm SMMUv2 implementation has two ARM SMMU(MMU-500) instances
that are used together for SMMU translations. The IOVA accesses from
HW devices are interleaved across these two SMMU instances and need
to be programmed identical except during tlb sync and fault handling.

This patch set adds Nvidia Arm SMMUv2 Implementation on top of ARM SMMU
driver to handle Nvidia specific implementation. It is also adding
hooks for tlb sync and fault handling to allow vendor specific
implementation for the same.

Please review the patch set and provide the feedback.

This patch set is based on the following branch as it is dependent on the
Arm SMMU Refactor changes from Robin Murphy that are present in this branch.

https://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git for-joerg/arm-smmu/updates


Krishna Reddy (7):
  iommu/arm-smmu: add Nvidia SMMUv2 implementation
  dt-bindings: arm-smmu: Add binding for nvidia,smmu-v2
  iommu/arm-smmu: Add tlb_sync implementation hook
  iommu/arm-smmu: Add global/context fault implementation hooks
  arm64: tegra: Add Memory controller DT node on T194
  arm64: tegra: Add DT node for T194 SMMU
  arm64: tegra: enable SMMU for SDHCI and EQOS

 .../devicetree/bindings/iommu/arm,smmu.txt         |   1 +
 MAINTAINERS                                        |   2 +
 arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi     |   4 +
 arch/arm64/boot/dts/nvidia/tegra194.dtsi           |  86 +++++++
 drivers/iommu/Makefile                             |   2 +-
 drivers/iommu/arm-smmu-impl.c                      |   2 +
 drivers/iommu/arm-smmu-nvidia.c                    | 256 +++++++++++++++++++++
 drivers/iommu/arm-smmu.c                           |  16 +-
 drivers/iommu/arm-smmu.h                           |  10 +
 9 files changed, 375 insertions(+), 4 deletions(-)
 create mode 100644 drivers/iommu/arm-smmu-nvidia.c

-- 
2.1.4

^ permalink raw reply	[flat|nested] 122+ messages in thread

end of thread, other threads:[~2019-09-03  1:08 UTC | newest]

Thread overview: 122+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-29 22:47 [PATCH 0/7] Nvidia Arm SMMUv2 Implementation Krishna Reddy
2019-08-29 22:47 ` Krishna Reddy
2019-08-29 22:47 ` Krishna Reddy
2019-08-29 22:47 ` Krishna Reddy
2019-08-29 22:47 ` [PATCH 1/7] iommu/arm-smmu: add Nvidia SMMUv2 implementation Krishna Reddy
2019-08-29 22:47   ` Krishna Reddy
2019-08-29 22:47   ` Krishna Reddy
2019-08-29 22:47   ` Krishna Reddy
2019-08-30 15:02   ` Robin Murphy
2019-08-30 15:02     ` Robin Murphy
2019-08-30 15:02     ` Robin Murphy
2019-08-30 18:16     ` Krishna Reddy
2019-08-30 18:16       ` Krishna Reddy
2019-08-30 18:16       ` Krishna Reddy
2019-08-30 18:16       ` Krishna Reddy
     [not found]       ` <BYAPR12MB2710D045303BE89A7D3FF2C1B3BD0-ZGDeBxoHBPnlX2Hc6Vgn3wdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2019-09-02 13:39         ` Robin Murphy
2019-09-02 13:39           ` Robin Murphy
2019-09-02 13:39           ` Robin Murphy
2019-09-02 13:39           ` Robin Murphy
2019-09-03  1:07           ` Krishna Reddy
2019-09-03  1:07             ` Krishna Reddy
2019-09-03  1:07             ` Krishna Reddy
2019-09-03  1:07             ` Krishna Reddy
2019-08-29 22:47 ` [PATCH 2/7] dt-bindings: arm-smmu: Add binding for nvidia,smmu-v2 Krishna Reddy
2019-08-29 22:47   ` Krishna Reddy
2019-08-29 22:47   ` Krishna Reddy
2019-08-29 22:47   ` Krishna Reddy
2019-08-30 12:07   ` Mikko Perttunen
2019-08-30 12:07     ` [PATCH 2/7] dt-bindings: arm-smmu: Add binding for nvidia, smmu-v2 Mikko Perttunen
2019-08-30 12:07     ` Mikko Perttunen
2019-08-30 15:13   ` [PATCH 2/7] dt-bindings: arm-smmu: Add binding for nvidia,smmu-v2 Robin Murphy
2019-08-30 15:13     ` [PATCH 2/7] dt-bindings: arm-smmu: Add binding for nvidia, smmu-v2 Robin Murphy
2019-08-30 15:13     ` Robin Murphy
2019-08-30 18:12     ` [PATCH 2/7] dt-bindings: arm-smmu: Add binding for nvidia,smmu-v2 Krishna Reddy
2019-08-30 18:12       ` [PATCH 2/7] dt-bindings: arm-smmu: Add binding for nvidia, smmu-v2 Krishna Reddy
2019-08-30 18:12       ` Krishna Reddy
2019-08-30 18:12       ` [PATCH 2/7] dt-bindings: arm-smmu: Add binding for nvidia,smmu-v2 Krishna Reddy
2019-09-02  7:38       ` Thierry Reding
2019-09-02  7:38         ` [PATCH 2/7] dt-bindings: arm-smmu: Add binding for nvidia, smmu-v2 Thierry Reding
2019-09-02  7:38         ` Thierry Reding
2019-09-02  7:38         ` [PATCH 2/7] dt-bindings: arm-smmu: Add binding for nvidia,smmu-v2 Thierry Reding
2019-08-29 22:47 ` [PATCH 3/7] iommu/arm-smmu: Add tlb_sync implementation hook Krishna Reddy
2019-08-29 22:47   ` Krishna Reddy
2019-08-29 22:47   ` Krishna Reddy
2019-08-29 22:47   ` Krishna Reddy
2019-08-30 11:14   ` Thierry Reding
2019-08-30 11:14     ` Thierry Reding
2019-08-30 11:14     ` Thierry Reding
2019-08-30 19:00     ` Krishna Reddy
2019-08-30 19:00       ` Krishna Reddy
2019-08-30 19:00       ` Krishna Reddy
2019-08-30 19:00       ` Krishna Reddy
2019-08-30 15:23   ` Robin Murphy
2019-08-30 15:23     ` Robin Murphy
2019-08-30 15:23     ` Robin Murphy
2019-08-30 18:05     ` Krishna Reddy
2019-08-30 18:05       ` Krishna Reddy
2019-08-30 18:05       ` Krishna Reddy
2019-08-30 18:05       ` Krishna Reddy
2019-08-30 22:49       ` Krishna Reddy
2019-08-30 22:49         ` Krishna Reddy
2019-08-30 22:49         ` Krishna Reddy
2019-08-30 22:49         ` Krishna Reddy
2019-09-02 13:00         ` Robin Murphy
2019-09-02 13:00           ` Robin Murphy
2019-09-02 13:00           ` Robin Murphy
2019-09-02 13:00           ` Robin Murphy
2019-08-29 22:47 ` [PATCH 4/7] iommu/arm-smmu: Add global/context fault implementation hooks Krishna Reddy
2019-08-29 22:47   ` Krishna Reddy
2019-08-29 22:47   ` Krishna Reddy
2019-08-29 22:47   ` Krishna Reddy
2019-08-30 11:17   ` Thierry Reding
2019-08-30 11:17     ` Thierry Reding
2019-08-30 11:17     ` Thierry Reding
2019-08-30 19:16     ` Krishna Reddy
2019-08-30 19:16       ` Krishna Reddy
2019-08-30 19:16       ` Krishna Reddy
2019-08-30 19:16       ` Krishna Reddy
2019-08-30 15:43   ` Robin Murphy
2019-08-30 15:43     ` Robin Murphy
2019-08-30 15:43     ` Robin Murphy
2019-08-30 17:43     ` Krishna Reddy
2019-08-30 17:43       ` Krishna Reddy
2019-08-30 17:43       ` Krishna Reddy
2019-08-30 17:43       ` Krishna Reddy
2019-08-29 22:47 ` [PATCH 5/7] arm64: tegra: Add Memory controller DT node on T194 Krishna Reddy
2019-08-29 22:47   ` Krishna Reddy
2019-08-29 22:47   ` Krishna Reddy
2019-08-29 22:47   ` Krishna Reddy
2019-08-30 11:18   ` Thierry Reding
2019-08-30 11:18     ` Thierry Reding
2019-08-30 11:18     ` Thierry Reding
2019-08-29 22:47 ` [PATCH 6/7] arm64: tegra: Add DT node for T194 SMMU Krishna Reddy
2019-08-29 22:47   ` Krishna Reddy
2019-08-29 22:47   ` Krishna Reddy
2019-08-29 22:47   ` Krishna Reddy
2019-08-30 12:09   ` Mikko Perttunen
2019-08-30 12:09     ` Mikko Perttunen
2019-08-30 12:09     ` Mikko Perttunen
2019-08-30 18:39     ` Krishna Reddy
2019-08-30 18:39       ` Krishna Reddy
2019-08-30 18:39       ` Krishna Reddy
2019-08-30 18:39       ` Krishna Reddy
2019-08-30 15:44   ` Robin Murphy
2019-08-30 15:44     ` Robin Murphy
2019-08-30 15:44     ` Robin Murphy
2019-08-30 17:25     ` Krishna Reddy
2019-08-30 17:25       ` Krishna Reddy
2019-08-30 17:25       ` Krishna Reddy
2019-08-30 17:25       ` Krishna Reddy
2019-08-30 17:45       ` Robin Murphy
2019-08-30 17:45         ` Robin Murphy
2019-08-30 17:45         ` Robin Murphy
2019-08-30 17:45         ` Robin Murphy
2019-08-30 18:35         ` Krishna Reddy
2019-08-30 18:35           ` Krishna Reddy
2019-08-30 18:35           ` Krishna Reddy
2019-08-30 18:35           ` Krishna Reddy
2019-08-29 22:47 ` [PATCH 7/7] arm64: tegra: enable SMMU for SDHCI and EQOS Krishna Reddy
2019-08-29 22:47   ` Krishna Reddy
2019-08-29 22:47   ` Krishna Reddy
2019-08-29 22:47   ` Krishna Reddy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.