commit | ee2636b8670b1ab2a02a65923a9bef59e9199c37 | [log] [tgz] |
---|---|---|
author | Sohil Mehta <[email protected]> | Tue Sep 11 17:11:38 2018 -0700 |
committer | Joerg Roedel <[email protected]> | Tue Sep 25 14:33:43 2018 +0200 |
tree | 340b641db7e72cba2cf7c7746f6a1f529aa1a9b5 | |
parent | 4a2d80dbadb72b998641af32d8dd4b7b39e72aa0 [diff] [blame] |
iommu/vt-d: Enable base Intel IOMMU debugfs support Add a new config option CONFIG_INTEL_IOMMU_DEBUGFS and do the base enabling for Intel IOMMU debugfs. Cc: Lu Baolu <[email protected]> Cc: Fenghua Yu <[email protected]> Cc: Ashok Raj <[email protected]> Cc: Jacob Pan <[email protected]> Co-Developed-by: Gayatri Kammela <[email protected]> Signed-off-by: Gayatri Kammela <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Reviewed-by: Lu Baolu <[email protected]> Signed-off-by: Sohil Mehta <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
diff --git a/drivers/iommu/intel-iommu-debugfs.c b/drivers/iommu/intel-iommu-debugfs.c new file mode 100644 index 0000000..33e0a6c --- /dev/null +++ b/drivers/iommu/intel-iommu-debugfs.c
@@ -0,0 +1,20 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright © 2018 Intel Corporation. + * + * Authors: Gayatri Kammela <[email protected]> + * Sohil Mehta <[email protected]> + * Jacob Pan <[email protected]> + */ + +#include <linux/debugfs.h> +#include <linux/dmar.h> +#include <linux/intel-iommu.h> +#include <linux/pci.h> + +#include <asm/irq_remapping.h> + +void __init intel_iommu_debugfs_init(void) +{ + debugfs_create_dir("intel", iommu_debugfs_dir); +}