linux_old1/arch
Robin Murphy a8a4c98fc9 x86/dma/amd-gart: Stop resizing dma_debug_entry pool
dma-debug is now capable of adding new entries to its pool on-demand if
the initial preallocation was insufficient, so the IOMMU_LEAK logic no
longer needs to explicitly change the pool size. This does lose it the
ability to save a couple of megabytes of RAM by reducing the pool size
below its default, but it seems unlikely that that is a realistic
concern these days (or indeed that anyone is actively debugging AGP
drivers' DMA usage any more). Getting rid of dma_debug_resize_entries()
will make room for further streamlining in the dma-debug code itself.

Removing the call reveals quite a lot of cruft which has been useless
for nearly a decade since commit 19c1a6f576 ("x86 gart: reimplement
IOMMU_LEAK feature by using DMA_API_DEBUG"), including the entire
'iommu=leak' parameter, which controlled nothing except whether
dma_debug_resize_entries() was called or not.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Qian Cai <cai@lca.pw>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2018-12-11 14:32:12 +01:00
..
alpha arch: switch the default on ARCH_HAS_SG_CHAIN 2018-12-06 07:04:56 -08:00
arc arch: switch the default on ARCH_HAS_SG_CHAIN 2018-12-06 07:04:56 -08:00
arm arch: switch the default on ARCH_HAS_SG_CHAIN 2018-12-06 07:04:56 -08:00
arm64 arch: switch the default on ARCH_HAS_SG_CHAIN 2018-12-06 07:04:56 -08:00
c6x c6x changes for 4.20 2018-10-31 15:39:25 -07:00
csky csky: use the generic remapping dma alloc implementation 2018-12-01 18:07:16 +01:00
h8300 mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
hexagon mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
ia64 arch: switch the default on ARCH_HAS_SG_CHAIN 2018-12-06 07:04:56 -08:00
m68k s390 updates for 4.20-rc2 2018-11-09 06:30:44 -06:00
microblaze s390 updates for 4.20-rc2 2018-11-09 06:30:44 -06:00
mips mips/jazz: remove the mapping_error dma_map_ops method 2018-12-06 06:56:38 -08:00
nds32 s390 updates for 4.20-rc2 2018-11-09 06:30:44 -06:00
nios2 mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
openrisc mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
parisc arch: switch the default on ARCH_HAS_SG_CHAIN 2018-12-06 07:04:56 -08:00
powerpc arch: switch the default on ARCH_HAS_SG_CHAIN 2018-12-06 07:04:56 -08:00
riscv RISC-V: recognize S/U mode bits in print_isa 2018-11-20 05:19:28 -08:00
s390 arch: switch the default on ARCH_HAS_SG_CHAIN 2018-12-06 07:04:56 -08:00
sh mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
sparc arch: switch the default on ARCH_HAS_SG_CHAIN 2018-12-06 07:04:56 -08:00
um for-linus-20181109 2018-11-09 16:31:51 -06:00
unicore32 memblock: stop using implicit alignment to SMP_CACHE_BYTES 2018-10-31 08:54:16 -07:00
x86 x86/dma/amd-gart: Stop resizing dma_debug_entry pool 2018-12-11 14:32:12 +01:00
xtensa arch: switch the default on ARCH_HAS_SG_CHAIN 2018-12-06 07:04:56 -08:00
.gitignore
Kconfig New gcc plugin: stackleak 2018-11-01 11:46:27 -07:00