^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/kernel/iommu_groups/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: May 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) KernelVersion: v3.5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Contact: Alex Williamson <alex.williamson@redhat.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Description: /sys/kernel/iommu_groups/ contains a number of sub-
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) directories, each representing an IOMMU group. The
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) name of the sub-directory matches the iommu_group_id()
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) for the group, which is an integer value. Within each
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) subdirectory is another directory named "devices" with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) links to the sysfs devices contained in this group.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) The group directory also optionally contains a "name"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) file if the IOMMU driver has chosen to register a more
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) common name for the group.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Users:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) What: /sys/kernel/iommu_groups/reserved_regions
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Date: January 2017
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) KernelVersion: v4.11
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Contact: Eric Auger <eric.auger@redhat.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Description: /sys/kernel/iommu_groups/reserved_regions list IOVA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) regions that are reserved. Not necessarily all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) reserved regions are listed. This is typically used to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) output direct-mapped, MSI, non mappable regions. Each
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) region is described on a single line: the 1st field is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) the base IOVA, the second is the end IOVA and the third
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) field describes the type of the region.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) What: /sys/kernel/iommu_groups/reserved_regions
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Date: June 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) KernelVersion: v5.3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) Contact: Eric Auger <eric.auger@redhat.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) Description: In case an RMRR is used only by graphics or USB devices
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) it is now exposed as "direct-relaxable" instead of "direct".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) In device assignment use case, for instance, those RMRR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) are considered to be relaxable and safe.