mirror-linux/include/soc/tegra
Jason Gunthorpe c462944901 iommu/tegra-gart: Remove tegra-gart
Thierry says this is not used anymore, and doesn't think it makes sense as
an iommu driver. The HW it supports is about 10 years old now and newer HW
uses different IOMMU drivers.

As this is the only driver with a GART approach, and it doesn't really
meet the driver expectations from the IOMMU core, let's just remove it
so we don't have to think about how to make it fit in.

It has a number of identified problems:
 - The assignment of iommu_groups doesn't match the HW behavior

 - It claims to have an UNMANAGED domain but it is really an IDENTITY
   domain with a translation aperture. This is inconsistent with the core
   expectation for security sensitive operations

 - It doesn't implement a SW page table under struct iommu_domain so
   * It can't accept a map until the domain is attached
   * It forgets about all maps after the domain is detached
   * It doesn't clear the HW of maps once the domain is detached
     (made worse by having the wrong groups)

Cc: Thierry Reding <treding@nvidia.com>
Cc: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/6-v8-81230027b2fa+9d-iommu_all_defdom_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2023-09-25 11:40:54 +02:00
..
ahb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
bpmp-abi.h firmware: tegra: Update BPMP ABI 2022-11-17 23:34:17 +01:00
bpmp.h firmware: tegra: bpmp: Use iosys-map helpers 2022-10-24 15:18:11 +02:00
common.h soc/tegra: Add devm_tegra_core_dev_init_opp_table_common() 2021-12-16 14:03:38 +01:00
cpuidle.h cpuidle: Refactor and move out NVIDIA Tegra20 driver into drivers/cpuidle 2020-03-13 11:31:58 +01:00
flowctrl.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 399 2019-06-05 17:37:12 +02:00
fuse.h soc/tegra: fuse: Add support for Tegra264 2023-05-16 10:58:50 +02:00
irq.h soc/tegra: irq: Add stubs needed for compile testing 2021-10-04 21:27:21 +02:00
ivc.h firmware: tegra: Changes for v6.2-rc1 2022-11-22 22:14:39 +01:00
mc.h iommu/tegra-gart: Remove tegra-gart 2023-09-25 11:40:54 +02:00
pm.h soc/tegra: pm: Make stubs usable for compile testing 2021-10-04 21:27:40 +02:00
pmc.h soc/tegra: pmc: Add I/O pad table for Tegra234 2022-11-10 02:21:12 +01:00
tegra-cbb.h soc/tegra: cbb: Add CBB 1.0 driver for Tegra194 2022-09-15 12:41:36 +02:00