mirror-linux/drivers/memory
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
..
samsung memory: Explicitly include correct DT includes 2023-07-25 22:09:37 +02:00
tegra iommu/tegra-gart: Remove tegra-gart 2023-09-25 11:40:54 +02:00
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
Kconfig memory: atmel-sdramc: remove the driver 2023-06-02 10:39:24 +02:00
Makefile memory: atmel-sdramc: remove the driver 2023-06-02 10:39:24 +02:00
atmel-ebi.c memory: atmel-ebi: Use of_property_present() for testing DT property presence 2023-03-13 07:53:45 +01:00
brcmstb_dpfe.c memory: Explicitly include correct DT includes 2023-07-25 22:09:37 +02:00
brcmstb_memc.c memory: brcmstb_memc: Add Broadcom STB memory controller driver 2022-08-18 09:11:45 +03:00
bt1-l2-ctl.c memory: remove MODULE_LICENSE in non-modules 2023-03-09 15:20:50 +01:00
da8xx-ddrctl.c memory: Explicitly include correct DT includes 2023-07-25 22:09:37 +02:00
dfl-emif.c memory: dfl-emif: Update the dfl emif driver support revision 1 2022-08-16 12:12:04 +03:00
emif-asm-offsets.c memory: emif-asm-offsets: Add GPLv2 SPDX license header 2020-07-24 16:18:32 +02:00
emif.c More power management updates for 5.19-rc1 2022-05-30 11:37:26 -07:00
emif.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
fsl-corenet-cf.c memory: fsl-corenet-cf: Use helper function devm_platform_ioremap_resource() 2022-04-19 16:59:03 +02:00
fsl_ifc.c memory: Explicitly include correct DT includes 2023-07-25 22:09:37 +02:00
jedec_ddr.h memory: Add LPDDR2-info helpers 2021-10-15 09:52:47 +02:00
jedec_ddr_data.c memory: Add LPDDR2-info helpers 2021-10-15 09:52:47 +02:00
jz4780-nemc.c memory: Explicitly include correct DT includes 2023-07-25 22:09:37 +02:00
mtk-smi.c memory: mtk-smi: mt8365: Add SMI Support 2023-04-10 18:57:15 +02:00
mvebu-devbus.c memory: remove MODULE_LICENSE in non-modules 2023-03-09 15:20:50 +01:00
of_memory.c memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings() 2022-08-16 12:12:06 +03:00
of_memory.h memory: Add LPDDR2-info helpers 2021-10-15 09:52:47 +02:00
omap-gpmc.c memory: omap-gpmc: fix wait pin validation 2022-12-27 09:51:24 +01:00
pl172.c amba: Make the remove callback return void 2021-02-02 14:25:50 +01:00
pl353-smc.c memory: Explicitly include correct DT includes 2023-07-25 22:09:37 +02:00
renesas-rpc-if.c memory: Explicitly include correct DT includes 2023-07-25 22:09:37 +02:00
stm32-fmc2-ebi.c memory: Explicitly include correct DT includes 2023-07-25 22:09:37 +02:00
ti-aemif.c memory: ti-emif: simplify platform_get_resource() 2022-04-26 09:48:25 +02:00
ti-emif-pm.c memory: ti-emif-pm: Use device_get_match_data() to simplify the code 2023-01-23 11:48:31 +01:00
ti-emif-sram-pm.S ARM: mm: Make virt_to_pfn() a static inline 2023-05-29 11:27:08 +02:00