Messages in this thread | | | From | Michael Kelley <> | Subject | RE: [PATCH 1/1] swiotlb: add a KUnit test suite | Date | Mon, 25 Mar 2024 20:10:49 +0000 |
| |
From: Petr Tesařík <petr@tesarici.cz> Sent: Monday, March 25, 2024 7:07 AM > > On Wed, 13 Mar 2024 10:27:40 +0100 > Petr Tesarik <petrtesarik@huaweicloud.com> wrote: > > > From: Petr Tesarik <petr.tesarik1@huawei-partners.com> > > > > Add unit tests to help avoid regressions in the SWIOTLB code. > > > > These features are covered by the test suite: > > > > * basic functionality (map, sync) > > * alignment based on mapping size > > * alignment based on min_align_mask > > * explicit alignment with alloc_align_mask > > * combination of alignment constraints > > > > Select CONFIG_SWIOTLB rather than depend on it, because it allows to run > > the test with UML (default KUnit target). > > Hi all, > > I know it's not super-urgent, but I'm just curious: Has anyone had time > to try out this patch? Did it work for you? >
I've read through the patch code, but I haven't run it. I'll need to do some reading on Kunit as it's not something I've used before. I'm not sure when/if I will get to it.
Michael
| |