Paws/ShellScripts/check-IOMMU-grouping.sh
Aroy-Art ab2fcb4db6
All checks were successful
/ test (push) Successful in 5s
Add: a script to check IOMMU grouping
2024-03-13 21:08:11 +01:00

8 lines
230 B
Bash
Executable file

#!/bin/bash
shopt -s nullglob
for g in $(find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V); do
echo "IOMMU Group ${g##*/}:"
for d in $g/devices/*; do
echo -e "\t$(lspci -nns ${d##*/})"
done;
done;