powerpc/t208x: enable erratum a006379 for t208x
PATCH 1/1 powerpc/t208x: enable erratum a006379 for t208x
Erratum A006379 applies to T2080/T2081 also.
Signed-off-by Shengzhou Liu <[email protected]>
--- arch/powerpc/include/asm/fsl_errata.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
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;return false;
Signature · 1 line
1.8.0
PATCH 1/1 powerpc/t208x: enable erratum a006379 for t208x
Quoted 12 lines · Shengzhou Liu
Erratum A006379 applies to T2080/T2081 also.
Signed-off-by Shengzhou Liu <[email protected]>--- arch/powerpc/include/asm/fsl_errata.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)arch/powerpc/include/asm/fsl_errata.h +0
-0
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
PATCH 1/1 powerpc/t208x: enable erratum a006379 for t208x
In reply to Shengzhou LiuQuoted 3 lines · Shengzhou Liu
Erratum A006379 applies to T2080/T2081 also.
Signed-off-by Shengzhou Liu <[email protected]>
Please fix the subject. You are enabling a workaround for an erratum.
York