diff options
| author | Mitchel Humpherys <mitchelh@codeaurora.org> | 2015-07-30 19:40:21 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:13:45 -0700 |
| commit | 6f964907135cb60421ba48fafceb2d2c9d6cc995 (patch) | |
| tree | 453c480b057268d49eb5559bc363b98d61016a9d /include/linux/debug_locks.h | |
| parent | 75cd28f90d05320e7bebb1c67b8a514618898a6d (diff) | |
iommu/iommu-debug: Add secure_attach debugfs file
It can be useful to perform tests on secure domains. Add support for
this with a "secure_attach" file that will also set the
DOMAIN_ATTR_SECURE_VMID to the value written to the file.
Example usage:
# cd /sys/kernel/debug/iommu/tests/<device>
# echo 0xA > secure_attach
# echo 0x1000,0x1000,0x1000,1 > map
# echo 0x1000,0x1000 > unmap
# echo 0 > secure_attach
Change-Id: I0181e360f3e98e0e47a3af8c6adb71c9c4a3c9b5
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Diffstat (limited to 'include/linux/debug_locks.h')
0 files changed, 0 insertions, 0 deletions
