[PATCH v1 0/2] swiotlb: Cleanup and alignment fix

From: Petr Tesarik
Date: Tue Mar 21 2023 - 04:33:42 EST


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

While working on the dynamic SWIOTLB, I noticed a couple of issues
with the current implementation.

This patch series should be applied on top of GuoRui.Yu's fix for
the deadlock in swiotlb_do_find_slots().

Petr Tesarik (2):
swiotlb: Use wrap_area_index() instead of open-coding it
swiotlb: Fix slot alignment checks

kernel/dma/swiotlb.c | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)

--
2.39.2