summaryrefslogtreecommitdiff
path: root/drivers/bcma/driver_chipcommon_sflash.c
diff options
context:
space:
mode:
authorJingqi Liu <Jingqi.liu@intel.com>2023-10-16 06:28:29 +0300
committerJoerg Roedel <jroedel@suse.de>2023-10-16 10:34:51 +0300
commitd87731f609318a27e9aa3d01cf97798599d32839 (patch)
tree8f74ffdd054f9e1ef31556f20535f7d89d0e5c49 /drivers/bcma/driver_chipcommon_sflash.c
parente8aa45f8cc2c3afe2a3608ea7220bbdb516bef07 (diff)
downloadlinux-d87731f609318a27e9aa3d01cf97798599d32839.tar.xz
iommu/vt-d: debugfs: Create/remove debugfs file per {device, pasid}
Add a debugfs directory per pair of {device, pasid} if the mappings of its page table are created and destroyed by the iommu_map/unmap() interfaces. i.e. /sys/kernel/debug/iommu/intel/<device source id>/<pasid>. Create a debugfs file in the directory for users to dump the page table corresponding to {device, pasid}. e.g. /sys/kernel/debug/iommu/intel/0000:00:02.0/1/domain_translation_struct. For the default domain without pasid, it creates a debugfs file in the debugfs device directory for users to dump its page table. e.g. /sys/kernel/debug/iommu/intel/0000:00:02.0/domain_translation_struct. When setting a domain to a PASID of device, create a debugfs file in the pasid debugfs directory for users to dump the page table of the specified pasid. Remove the debugfs device directory of the device when releasing a device. e.g. /sys/kernel/debug/iommu/intel/0000:00:01.0 Signed-off-by: Jingqi Liu <Jingqi.liu@intel.com> Link: https://lore.kernel.org/r/20231013135811.73953-3-Jingqi.liu@intel.com Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/bcma/driver_chipcommon_sflash.c')
0 files changed, 0 insertions, 0 deletions