Skip to content

Commit 5bd5ab5

Browse files
LuBaolujoergroedel
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
1 parent 7d4e404 commit 5bd5ab5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/iommu/intel/debugfs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ static const struct iommu_regset iommu_regs_64[] = {
6262
IOMMU_REGSET_ENTRY(CAP),
6363
IOMMU_REGSET_ENTRY(ECAP),
6464
IOMMU_REGSET_ENTRY(RTADDR),
65-
IOMMU_REGSET_ENTRY(CCMD),
6665
IOMMU_REGSET_ENTRY(PHMBASE),
6766
IOMMU_REGSET_ENTRY(PHMLIMIT),
6867
IOMMU_REGSET_ENTRY(IQH),

0 commit comments

Comments
 (0)