Re: [PATCH] powerpc: Add 1TB workaround for PA6T
From: Olof Johansson <hidden>
Date: 2007-10-15 13:53:49
On Mon, Oct 15, 2007 at 03:06:21PM +1000, Paul Mackerras wrote:
Olof Johansson writes:quoted
@@ -367,7 +368,7 @@ extern void do_feature_fixups(unsigned long value, void *fixup_start, #define CPU_FTRS_PA6T (CPU_FTR_USE_TB | \ CPU_FTR_HPTE_TABLE | CPU_FTR_PPCAS_ARCH_V2 | \ CPU_FTR_ALTIVEC_COMP | CPU_FTR_CI_LARGE_PAGE | \ - CPU_FTR_PURR | CPU_FTR_REAL_LE) + CPU_FTR_PURR | CPU_FTR_REAL_LE | CPU_FTR_NO_SLBIE_B) #define CPU_FTRS_COMPATIBLE (CPU_FTR_USE_TB | \ CPU_FTR_HPTE_TABLE | CPU_FTR_PPCAS_ARCH_V2)@@ -375,7 +376,8 @@ extern void do_feature_fixups(unsigned long value, void *fixup_start, #define CPU_FTRS_POSSIBLE \ (CPU_FTRS_POWER3 | CPU_FTRS_RS64 | CPU_FTRS_POWER4 | \ CPU_FTRS_PPC970 | CPU_FTRS_POWER5 | CPU_FTRS_POWER6 | \ - CPU_FTRS_CELL | CPU_FTRS_PA6T | CPU_FTR_1T_SEGMENT) + CPU_FTRS_CELL | CPU_FTRS_PA6T | CPU_FTR_1T_SEGMENT | \ + CPU_FTR_NO_SLBIE_B) #else enum { CPU_FTRS_POSSIBLE =I don't think the second hunk there is necessary, since CPU_FTRS_POSSIBLE will already get CPU_FTR_NO_SLBIE_B via CPU_FTRS_PA6T.
Oh, you're right. I just tacked it on with the 1T_SEGMENT. I'll respin today. Ben wanted me to add some comments to the _switch code as well regarding the slbie. -Olof