Skip to content

dma-buf: system_heap: 2MB system heap chunks

Davidlohr Bueso dri-devel linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dma-buf: system_heap: add a 2MB allocation order for IOMMU superpagesdrivers/dma-buf/heaps/system_heap.c+7 -611 replies
2/3dma-buf: system_heap: fix the allocation ladder on non-4K base pagesdrivers/dma-buf/heaps/system_heap.c+12 -42 replies
3/3dma-buf: validate the attachment before asserting its reservation lockdrivers/dma-buf/dma-buf-mapping.c+2 -22 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchT.J. MercierChristian König
1/3R-b
2/3R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] dma-buf: system_heap: 2MB system heap chunks

Hello,

- Patch 1 adds order 9 to the allocation order ladder.

- Patch 2 fixes the order imprecision when using non 4k base pages. This is not new but patch 1 enlarges it.

- Patch 3 is a misc independent fixlet.

Thanks!

Davidlohr Bueso (3):
dma-buf: system_heap: add a 2MB allocation order for IOMMU superpages
dma-buf: system_heap: fix the allocation ladder on non-4K base pages
dma-buf: validate the attachment before asserting its reservation lock

 drivers/dma-buf/dma-buf-mapping.c   |  4 ++--
 drivers/dma-buf/heaps/system_heap.c | 23 ++++++++++++++++-------
 2 files changed, 18 insertions(+), 9 deletions(-)
Signature · 1 line
2.39.5