Skip to contentSkip to conversation

powerpc/t208x: enable erratum a006379 for t208x

PATCH New Shengzhou Liu 3 participants 3 messages Jan 3, 2014 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/t208x: enable erratum a006379 for t208x

Erratum A006379 applies to T2080/T2081 also.

---
 arch/powerpc/include/asm/fsl_errata.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
arch/powerpc/include/asm/fsl_errata.h +3 -1
index 8af6751..671296a 100644
@@ -29,7 +29,9 @@ static inline bool has_erratum_a006379(void)
 {
 	u32 svr = get_svr();
 	if (((SVR_SOC_VER(svr) == SVR_T4240) && SVR_MAJ(svr) <= 1) ||
-	    ((SVR_SOC_VER(svr) == SVR_B4860) && SVR_MAJ(svr) <= 2))
+	    ((SVR_SOC_VER(svr) == SVR_B4860) && SVR_MAJ(svr) <= 2) ||
+	    ((SVR_SOC_VER(svr) == SVR_T2080) && SVR_MAJ(svr) <= 1) ||
+	    ((SVR_SOC_VER(svr) == SVR_T2081) && SVR_MAJ(svr) <= 1))
 		return true;
 
 	return false;
Signature · 1 line
1.8.0
#1 lore raw

PATCH 1/1 powerpc/t208x: enable erratum a006379 for t208x

Quoted 12 lines · Shengzhou Liu

Erratum A006379 applies to T2080/T2081 also.

---
 arch/powerpc/include/asm/fsl_errata.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
arch/powerpc/include/asm/fsl_errata.h +0 -0
index 8af6751..671296a 100644

arch/powerpc/include/asm/fsl_errata.h static inline bool has_erratum_a006379(void) · line 35

Quoted 8 lines
arch/powerpc/include/asm/fsl_errata.h +3 -1
@@ -29,7 +29,9 @@ static inline bool has_erratum_a006379(void)
 {
 	u32 svr = get_svr();
 	if (((SVR_SOC_VER(svr) == SVR_T4240) && SVR_MAJ(svr) <= 1) ||
-	    ((SVR_SOC_VER(svr) == SVR_B4860) && SVR_MAJ(svr) <= 2))
+	    ((SVR_SOC_VER(svr) == SVR_B4860) && SVR_MAJ(svr) <= 2) ||
+	    ((SVR_SOC_VER(svr) == SVR_T2080) && SVR_MAJ(svr) <= 1) ||
+	    ((SVR_SOC_VER(svr) == SVR_T2081) && SVR_MAJ(svr) <= 1))
 		return true;

While you're touching this, if T4240 is affected then shouldn't T4160 be in the list as well?

I also see a T4120 in the SVR list, though I don't recognize that variant.

Does B4860 have similar variants?

-Scott