]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iommu/vt-d: debugfs: Avoid dumping context command register
authorLu Baolu <baolu.lu@linux.intel.com>
Thu, 18 Sep 2025 05:02:04 +0000 (13:02 +0800)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 19 Sep 2025 07:43:21 +0000 (09:43 +0200)
commit5bd5ab53e7b8c87908341accb3ad8da555d6b778
treed0447cd5145edb0885f9519df0e73dcdb49057ff
parent7d4e40410283cc8c404170d0787b8d2a2458e3a1
iommu/vt-d: debugfs: Avoid dumping context command register

The register-based cache invalidation interface is in the process of being
replaced by the queued invalidation interface. The VT-d architecture
allows hardware implementations with a queued invalidation interface to
not implement the registers used for cache invalidation. Currently, the
debugfs interface dumps the Context Command Register unconditionally,
which is not reasonable.

Remove it to avoid potential access to non-present registers.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20250917025051.143853-1-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/intel/debugfs.c