Re: [PATCH v3 04/18] driver core: platform: Add driver dma ownership management

Christoph Hellwig
2021-12-06T14:36:45Z

I really hate the amount of boilerplate code that having this in each
bus type causes.

Between that and the suggestion from Joerg I wonder if we could do the
following again:

- add new no_kernel_dma flag to struct device_driver
- set this flag for the various vfio drivers
- skip claiming the kernel dma ownership for those (or rather release
it if the suggestion from Joerg works out)