diff options
| author | Megha Dey <megha.dey@linux.intel.com> | 2020-03-14 11:39:59 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-01 11:01:56 +0200 |
| commit | 72a0cfeb513cb69080766038790821dd8b41c0fc (patch) | |
| tree | bb50165494aac2b0605060769e769dfea5bfca21 /include/uapi/linux/psample.h | |
| parent | cb17ed60ec39c5ef05174a795242b90642b55d3f (diff) | |
iommu/vt-d: Populate debugfs if IOMMUs are detected
[ Upstream commit 1da8347d8505c137fb07ff06bbcd3f2bf37409bc ]
Currently, the intel iommu debugfs directory(/sys/kernel/debug/iommu/intel)
gets populated only when DMA remapping is enabled (dmar_disabled = 0)
irrespective of whether interrupt remapping is enabled or not.
Instead, populate the intel iommu debugfs directory if any IOMMUs are
detected.
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: ee2636b8670b1 ("iommu/vt-d: Enable base Intel IOMMU debugfs support")
Signed-off-by: Megha Dey <megha.dey@linux.intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/uapi/linux/psample.h')
0 files changed, 0 insertions, 0 deletions
