diff options
| author | Andrew Turner <andrew@FreeBSD.org> | 2026-09-22 14:11:23 +0000 |
|---|---|---|
| committer | Andrew Turner <andrew@FreeBSD.org> | 2026-09-18 19:54:16 +0000 |
| commit | a856958cab807699eada3e1ed2c46262a94a0aeb (patch) | |
| tree | 18fa94aa8bb19d47ee302edae5d906a480eb8317 | |
| parent | 6d9f435739e5fb604f452d03ad7f2eb280bfc968 (diff) | |
arm64/smmu: Fix the SMMU-600 errata check
Fixes: 6dca6e2aa89d ("arm64/smmu: Start handling errata")
Sponsored by: Arm Ltd
| -rw-r--r-- | sys/arm64/iommu/smmu.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arm64/iommu/smmu.c b/sys/arm64/iommu/smmu.c index 2b95d2f5fb3c..310f772f9b75 100644 --- a/sys/arm64/iommu/smmu.c +++ b/sys/arm64/iommu/smmu.c @@ -1563,12 +1563,14 @@ smmu_check_errata(struct smmu_softc *sc) reg = bus_read_4(sc->res[0], SMMU_IIDR); variant = SMMU_Variant_GET(reg); - switch(SMMU_ProductID_GET(reg)) { + switch(SMMU_Implementer_GET(reg)) { case SMMU_Implementer_ARM: switch (SMMU_ProductID_GET(reg)) { - /* Arm erratum 1076982 */ - if (variant < 1) - sc->features &= ~SMMU_FEATURE_SEV; + case SMMU_ProductID_ARM_MMU_600: + /* Arm erratum 1076982 */ + if (variant < 1) + sc->features &= ~SMMU_FEATURE_SEV; + break; default: break; } |
