Alexey Kardashevskiy wrote: [..] > >> The usage of these kAPIs should be in IOMMUFD, that's what I'm doing for > >> Stage 2 patchset. I need to rebase this series, adopt suggestions from > >> Jason, and make TDX Connect work to verify, so need more time... > >> > > > > Since the bind/unbind operations are PCI-specific callbacks, and iommufd > > Not really, it is PCI-specific in TSM (for DOE) but since IOMMUFD is not doing any of that, it can work with struct device (not pci_dev). Thanks, Certainly the iommufd call signature will be in terms of iommufd_device, but that call ultimately needs to be bus aware, because "Device Security" is a bus specific protocol.