diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2018-07-05 04:47:00 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-07-15 21:37:21 -0400 |
commit | 2bf1071a8d50928a4ae366bb3108833166c2b70c (patch) | |
tree | ebffef07f7ebbb9bb1ba231c4cb8ff00cc6fd795 /arch/powerpc/mm/mmu_context_book3s64.c | |
parent | ce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff) |
powerpc/64s: Remove POWER9 DD1 support
POWER9 DD1 was never a product. It is no longer supported by upstream
firmware, and it is not effectively supported in Linux due to lack of
testing.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Michael Ellerman <mpe@ellerman.id.au>
[mpe: Remove arch_make_huge_pte() entirely]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/mmu_context_book3s64.c')
-rw-r--r-- | arch/powerpc/mm/mmu_context_book3s64.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/powerpc/mm/mmu_context_book3s64.c b/arch/powerpc/mm/mmu_context_book3s64.c index f3d4b4a0e561..39e9ef0eb78b 100644 --- a/arch/powerpc/mm/mmu_context_book3s64.c +++ b/arch/powerpc/mm/mmu_context_book3s64.c | |||
@@ -273,15 +273,7 @@ void arch_exit_mmap(struct mm_struct *mm) | |||
273 | #ifdef CONFIG_PPC_RADIX_MMU | 273 | #ifdef CONFIG_PPC_RADIX_MMU |
274 | void radix__switch_mmu_context(struct mm_struct *prev, struct mm_struct *next) | 274 | void radix__switch_mmu_context(struct mm_struct *prev, struct mm_struct *next) |
275 | { | 275 | { |
276 | 276 | mtspr(SPRN_PID, next->context.id); | |
277 | if (cpu_has_feature(CPU_FTR_POWER9_DD1)) { | 277 | isync(); |
278 | isync(); | ||
279 | mtspr(SPRN_PID, next->context.id); | ||
280 | isync(); | ||
281 | asm volatile(PPC_INVALIDATE_ERAT : : :"memory"); | ||
282 | } else { | ||
283 | mtspr(SPRN_PID, next->context.id); | ||
284 | isync(); | ||
285 | } | ||
286 | } | 278 | } |
287 | #endif | 279 | #endif |