On Fri, May 21, 2021 at 06:42:09PM +0200, Rafael J. Wysocki wrote: > On Fri, Apr 23, 2021 at 1:57 PM Jean-Philippe Brucker > <jean-philippe@xxxxxxxxxx> wrote: > > > > Some of the IOMMU setup code in IORT is fairly generic and can be reused > > by VIOT. Extract it from IORT. > > Except that iort_iommu_configure_id() is not really generic AFAICS. I'll clarify the commit message: the parts of iort_iommu_configure_id() that set up the IOMMU infrastructure can be extracted and reused by VIOT. The rest of the function, that iterates over the IORT subtables, is specific to the driver. Thanks, Jean