]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iommu/vt-d: Report domain usage in sysfs
authorAlex Williamson <alex.williamson@redhat.com>
Tue, 14 Jul 2015 21:24:53 +0000 (15:24 -0600)
committerJoerg Roedel <jroedel@suse.de>
Mon, 3 Aug 2015 14:30:57 +0000 (16:30 +0200)
commit2238c0827a9bfa8d517e3175110ed603fb7b9537
tree3733039e973926a54eaf770c6e72f88345e51b33
parent50690762cfe32abadbaa5b22bebe3855e5b8ede8
iommu/vt-d: Report domain usage in sysfs

Debugging domain ID leakage typically requires long running tests in
order to exhaust the domain ID space or kernel instrumentation to
track the setting and clearing of bits.  A couple trivial intel-iommu
specific sysfs extensions make it much easier to expose the IOMMU
capabilities and current usage.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c