18c2ecf20Sopenharmony_ciWhat: /sys/kernel/iommu_groups/ 28c2ecf20Sopenharmony_ciDate: May 2012 38c2ecf20Sopenharmony_ciKernelVersion: v3.5 48c2ecf20Sopenharmony_ciContact: Alex Williamson <alex.williamson@redhat.com> 58c2ecf20Sopenharmony_ciDescription: /sys/kernel/iommu_groups/ contains a number of sub- 68c2ecf20Sopenharmony_ci directories, each representing an IOMMU group. The 78c2ecf20Sopenharmony_ci name of the sub-directory matches the iommu_group_id() 88c2ecf20Sopenharmony_ci for the group, which is an integer value. Within each 98c2ecf20Sopenharmony_ci subdirectory is another directory named "devices" with 108c2ecf20Sopenharmony_ci links to the sysfs devices contained in this group. 118c2ecf20Sopenharmony_ci The group directory also optionally contains a "name" 128c2ecf20Sopenharmony_ci file if the IOMMU driver has chosen to register a more 138c2ecf20Sopenharmony_ci common name for the group. 148c2ecf20Sopenharmony_ciUsers: 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ciWhat: /sys/kernel/iommu_groups/reserved_regions 178c2ecf20Sopenharmony_ciDate: January 2017 188c2ecf20Sopenharmony_ciKernelVersion: v4.11 198c2ecf20Sopenharmony_ciContact: Eric Auger <eric.auger@redhat.com> 208c2ecf20Sopenharmony_ciDescription: /sys/kernel/iommu_groups/reserved_regions list IOVA 218c2ecf20Sopenharmony_ci regions that are reserved. Not necessarily all 228c2ecf20Sopenharmony_ci reserved regions are listed. This is typically used to 238c2ecf20Sopenharmony_ci output direct-mapped, MSI, non mappable regions. Each 248c2ecf20Sopenharmony_ci region is described on a single line: the 1st field is 258c2ecf20Sopenharmony_ci the base IOVA, the second is the end IOVA and the third 268c2ecf20Sopenharmony_ci field describes the type of the region. 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ciWhat: /sys/kernel/iommu_groups/reserved_regions 298c2ecf20Sopenharmony_ciDate: June 2019 308c2ecf20Sopenharmony_ciKernelVersion: v5.3 318c2ecf20Sopenharmony_ciContact: Eric Auger <eric.auger@redhat.com> 328c2ecf20Sopenharmony_ciDescription: In case an RMRR is used only by graphics or USB devices 338c2ecf20Sopenharmony_ci it is now exposed as "direct-relaxable" instead of "direct". 348c2ecf20Sopenharmony_ci In device assignment use case, for instance, those RMRR 358c2ecf20Sopenharmony_ci are considered to be relaxable and safe. 36