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

Petr Tesarik posted 2 patches 2 years, 10 months ago
kernel/dma/swiotlb.c | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
[PATCH v1 0/2] swiotlb: Cleanup and alignment fix
Posted by Petr Tesarik 2 years, 10 months ago
From: Petr Tesarik <petr.tesarik.ext@huawei.com>

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
Re: [PATCH v1 0/2] swiotlb: Cleanup and alignment fix
Posted by Christoph Hellwig 2 years, 10 months ago
Thanks,

I've applied this to the for-linus branch with minor cosmetic tweaks.