NVIDIA ARM SMMU Implementation
From: | Krishna Reddy <vdumpa-AT-nvidia.com> | |
To: | <joro-AT-8bytes.org>, <will-AT-kernel.org>, <robin.murphy-AT-arm.com>, <robh+dt-AT-kernel.org>, <treding-AT-nvidia.com>, <jonathanh-AT-nvidia.com> | |
Subject: | [PATCH v10 0/5] NVIDIA ARM SMMU Implementation | |
Date: | Tue, 7 Jul 2020 22:00:12 -0700 | |
Message-ID: | <20200708050017.31563-1-vdumpa@nvidia.com> | |
Cc: | <devicetree-AT-vger.kernel.org>, <linux-arm-kernel-AT-lists.infradead.org>, <iommu-AT-lists.linux-foundation.org>, <linux-kernel-AT-vger.kernel.org>, <linux-tegra-AT-vger.kernel.org>, <yhsu-AT-nvidia.com>, <snikam-AT-nvidia.com>, <praithatha-AT-nvidia.com>, <talho-AT-nvidia.com>, <bbiswas-AT-nvidia.com>, <mperttunen-AT-nvidia.com>, <nicolinc-AT-nvidia.com>, <bhuntsman-AT-nvidia.com>, <nicoleotsuka-AT-gmail.com>, Krishna Reddy <vdumpa-AT-nvidia.com> | |
Archive-link: | Article |
Changes in v10: Perform SMMU base ioremap before calling implementation init. Check for Global faults across both ARM MMU-500s during global interrupt. Check for context faults across all contexts of both ARM MMU-500s during context fault interrupt. Add new DT binding nvidia,smmu-500 for NVIDIA implementation. v9 - https://lkml.org/lkml/2020/6/30/1282 v8 - https://lkml.org/lkml/2020/6/29/2385 v7 - https://lkml.org/lkml/2020/6/28/347 v6 - https://lkml.org/lkml/2020/6/4/1018 v5 - https://lkml.org/lkml/2020/5/21/1114 v4 - https://lkml.org/lkml/2019/10/30/1054 v3 - https://lkml.org/lkml/2019/10/18/1601 v2 - https://lkml.org/lkml/2019/9/2/980 v1 - https://lkml.org/lkml/2019/8/29/1588 Krishna Reddy (5): iommu/arm-smmu: move TLB timeout and spin count macros iommu/arm-smmu: ioremap smmu mmio region before implementation init iommu/arm-smmu: add NVIDIA implementation for ARM MMU-500 usage dt-bindings: arm-smmu: add binding for Tegra194 SMMU iommu/arm-smmu: Add global/context fault implementation hooks .../devicetree/bindings/iommu/arm,smmu.yaml | 18 ++ MAINTAINERS | 2 + drivers/iommu/Makefile | 2 +- drivers/iommu/arm-smmu-impl.c | 3 + drivers/iommu/arm-smmu-nvidia.c | 278 ++++++++++++++++++ drivers/iommu/arm-smmu.c | 29 +- drivers/iommu/arm-smmu.h | 6 + 7 files changed, 328 insertions(+), 10 deletions(-) create mode 100644 drivers/iommu/arm-smmu-nvidia.c base-commit: e5640f21b63d2a5d3e4e0c4111b2b38e99fe5164 -- 2.26.2