12874c5fdSThomas Gleixner // SPDX-License-Identifier: GPL-2.0-or-later
227e23b5fSChristophe Leroy /*
327e23b5fSChristophe Leroy * This file contains the routines for TLB flushing.
427e23b5fSChristophe Leroy * On machines where the MMU does not use a hash table to store virtual to
527e23b5fSChristophe Leroy * physical translations (ie, SW loaded TLBs or Book3E compilant processors,
627e23b5fSChristophe Leroy * this does -not- include 603 however which shares the implementation with
727e23b5fSChristophe Leroy * hash based processors)
827e23b5fSChristophe Leroy *
927e23b5fSChristophe Leroy * -- BenH
1027e23b5fSChristophe Leroy *
1127e23b5fSChristophe Leroy * Copyright 2008,2009 Ben Herrenschmidt <benh@kernel.crashing.org>
1227e23b5fSChristophe Leroy * IBM Corp.
1327e23b5fSChristophe Leroy *
1427e23b5fSChristophe Leroy * Derived from arch/ppc/mm/init.c:
1527e23b5fSChristophe Leroy * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
1627e23b5fSChristophe Leroy *
1727e23b5fSChristophe Leroy * Modifications by Paul Mackerras (PowerMac) (paulus@cs.anu.edu.au)
1827e23b5fSChristophe Leroy * and Cort Dougan (PReP) (cort@cs.nmt.edu)
1927e23b5fSChristophe Leroy * Copyright (C) 1996 Paul Mackerras
2027e23b5fSChristophe Leroy *
2127e23b5fSChristophe Leroy * Derived from "arch/i386/mm/init.c"
2227e23b5fSChristophe Leroy * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds
2327e23b5fSChristophe Leroy */
2427e23b5fSChristophe Leroy
2527e23b5fSChristophe Leroy #include <linux/kernel.h>
2627e23b5fSChristophe Leroy #include <linux/export.h>
2727e23b5fSChristophe Leroy #include <linux/mm.h>
2827e23b5fSChristophe Leroy #include <linux/init.h>
2927e23b5fSChristophe Leroy #include <linux/highmem.h>
3027e23b5fSChristophe Leroy #include <linux/pagemap.h>
3127e23b5fSChristophe Leroy #include <linux/preempt.h>
3227e23b5fSChristophe Leroy #include <linux/spinlock.h>
3327e23b5fSChristophe Leroy #include <linux/memblock.h>
3427e23b5fSChristophe Leroy #include <linux/of_fdt.h>
3527e23b5fSChristophe Leroy #include <linux/hugetlb.h>
3627e23b5fSChristophe Leroy
37ca15ca40SMike Rapoport #include <asm/pgalloc.h>
3827e23b5fSChristophe Leroy #include <asm/tlbflush.h>
3927e23b5fSChristophe Leroy #include <asm/tlb.h>
4027e23b5fSChristophe Leroy #include <asm/code-patching.h>
4127e23b5fSChristophe Leroy #include <asm/cputhreads.h>
4227e23b5fSChristophe Leroy #include <asm/hugetlb.h>
4327e23b5fSChristophe Leroy #include <asm/paca.h>
4427e23b5fSChristophe Leroy
4527e23b5fSChristophe Leroy #include <mm/mmu_decl.h>
4627e23b5fSChristophe Leroy
4727e23b5fSChristophe Leroy /*
4827e23b5fSChristophe Leroy * This struct lists the sw-supported page sizes. The hardawre MMU may support
4927e23b5fSChristophe Leroy * other sizes not listed here. The .ind field is only used on MMUs that have
5027e23b5fSChristophe Leroy * indirect page table entries.
5127e23b5fSChristophe Leroy */
523e731858SChristophe Leroy #ifdef CONFIG_PPC_E500
5327e23b5fSChristophe Leroy struct mmu_psize_def mmu_psize_defs[MMU_PAGE_COUNT] = {
5427e23b5fSChristophe Leroy [MMU_PAGE_4K] = {
5527e23b5fSChristophe Leroy .shift = 12,
5627e23b5fSChristophe Leroy .enc = BOOK3E_PAGESZ_4K,
5727e23b5fSChristophe Leroy },
5827e23b5fSChristophe Leroy [MMU_PAGE_2M] = {
5927e23b5fSChristophe Leroy .shift = 21,
6027e23b5fSChristophe Leroy .enc = BOOK3E_PAGESZ_2M,
6127e23b5fSChristophe Leroy },
6227e23b5fSChristophe Leroy [MMU_PAGE_4M] = {
6327e23b5fSChristophe Leroy .shift = 22,
6427e23b5fSChristophe Leroy .enc = BOOK3E_PAGESZ_4M,
6527e23b5fSChristophe Leroy },
6627e23b5fSChristophe Leroy [MMU_PAGE_16M] = {
6727e23b5fSChristophe Leroy .shift = 24,
6827e23b5fSChristophe Leroy .enc = BOOK3E_PAGESZ_16M,
6927e23b5fSChristophe Leroy },
7027e23b5fSChristophe Leroy [MMU_PAGE_64M] = {
7127e23b5fSChristophe Leroy .shift = 26,
7227e23b5fSChristophe Leroy .enc = BOOK3E_PAGESZ_64M,
7327e23b5fSChristophe Leroy },
7427e23b5fSChristophe Leroy [MMU_PAGE_256M] = {
7527e23b5fSChristophe Leroy .shift = 28,
7627e23b5fSChristophe Leroy .enc = BOOK3E_PAGESZ_256M,
7727e23b5fSChristophe Leroy },
7827e23b5fSChristophe Leroy [MMU_PAGE_1G] = {
7927e23b5fSChristophe Leroy .shift = 30,
8027e23b5fSChristophe Leroy .enc = BOOK3E_PAGESZ_1GB,
8127e23b5fSChristophe Leroy },
8227e23b5fSChristophe Leroy };
83605ba9eeSChristophe Leroy
mmu_get_tsize(int psize)84605ba9eeSChristophe Leroy static inline int mmu_get_tsize(int psize)
85605ba9eeSChristophe Leroy {
86605ba9eeSChristophe Leroy return mmu_psize_defs[psize].enc;
87605ba9eeSChristophe Leroy }
88605ba9eeSChristophe Leroy #else
mmu_get_tsize(int psize)89605ba9eeSChristophe Leroy static inline int mmu_get_tsize(int psize)
90605ba9eeSChristophe Leroy {
91605ba9eeSChristophe Leroy /* This isn't used on !Book3E for now */
92605ba9eeSChristophe Leroy return 0;
93605ba9eeSChristophe Leroy }
94605ba9eeSChristophe Leroy #endif
95605ba9eeSChristophe Leroy
96605ba9eeSChristophe Leroy #ifdef CONFIG_PPC_8xx
9727e23b5fSChristophe Leroy struct mmu_psize_def mmu_psize_defs[MMU_PAGE_COUNT] = {
9827e23b5fSChristophe Leroy [MMU_PAGE_4K] = {
9927e23b5fSChristophe Leroy .shift = 12,
10027e23b5fSChristophe Leroy },
10127e23b5fSChristophe Leroy [MMU_PAGE_16K] = {
10227e23b5fSChristophe Leroy .shift = 14,
10327e23b5fSChristophe Leroy },
10427e23b5fSChristophe Leroy [MMU_PAGE_512K] = {
10527e23b5fSChristophe Leroy .shift = 19,
10627e23b5fSChristophe Leroy },
10727e23b5fSChristophe Leroy [MMU_PAGE_8M] = {
10827e23b5fSChristophe Leroy .shift = 23,
10927e23b5fSChristophe Leroy },
11027e23b5fSChristophe Leroy };
111605ba9eeSChristophe Leroy #endif
11227e23b5fSChristophe Leroy
1133e731858SChristophe Leroy #ifdef CONFIG_PPC_E500
11427e23b5fSChristophe Leroy /* next_tlbcam_idx is used to round-robin tlbcam entry assignment */
11527e23b5fSChristophe Leroy DEFINE_PER_CPU(int, next_tlbcam_idx);
11627e23b5fSChristophe Leroy EXPORT_PER_CPU_SYMBOL(next_tlbcam_idx);
11727e23b5fSChristophe Leroy #endif
11827e23b5fSChristophe Leroy
11927e23b5fSChristophe Leroy /*
12027e23b5fSChristophe Leroy * Base TLB flushing operations:
12127e23b5fSChristophe Leroy *
12227e23b5fSChristophe Leroy * - flush_tlb_mm(mm) flushes the specified mm context TLB's
12327e23b5fSChristophe Leroy * - flush_tlb_page(vma, vmaddr) flushes one page
12427e23b5fSChristophe Leroy * - flush_tlb_range(vma, start, end) flushes a range of pages
12527e23b5fSChristophe Leroy * - flush_tlb_kernel_range(start, end) flushes kernel pages
12627e23b5fSChristophe Leroy *
12727e23b5fSChristophe Leroy * - local_* variants of page and mm only apply to the current
12827e23b5fSChristophe Leroy * processor
12927e23b5fSChristophe Leroy */
13027e23b5fSChristophe Leroy
13163f501e0SChristophe Leroy #ifndef CONFIG_PPC_8xx
13227e23b5fSChristophe Leroy /*
13327e23b5fSChristophe Leroy * These are the base non-SMP variants of page and mm flushing
13427e23b5fSChristophe Leroy */
local_flush_tlb_mm(struct mm_struct * mm)13527e23b5fSChristophe Leroy void local_flush_tlb_mm(struct mm_struct *mm)
13627e23b5fSChristophe Leroy {
13727e23b5fSChristophe Leroy unsigned int pid;
13827e23b5fSChristophe Leroy
13927e23b5fSChristophe Leroy preempt_disable();
14027e23b5fSChristophe Leroy pid = mm->context.id;
14127e23b5fSChristophe Leroy if (pid != MMU_NO_CONTEXT)
14227e23b5fSChristophe Leroy _tlbil_pid(pid);
14327e23b5fSChristophe Leroy preempt_enable();
14427e23b5fSChristophe Leroy }
14527e23b5fSChristophe Leroy EXPORT_SYMBOL(local_flush_tlb_mm);
14627e23b5fSChristophe Leroy
__local_flush_tlb_page(struct mm_struct * mm,unsigned long vmaddr,int tsize,int ind)14727e23b5fSChristophe Leroy void __local_flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr,
14827e23b5fSChristophe Leroy int tsize, int ind)
14927e23b5fSChristophe Leroy {
15027e23b5fSChristophe Leroy unsigned int pid;
15127e23b5fSChristophe Leroy
15227e23b5fSChristophe Leroy preempt_disable();
15327e23b5fSChristophe Leroy pid = mm ? mm->context.id : 0;
15427e23b5fSChristophe Leroy if (pid != MMU_NO_CONTEXT)
15527e23b5fSChristophe Leroy _tlbil_va(vmaddr, pid, tsize, ind);
15627e23b5fSChristophe Leroy preempt_enable();
15727e23b5fSChristophe Leroy }
15827e23b5fSChristophe Leroy
local_flush_tlb_page(struct vm_area_struct * vma,unsigned long vmaddr)15927e23b5fSChristophe Leroy void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr)
16027e23b5fSChristophe Leroy {
16127e23b5fSChristophe Leroy __local_flush_tlb_page(vma ? vma->vm_mm : NULL, vmaddr,
16227e23b5fSChristophe Leroy mmu_get_tsize(mmu_virtual_psize), 0);
16327e23b5fSChristophe Leroy }
16427e23b5fSChristophe Leroy EXPORT_SYMBOL(local_flush_tlb_page);
165274d842fSBenjamin Gray
local_flush_tlb_page_psize(struct mm_struct * mm,unsigned long vmaddr,int psize)166274d842fSBenjamin Gray void local_flush_tlb_page_psize(struct mm_struct *mm,
167274d842fSBenjamin Gray unsigned long vmaddr, int psize)
168274d842fSBenjamin Gray {
169274d842fSBenjamin Gray __local_flush_tlb_page(mm, vmaddr, mmu_get_tsize(psize), 0);
170274d842fSBenjamin Gray }
171274d842fSBenjamin Gray EXPORT_SYMBOL(local_flush_tlb_page_psize);
172274d842fSBenjamin Gray
17363f501e0SChristophe Leroy #endif
17427e23b5fSChristophe Leroy
17527e23b5fSChristophe Leroy /*
17627e23b5fSChristophe Leroy * And here are the SMP non-local implementations
17727e23b5fSChristophe Leroy */
17827e23b5fSChristophe Leroy #ifdef CONFIG_SMP
17927e23b5fSChristophe Leroy
18027e23b5fSChristophe Leroy static DEFINE_RAW_SPINLOCK(tlbivax_lock);
18127e23b5fSChristophe Leroy
18227e23b5fSChristophe Leroy struct tlb_flush_param {
18327e23b5fSChristophe Leroy unsigned long addr;
18427e23b5fSChristophe Leroy unsigned int pid;
18527e23b5fSChristophe Leroy unsigned int tsize;
18627e23b5fSChristophe Leroy unsigned int ind;
18727e23b5fSChristophe Leroy };
18827e23b5fSChristophe Leroy
do_flush_tlb_mm_ipi(void * param)18927e23b5fSChristophe Leroy static void do_flush_tlb_mm_ipi(void *param)
19027e23b5fSChristophe Leroy {
19127e23b5fSChristophe Leroy struct tlb_flush_param *p = param;
19227e23b5fSChristophe Leroy
19327e23b5fSChristophe Leroy _tlbil_pid(p ? p->pid : 0);
19427e23b5fSChristophe Leroy }
19527e23b5fSChristophe Leroy
do_flush_tlb_page_ipi(void * param)19627e23b5fSChristophe Leroy static void do_flush_tlb_page_ipi(void *param)
19727e23b5fSChristophe Leroy {
19827e23b5fSChristophe Leroy struct tlb_flush_param *p = param;
19927e23b5fSChristophe Leroy
20027e23b5fSChristophe Leroy _tlbil_va(p->addr, p->pid, p->tsize, p->ind);
20127e23b5fSChristophe Leroy }
20227e23b5fSChristophe Leroy
20327e23b5fSChristophe Leroy
20427e23b5fSChristophe Leroy /* Note on invalidations and PID:
20527e23b5fSChristophe Leroy *
20627e23b5fSChristophe Leroy * We snapshot the PID with preempt disabled. At this point, it can still
20727e23b5fSChristophe Leroy * change either because:
20827e23b5fSChristophe Leroy * - our context is being stolen (PID -> NO_CONTEXT) on another CPU
20927e23b5fSChristophe Leroy * - we are invaliating some target that isn't currently running here
21027e23b5fSChristophe Leroy * and is concurrently acquiring a new PID on another CPU
21127e23b5fSChristophe Leroy * - some other CPU is re-acquiring a lost PID for this mm
21227e23b5fSChristophe Leroy * etc...
21327e23b5fSChristophe Leroy *
21427e23b5fSChristophe Leroy * However, this shouldn't be a problem as we only guarantee
21527e23b5fSChristophe Leroy * invalidation of TLB entries present prior to this call, so we
21627e23b5fSChristophe Leroy * don't care about the PID changing, and invalidating a stale PID
21727e23b5fSChristophe Leroy * is generally harmless.
21827e23b5fSChristophe Leroy */
21927e23b5fSChristophe Leroy
flush_tlb_mm(struct mm_struct * mm)22027e23b5fSChristophe Leroy void flush_tlb_mm(struct mm_struct *mm)
22127e23b5fSChristophe Leroy {
22227e23b5fSChristophe Leroy unsigned int pid;
22327e23b5fSChristophe Leroy
22427e23b5fSChristophe Leroy preempt_disable();
22527e23b5fSChristophe Leroy pid = mm->context.id;
22627e23b5fSChristophe Leroy if (unlikely(pid == MMU_NO_CONTEXT))
22727e23b5fSChristophe Leroy goto no_context;
22827e23b5fSChristophe Leroy if (!mm_is_core_local(mm)) {
22927e23b5fSChristophe Leroy struct tlb_flush_param p = { .pid = pid };
23027e23b5fSChristophe Leroy /* Ignores smp_processor_id() even if set. */
23127e23b5fSChristophe Leroy smp_call_function_many(mm_cpumask(mm),
23227e23b5fSChristophe Leroy do_flush_tlb_mm_ipi, &p, 1);
23327e23b5fSChristophe Leroy }
23427e23b5fSChristophe Leroy _tlbil_pid(pid);
23527e23b5fSChristophe Leroy no_context:
23627e23b5fSChristophe Leroy preempt_enable();
23727e23b5fSChristophe Leroy }
23827e23b5fSChristophe Leroy EXPORT_SYMBOL(flush_tlb_mm);
23927e23b5fSChristophe Leroy
__flush_tlb_page(struct mm_struct * mm,unsigned long vmaddr,int tsize,int ind)24027e23b5fSChristophe Leroy void __flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr,
24127e23b5fSChristophe Leroy int tsize, int ind)
24227e23b5fSChristophe Leroy {
24327e23b5fSChristophe Leroy struct cpumask *cpu_mask;
24427e23b5fSChristophe Leroy unsigned int pid;
24527e23b5fSChristophe Leroy
24627e23b5fSChristophe Leroy /*
24727e23b5fSChristophe Leroy * This function as well as __local_flush_tlb_page() must only be called
24827e23b5fSChristophe Leroy * for user contexts.
24927e23b5fSChristophe Leroy */
25027e23b5fSChristophe Leroy if (WARN_ON(!mm))
25127e23b5fSChristophe Leroy return;
25227e23b5fSChristophe Leroy
25327e23b5fSChristophe Leroy preempt_disable();
25427e23b5fSChristophe Leroy pid = mm->context.id;
25527e23b5fSChristophe Leroy if (unlikely(pid == MMU_NO_CONTEXT))
25627e23b5fSChristophe Leroy goto bail;
25727e23b5fSChristophe Leroy cpu_mask = mm_cpumask(mm);
25827e23b5fSChristophe Leroy if (!mm_is_core_local(mm)) {
25927e23b5fSChristophe Leroy /* If broadcast tlbivax is supported, use it */
26027e23b5fSChristophe Leroy if (mmu_has_feature(MMU_FTR_USE_TLBIVAX_BCAST)) {
26127e23b5fSChristophe Leroy int lock = mmu_has_feature(MMU_FTR_LOCK_BCAST_INVAL);
26227e23b5fSChristophe Leroy if (lock)
26327e23b5fSChristophe Leroy raw_spin_lock(&tlbivax_lock);
26427e23b5fSChristophe Leroy _tlbivax_bcast(vmaddr, pid, tsize, ind);
26527e23b5fSChristophe Leroy if (lock)
26627e23b5fSChristophe Leroy raw_spin_unlock(&tlbivax_lock);
26727e23b5fSChristophe Leroy goto bail;
26827e23b5fSChristophe Leroy } else {
26927e23b5fSChristophe Leroy struct tlb_flush_param p = {
27027e23b5fSChristophe Leroy .pid = pid,
27127e23b5fSChristophe Leroy .addr = vmaddr,
27227e23b5fSChristophe Leroy .tsize = tsize,
27327e23b5fSChristophe Leroy .ind = ind,
27427e23b5fSChristophe Leroy };
27527e23b5fSChristophe Leroy /* Ignores smp_processor_id() even if set in cpu_mask */
27627e23b5fSChristophe Leroy smp_call_function_many(cpu_mask,
27727e23b5fSChristophe Leroy do_flush_tlb_page_ipi, &p, 1);
27827e23b5fSChristophe Leroy }
27927e23b5fSChristophe Leroy }
28027e23b5fSChristophe Leroy _tlbil_va(vmaddr, pid, tsize, ind);
28127e23b5fSChristophe Leroy bail:
28227e23b5fSChristophe Leroy preempt_enable();
28327e23b5fSChristophe Leroy }
28427e23b5fSChristophe Leroy
flush_tlb_page(struct vm_area_struct * vma,unsigned long vmaddr)28527e23b5fSChristophe Leroy void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr)
28627e23b5fSChristophe Leroy {
28727e23b5fSChristophe Leroy #ifdef CONFIG_HUGETLB_PAGE
28827e23b5fSChristophe Leroy if (vma && is_vm_hugetlb_page(vma))
28927e23b5fSChristophe Leroy flush_hugetlb_page(vma, vmaddr);
29027e23b5fSChristophe Leroy #endif
29127e23b5fSChristophe Leroy
29227e23b5fSChristophe Leroy __flush_tlb_page(vma ? vma->vm_mm : NULL, vmaddr,
29327e23b5fSChristophe Leroy mmu_get_tsize(mmu_virtual_psize), 0);
29427e23b5fSChristophe Leroy }
29527e23b5fSChristophe Leroy EXPORT_SYMBOL(flush_tlb_page);
29627e23b5fSChristophe Leroy
29727e23b5fSChristophe Leroy #endif /* CONFIG_SMP */
29827e23b5fSChristophe Leroy
29927e23b5fSChristophe Leroy /*
30027e23b5fSChristophe Leroy * Flush kernel TLB entries in the given range
30127e23b5fSChristophe Leroy */
3029290c379SChristophe Leroy #ifndef CONFIG_PPC_8xx
flush_tlb_kernel_range(unsigned long start,unsigned long end)30327e23b5fSChristophe Leroy void flush_tlb_kernel_range(unsigned long start, unsigned long end)
30427e23b5fSChristophe Leroy {
30527e23b5fSChristophe Leroy #ifdef CONFIG_SMP
30627e23b5fSChristophe Leroy preempt_disable();
30727e23b5fSChristophe Leroy smp_call_function(do_flush_tlb_mm_ipi, NULL, 1);
30827e23b5fSChristophe Leroy _tlbil_pid(0);
30927e23b5fSChristophe Leroy preempt_enable();
31027e23b5fSChristophe Leroy #else
31127e23b5fSChristophe Leroy _tlbil_pid(0);
31227e23b5fSChristophe Leroy #endif
31327e23b5fSChristophe Leroy }
31427e23b5fSChristophe Leroy EXPORT_SYMBOL(flush_tlb_kernel_range);
3159290c379SChristophe Leroy #endif
31627e23b5fSChristophe Leroy
31727e23b5fSChristophe Leroy /*
31827e23b5fSChristophe Leroy * Currently, for range flushing, we just do a full mm flush. This should
31927e23b5fSChristophe Leroy * be optimized based on a threshold on the size of the range, since
32027e23b5fSChristophe Leroy * some implementation can stack multiple tlbivax before a tlbsync but
32127e23b5fSChristophe Leroy * for now, we keep it that way
32227e23b5fSChristophe Leroy */
flush_tlb_range(struct vm_area_struct * vma,unsigned long start,unsigned long end)32327e23b5fSChristophe Leroy void flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
32427e23b5fSChristophe Leroy unsigned long end)
32527e23b5fSChristophe Leroy
32627e23b5fSChristophe Leroy {
32727e23b5fSChristophe Leroy if (end - start == PAGE_SIZE && !(start & ~PAGE_MASK))
32827e23b5fSChristophe Leroy flush_tlb_page(vma, start);
32927e23b5fSChristophe Leroy else
33027e23b5fSChristophe Leroy flush_tlb_mm(vma->vm_mm);
33127e23b5fSChristophe Leroy }
33227e23b5fSChristophe Leroy EXPORT_SYMBOL(flush_tlb_range);
33327e23b5fSChristophe Leroy
tlb_flush(struct mmu_gather * tlb)33427e23b5fSChristophe Leroy void tlb_flush(struct mmu_gather *tlb)
33527e23b5fSChristophe Leroy {
33627e23b5fSChristophe Leroy flush_tlb_mm(tlb->mm);
33727e23b5fSChristophe Leroy }
33827e23b5fSChristophe Leroy
339*8ea58996SMichael Ellerman #ifndef CONFIG_PPC64
early_init_mmu(void)34027e23b5fSChristophe Leroy void __init early_init_mmu(void)
34127e23b5fSChristophe Leroy {
342ed05c71aSChristophe Leroy unsigned long root = of_get_flat_dt_root();
343ed05c71aSChristophe Leroy
344ed05c71aSChristophe Leroy if (IS_ENABLED(CONFIG_PPC_47x) && IS_ENABLED(CONFIG_SMP) &&
345ed05c71aSChristophe Leroy of_get_flat_dt_prop(root, "cooperative-partition", NULL))
346ed05c71aSChristophe Leroy mmu_clear_feature(MMU_FTR_USE_TLBIVAX_BCAST);
34727e23b5fSChristophe Leroy }
34827e23b5fSChristophe Leroy #endif /* CONFIG_PPC64 */
349