Skip to content

drm/ttm: remove userspace backed ttm object support

[email protected] dri-devel 1 version NAK

Status from this message: NAK, this patch introduces a DOS vulnerability. It's allowing an arbitrary number of pages to be

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 13 repliesNAK

Patches in v1

#Subject and filesSizeRepliesApplied
1/12drm/ttm: remove userspace backed ttm object supportdrivers/gpu/drm/ttm/ttm_bo.c drivers/gpu/drm/ttm/ttm_tt.c include/drm/ttm/ttm_bo_api.h +1 more+1 -1553 replies
2/12drm/ttm: remove split btw highmen and lowmem pagedrivers/gpu/drm/ttm/ttm_tt.c include/drm/ttm/ttm_bo_driver.h+2 -162 replies
3/12drm/ttm: remove unused backend flags fielddrivers/gpu/drm/radeon/radeon_ttm.c include/drm/ttm/ttm_bo_driver.h+0 -31 reply
4/12drm/ttm: use ttm put pages function to properly restore cache attributedrivers/gpu/drm/ttm/ttm_tt.c+4 -11 reply
5/12drm/ttm: convert page allocation to use page ptr array instead of list V3drivers/gpu/drm/ttm/ttm_memory.c drivers/gpu/drm/ttm/ttm_page_alloc.c drivers/gpu/drm/ttm/ttm_tt.c +2 more+115 -1082 replies
6/12drm/ttm: test for dma_address array allocation failuredrivers/gpu/drm/ttm/ttm_tt.c+1 -11 reply
7/12drm/ttm: merge ttm_backend and ttm_ttdrivers/gpu/drm/nouveau/nouveau_bo.c drivers/gpu/drm/nouveau/nouveau_drv.h drivers/gpu/drm/nouveau/nouveau_sgdma.c +6 more+295 -4601 reply
8/12drm/ttm: introduce callback for ttm_tt populate & unpopulatedrivers/gpu/drm/nouveau/nouveau_bo.c drivers/gpu/drm/radeon/radeon_ttm.c drivers/gpu/drm/ttm/ttm_bo_util.c +6 more+125 -1251 reply
9/12ttm: Provide DMA aware TTM page pool code.drivers/gpu/drm/ttm/Makefile drivers/gpu/drm/ttm/ttm_memory.c drivers/gpu/drm/ttm/ttm_page_alloc_dma.c +2 more+1256 -01 reply
10/12swiotlb: Expose swiotlb_nr_tlb function to modulesdrivers/xen/swiotlb-xen.c include/linux/swiotlb.h lib/swiotlb.c+5 -40 replies
11/12drm/radeon/kms: Enable the TTM DMA pool if swiotlb is ondrivers/gpu/drm/radeon/radeon.h drivers/gpu/drm/radeon/radeon_device.c drivers/gpu/drm/radeon/radeon_gart.c +1 more+83 -350 replies
12/12nouveau/ttm/dma: Enable the TTM DMA pool if device can only do 32-bit DMA.drivers/gpu/drm/nouveau/nouveau_bo.c drivers/gpu/drm/nouveau/nouveau_debugfs.c drivers/gpu/drm/nouveau/nouveau_sgdma.c+73 -610 replies

Reviews trailers per patch

11 of 12 patches have a Reviewed-by or Acked-by.

PatchKonrad Rzeszutek WilkMichel DänzerJerome GlisseThomas Hellstrom
1/12R-b R-b R-b
2/12R-b R-b
3/12R-b R-b
4/12R-b R-b
5/12R-b
6/12R-b R-b
7/12R-b
8/12R-b
9/12T-b R-b
10/12
11/12R-b
12/12R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread