iommu/arm-smmu-v3: add bit field SFM into GERROR_ERR_MASK
Subsystems (2)
PATCH 1/1 iommu/arm-smmu-v3: add bit field SFM into GERROR_ERR_MASK
In arm_smmu_gerror_handler(), the value of the SMMU_GERROR register is filtered by GERROR_ERR_MASK. However, the GERROR_ERR_MASK does not contain the SFM bit. As a result, the subsequent error processing is not performed when only the SFM error occurs.
Fixes 48ec83bcbcf5 ("iommu/arm-smmu: Add initial driver support for ARM SMMUv3 devices")
Reported-by Rui Zhu <[email protected]>
Signed-off-by Zhen Lei <[email protected]>
--- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h +1 -1
@@ -115,7 +115,7 @@#define GERROR_PRIQ_ABT_ERR (1 << 3)#define GERROR_EVTQ_ABT_ERR (1 << 2)#define GERROR_CMDQ_ERR (1 << 0) -#define GERROR_ERR_MASK 0xfd +#define GERROR_ERR_MASK 0x1fd#define ARM_SMMU_GERRORN 0x64
Signature · 7 lines
2.26.0.106.g9fadedd _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu
Quoted 4 lines · Zhen Lei
In
arm_smmu_gerror_handler(), the value of theSMMU_GERRORregister is filtered byGERROR_ERR_MASK. However, theGERROR_ERR_MASKdoes not contain the SFM bit. As a result, the subsequent error processing is not performed when only the SFM error occurs.
Applied to will (for-joerg/arm-smmu/updates), thanks!
[1/1] iommu/arm-smmu-v3: add bit field SFM into GERROR_ERR_MASK
https://git.kernel.org/will/c/655c447c97d7
Cheers,
Signature · 9 lines
Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu