Unifying SMMU driver among Tegra SoCs
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest19 patches 91 repliesIn review
Changes in v3 from the cover letter
Updated based on Stephen Warren's feedback
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | of: dev_node has struct device pointerdrivers/ include/ | +7 | 40 replies | |
| 2/19 | ARM: tegra: Populate AHB/IOMMU earlier than othersarch/ | +22 | 1 reply | |
| 3/19 | amba: Move AHB to core_initcalldrivers/ | +6 | 0 replies | |
| 4/19 | iommu/tegra: smmu: Move IOMMU to core_initcalldrivers/ | +1 | 0 replies | |
| 5/19 | ARM: dt: tegra114: iommu: Fix IOMMU register addressarch/ | +3 | 6 replies | |
| 6/19 | iommu/tegra: smmu: Select ARM_DMA_USE_IOMMU in Kconfigdrivers/ | +1 | 3 replies | |
| 7/19 | iommu/tegra: smmu: Create default IOVA mapsdrivers/ | +27 | 1 reply | |
| 8/19 | iommu/tegra: smmu: Register platform_device to IOMMU dynamicallydrivers/ | +35 | 0 replies | |
| 9/19 | iommu/tegra: smmu: Calculate ASID register offset by IDdrivers/ | +1 | 0 replies | |
| 10/19 | iommu/tegra: smmu: Get "nvidia,swgroups" from DTDocumentation/ drivers/ | +20 | 11 replies | |
| 11/19 | ARM: dt: tegra30: iommu: Add "nvidia,swgroups"arch/ | +1 | 1 reply | |
| 12/19 | ARM: dt: tegra114: iommu: Add "nvidia,swgroups"arch/ | +1 | 1 reply | |
| 13/19 | iommu/tegra: smmu: Workaround PCIe IOMMU'abledrivers/ | +3 | 1 reply | |
| 14/19 | iommu/tegra: smmu: Get "nvidia,memory-clients" from DTDocumentation/ drivers/ | +40 | 19 replies | |
| 15/19 | ARM: tegra: Create a DT header defining SWGROUP IDinclude/ | +46 | 6 replies | |
| 16/19 | iommu/tegra: smmu: Use dt-bindings MACROdrivers/ | +2 | 0 replies | |
| 17/19 | ARM: dt: tegra30: iommu: Add "nvidia,memory-clients"arch/ | +21 | 0 replies | |
| 18/19 | ARM: dt: tegra114: iommu: Add "nvidia, memory-clients"arch/ | +6 | 0 replies | |
| 19/19 | iommu/tegra: smmu: Support Multiple ASIDdrivers/ | +13 | 0 replies |
Reviews trailers per patch
1 of 19 patches has a Reviewed-by or Acked-by.
| Patch | Mark Rutland |
|---|---|
| 1/19 | |
| 2/19 | |
| 3/19 | |
| 4/19 | |
| 5/19 | A-b |
| 6/19 | |
| 7/19 | |
| 8/19 | |
| 9/19 | |
| 10/19 | |
| 11/19 | |
| 12/19 | |
| 13/19 | |
| 14/19 | |
| 15/19 | |
| 16/19 | |
| 17/19 | |
| 18/19 | |
| 19/19 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHv3 00/19] Unifying SMMU driver among Tegra SoCs
Hi,
This series provides:
(1) Unified SMMU driver among Tegra SoCs
(2) Multiple Address Space support(MASID) in IOMMU(SMMMU)
(3) Tegra IOMMU'able devices, most of platform devices are IOMMU'able.
There's some discussion[1] about device population order, which could solve the following patches.
patch 1: [HACK] of: dev_node has struct device pointer patch 2: [HACK] ARM: tegra: Populate AHB/IOMMU earlier than others patch 3: [HACK] amba: Move AHB to core_initcall
patch 4: [HACK] iommu/tegra: smmu: Move IOMMU to core_initcall
Tested IOMMU functionality with T30 SD/MMC. Any further testing with T114 and/or other devices would be really appreciated.
v3:
Updated based on Stephen Warren's feedback
v2:
Updated based on Thierry Reding's and Stephen Warren's feedback
v2: http://lists.infradead.org/pipermail/linux-arm-kernel/2013-July/181888.html
v1: http://lists.infradead.org/pipermail/linux-arm-kernel/2013-June/180267.html
Available in the git repository at:
git://[email protected]/user/hdoyu/linux.git smmu-upstreaming@20131018
Hiroshi Doyu (19):
[HACK] of: dev_node has struct device pointer
[HACK] ARM: tegra: Populate AHB/IOMMU earlier than others [HACK] amba: Move AHB to core_initcall
[HACK] iommu/tegra: smmu: Move IOMMU to core_initcall
ARM: dt: tegra114: iommu: Fix IOMMU register address iommu/tegra: smmu: Select ARM_DMA_USE_IOMMU in Kconfig iommu/tegra: smmu: Create default IOVA maps iommu/tegra: smmu: Register platform_device to IOMMU dynamically iommu/tegra: smmu: Calculate ASID register offset by ID iommu/tegra: smmu: Get "nvidia,swgroups" from DT
ARM: dt: tegra30: iommu: Add "nvidia,swgroups"
ARM: dt: tegra114: iommu: Add "nvidia,swgroups" iommu/tegra: smmu: Workaround PCIe IOMMU'able iommu/tegra: smmu: Get "nvidia,memory-clients" from DT
ARM: tegra: Create a DT header defining SWGROUP ID iommu/tegra: smmu: Use dt-bindings MACRO
ARM: dt: tegra30: iommu: Add "nvidia,memory-clients"
ARM: dt: tegra114: iommu: Add "nvidia,memory-clients" iommu/tegra: smmu: Support Multiple ASID
.../bindings/iommu/nvidia,tegra30-smmu.txt | 22 ++- arch/arm/boot/dts/tegra114.dtsi | 15 +- arch/arm/boot/dts/tegra30.dtsi | 23 ++- arch/arm/mach-tegra/tegra.c | 22 +++ drivers/amba/tegra-ahb.c | 7 +- drivers/iommu/Kconfig | 1 + drivers/iommu/tegra-smmu.c | 198 ++++++++++++--------- drivers/of/platform.c | 6 + include/dt-bindings/memory/tegra-swgroup.h | 46 +++++ include/linux/of.h | 1 + 10 files changed, 253 insertions(+), 88 deletions(-) create mode 100644 include/dt-bindings/memory/tegra-swgroup.h
Signature · 1 line
1.8.1.5