Skip to content

Commit 7d4e404

Browse files
LuBaolujoergroedel
authored andcommitted
iommu/vt-d: Removal of Advanced Fault Logging
The advanced fault logging has been removed from the specification since v4.0. Linux doesn't implement advanced fault logging functionality, but it currently dumps the advanced logging registers through debugfs. Remove the dumping of these advanced fault logging registers through debugfs 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 5ef7e24 commit 7d4e404

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

drivers/iommu/intel/debugfs.c

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

drivers/iommu/intel/iommu.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
#define DMAR_FEDATA_REG 0x3c /* Fault event interrupt data register */
7878
#define DMAR_FEADDR_REG 0x40 /* Fault event interrupt addr register */
7979
#define DMAR_FEUADDR_REG 0x44 /* Upper address register */
80-
#define DMAR_AFLOG_REG 0x58 /* Advanced Fault control */
8180
#define DMAR_PMEN_REG 0x64 /* Enable Protected Memory Region */
8281
#define DMAR_PLMBASE_REG 0x68 /* PMRR Low addr */
8382
#define DMAR_PLMLIMIT_REG 0x6c /* PMRR low limit */

0 commit comments

Comments
 (0)