Messages in this thread | | | Date | Mon, 24 Jan 2022 13:24:18 -0400 | From | Jason Gunthorpe <> | Subject | Re: [PATCH 7/7] iommu: Add iommu_domain::domain_ops |
| |
On Mon, Jan 24, 2022 at 01:37:21AM -0800, Christoph Hellwig wrote: > On Mon, Jan 24, 2022 at 03:11:02PM +0800, Lu Baolu wrote: > > Add a domain specific callback set, domain_ops, for vendor iommu driver > > to provide domain specific operations. Move domain-specific callbacks > > from iommu_ops to the domain_ops and hook them when a domain is allocated. > > Ah, that's what I meant earlier. Perfect! > > Nit: I don't think vendor is the right term here.
+1 please don't use the confusing 'vendor' in the kernel, if you feel you want to write 'vendor' writing 'device driver' is usually a good choice..
This whole series is nice, the few small notes aside, thanks for making it!
Jason
| |