Skip to content

swiotlb: Fix a couple of bugs in sizing areas

Petr Tesarik linux-iommu lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2swiotlb: Always set the number of areas before allocating the poolkernel/dma/swiotlb.c+11 -80 replies
2/2swiotlb: Reduce the number of areas to match actual memory pool sizekernel/dma/swiotlb.c+24 -30 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRoberto Sassu
SeriesR-b
1/2
2/2

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 v1 0/2] swiotlb: Fix a couple of bugs in sizing areas

From: Petr Tesarik <[email protected]>

While reworking the dynamic SWIOTLB implementation, I ran into some locking issues with the current implementation. I believe the bugs are serious enough to be fixed separately.

Petr Tesarik (2):
swiotlb: Always set the number of areas before allocating the pool
swiotlb: Reduce the number of areas to match actual memory pool size

 kernel/dma/swiotlb.c | 46 +++++++++++++++++++++++++++++++++-----------
 1 file changed, 35 insertions(+), 11 deletions(-)
Signature · 1 line
2.25.1