[PATCH v1 0/2] swiotlb: Fix a couple of bugs in sizing areas

From: Petr Tesarik
Date: Mon Jun 26 2023 - 09:02:00 EST


From: Petr Tesarik <petr.tesarik.ext@xxxxxxxxxx>

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(-)

--
2.25.1