On Mon, Nov 28, 2022 at 09:01:43PM +0000, Robin Murphy wrote: > I'm hardly an advocate for trying to save users from themselves, but I > honestly can't see any justifiable reason for not having sysfs respect > iommu_get_def_domain_type(). We really need to rename this value if it is not actually just an advisory "default" but a functional requirement .. > > The driver should have no say in how dma-iommu.c works beyond if it > > provides the required ops functionalities, and hint(s) as to what > > gives best performance. > > That should already be the case today, as outlined in my other mail. It's > just somewhat more evolved than designed, so may not be so clear to > everyone. It is close to being clear, once we get the last touches of dma-iommu stuff out of the drivers it should be quite clear Thanks, Jason