Re: [PATCH v5 5/5] kselftests: Add dma-heap test

2019-06-07 Thread Brian Starkey
Hi John, I haven't looked at any selftests before, but is there any advantage to using the test harness? https://www.kernel.org/doc/html/v5.1/dev-tools/kselftest.html#test-harness Couple of minor things below On Fri, Jun 07, 2019 at 03:07:19AM +, John Stultz wrote: > Add very trivial

[PATCH v5 5/5] kselftests: Add dma-heap test

2019-06-06 Thread John Stultz
Add very trivial allocation and import test for dma-heaps, utilizing the vgem driver as a test importer. A good chunk of this code taken from: tools/testing/selftests/android/ion/ionmap_test.c Originally by Laura Abbott Cc: Benjamin Gaignard Cc: Sumit Semwal Cc: Liam Mark Cc: Pratik