Message ID | 1388727992-10567-1-git-send-email-Shengzhou.Liu@freescale.com |
---|---|
State | Superseded |
Delegated to: | York Sun |
Headers | show |
On Fri, 2014-01-03 at 13:46 +0800, Shengzhou Liu wrote: > Erratum A006379 applies to T2080/T2081 also. > > Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> > --- > arch/powerpc/include/asm/fsl_errata.h | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/arch/powerpc/include/asm/fsl_errata.h b/arch/powerpc/include/asm/fsl_errata.h > index 8af6751..671296a 100644 > --- a/arch/powerpc/include/asm/fsl_errata.h > +++ b/arch/powerpc/include/asm/fsl_errata.h > @@ -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
On 01/02/2014 09:46 PM, Shengzhou Liu wrote: > Erratum A006379 applies to T2080/T2081 also. > > Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Please fix the subject. You are enabling a workaround for an erratum. York
diff --git a/arch/powerpc/include/asm/fsl_errata.h b/arch/powerpc/include/asm/fsl_errata.h index 8af6751..671296a 100644 --- a/arch/powerpc/include/asm/fsl_errata.h +++ b/arch/powerpc/include/asm/fsl_errata.h @@ -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;
Erratum A006379 applies to T2080/T2081 also. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> --- arch/powerpc/include/asm/fsl_errata.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)