162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */ 262306a36Sopenharmony_ci#ifndef _ASM_POWERPC_PAGE_H 362306a36Sopenharmony_ci#define _ASM_POWERPC_PAGE_H 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci/* 662306a36Sopenharmony_ci * Copyright (C) 2001,2005 IBM Corporation. 762306a36Sopenharmony_ci */ 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci#ifndef __ASSEMBLY__ 1062306a36Sopenharmony_ci#include <linux/types.h> 1162306a36Sopenharmony_ci#include <linux/kernel.h> 1262306a36Sopenharmony_ci#include <linux/bug.h> 1362306a36Sopenharmony_ci#else 1462306a36Sopenharmony_ci#include <asm/types.h> 1562306a36Sopenharmony_ci#endif 1662306a36Sopenharmony_ci#include <asm/asm-const.h> 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci/* 1962306a36Sopenharmony_ci * On regular PPC32 page size is 4K (but we support 4K/16K/64K/256K pages 2062306a36Sopenharmony_ci * on PPC44x and 4K/16K on 8xx). For PPC64 we support either 4K or 64K software 2162306a36Sopenharmony_ci * page size. When using 64K pages however, whether we are really supporting 2262306a36Sopenharmony_ci * 64K pages in HW or not is irrelevant to those definitions. 2362306a36Sopenharmony_ci */ 2462306a36Sopenharmony_ci#define PAGE_SHIFT CONFIG_PPC_PAGE_SHIFT 2562306a36Sopenharmony_ci#define PAGE_SIZE (ASM_CONST(1) << PAGE_SHIFT) 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_ci#ifndef __ASSEMBLY__ 2862306a36Sopenharmony_ci#ifndef CONFIG_HUGETLB_PAGE 2962306a36Sopenharmony_ci#define HPAGE_SHIFT PAGE_SHIFT 3062306a36Sopenharmony_ci#elif defined(CONFIG_PPC_BOOK3S_64) 3162306a36Sopenharmony_ciextern unsigned int hpage_shift; 3262306a36Sopenharmony_ci#define HPAGE_SHIFT hpage_shift 3362306a36Sopenharmony_ci#elif defined(CONFIG_PPC_8xx) 3462306a36Sopenharmony_ci#define HPAGE_SHIFT 19 /* 512k pages */ 3562306a36Sopenharmony_ci#elif defined(CONFIG_PPC_E500) 3662306a36Sopenharmony_ci#define HPAGE_SHIFT 22 /* 4M pages */ 3762306a36Sopenharmony_ci#endif 3862306a36Sopenharmony_ci#define HPAGE_SIZE ((1UL) << HPAGE_SHIFT) 3962306a36Sopenharmony_ci#define HPAGE_MASK (~(HPAGE_SIZE - 1)) 4062306a36Sopenharmony_ci#define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) 4162306a36Sopenharmony_ci#define HUGE_MAX_HSTATE (MMU_PAGE_COUNT-1) 4262306a36Sopenharmony_ci#endif 4362306a36Sopenharmony_ci 4462306a36Sopenharmony_ci/* 4562306a36Sopenharmony_ci * Subtle: (1 << PAGE_SHIFT) is an int, not an unsigned long. So if we 4662306a36Sopenharmony_ci * assign PAGE_MASK to a larger type it gets extended the way we want 4762306a36Sopenharmony_ci * (i.e. with 1s in the high bits) 4862306a36Sopenharmony_ci */ 4962306a36Sopenharmony_ci#define PAGE_MASK (~((1 << PAGE_SHIFT) - 1)) 5062306a36Sopenharmony_ci 5162306a36Sopenharmony_ci/* 5262306a36Sopenharmony_ci * KERNELBASE is the virtual address of the start of the kernel, it's often 5362306a36Sopenharmony_ci * the same as PAGE_OFFSET, but _might not be_. 5462306a36Sopenharmony_ci * 5562306a36Sopenharmony_ci * The kdump dump kernel is one example where KERNELBASE != PAGE_OFFSET. 5662306a36Sopenharmony_ci * 5762306a36Sopenharmony_ci * PAGE_OFFSET is the virtual address of the start of lowmem. 5862306a36Sopenharmony_ci * 5962306a36Sopenharmony_ci * PHYSICAL_START is the physical address of the start of the kernel. 6062306a36Sopenharmony_ci * 6162306a36Sopenharmony_ci * MEMORY_START is the physical address of the start of lowmem. 6262306a36Sopenharmony_ci * 6362306a36Sopenharmony_ci * KERNELBASE, PAGE_OFFSET, and PHYSICAL_START are all configurable on 6462306a36Sopenharmony_ci * ppc32 and based on how they are set we determine MEMORY_START. 6562306a36Sopenharmony_ci * 6662306a36Sopenharmony_ci * For the linear mapping the following equation should be true: 6762306a36Sopenharmony_ci * KERNELBASE - PAGE_OFFSET = PHYSICAL_START - MEMORY_START 6862306a36Sopenharmony_ci * 6962306a36Sopenharmony_ci * Also, KERNELBASE >= PAGE_OFFSET and PHYSICAL_START >= MEMORY_START 7062306a36Sopenharmony_ci * 7162306a36Sopenharmony_ci * There are two ways to determine a physical address from a virtual one: 7262306a36Sopenharmony_ci * va = pa + PAGE_OFFSET - MEMORY_START 7362306a36Sopenharmony_ci * va = pa + KERNELBASE - PHYSICAL_START 7462306a36Sopenharmony_ci * 7562306a36Sopenharmony_ci * If you want to know something's offset from the start of the kernel you 7662306a36Sopenharmony_ci * should subtract KERNELBASE. 7762306a36Sopenharmony_ci * 7862306a36Sopenharmony_ci * If you want to test if something's a kernel address, use is_kernel_addr(). 7962306a36Sopenharmony_ci */ 8062306a36Sopenharmony_ci 8162306a36Sopenharmony_ci#define KERNELBASE ASM_CONST(CONFIG_KERNEL_START) 8262306a36Sopenharmony_ci#define PAGE_OFFSET ASM_CONST(CONFIG_PAGE_OFFSET) 8362306a36Sopenharmony_ci#define LOAD_OFFSET ASM_CONST((CONFIG_KERNEL_START-CONFIG_PHYSICAL_START)) 8462306a36Sopenharmony_ci 8562306a36Sopenharmony_ci#if defined(CONFIG_NONSTATIC_KERNEL) 8662306a36Sopenharmony_ci#ifndef __ASSEMBLY__ 8762306a36Sopenharmony_ci 8862306a36Sopenharmony_ciextern phys_addr_t memstart_addr; 8962306a36Sopenharmony_ciextern phys_addr_t kernstart_addr; 9062306a36Sopenharmony_ci 9162306a36Sopenharmony_ci#if defined(CONFIG_RELOCATABLE) && defined(CONFIG_PPC32) 9262306a36Sopenharmony_ciextern long long virt_phys_offset; 9362306a36Sopenharmony_ci#endif 9462306a36Sopenharmony_ci 9562306a36Sopenharmony_ci#endif /* __ASSEMBLY__ */ 9662306a36Sopenharmony_ci#define PHYSICAL_START kernstart_addr 9762306a36Sopenharmony_ci 9862306a36Sopenharmony_ci#else /* !CONFIG_NONSTATIC_KERNEL */ 9962306a36Sopenharmony_ci#define PHYSICAL_START ASM_CONST(CONFIG_PHYSICAL_START) 10062306a36Sopenharmony_ci#endif 10162306a36Sopenharmony_ci 10262306a36Sopenharmony_ci/* See Description below for VIRT_PHYS_OFFSET */ 10362306a36Sopenharmony_ci#if defined(CONFIG_PPC32) && defined(CONFIG_BOOKE) 10462306a36Sopenharmony_ci#ifdef CONFIG_RELOCATABLE 10562306a36Sopenharmony_ci#define VIRT_PHYS_OFFSET virt_phys_offset 10662306a36Sopenharmony_ci#else 10762306a36Sopenharmony_ci#define VIRT_PHYS_OFFSET (KERNELBASE - PHYSICAL_START) 10862306a36Sopenharmony_ci#endif 10962306a36Sopenharmony_ci#endif 11062306a36Sopenharmony_ci 11162306a36Sopenharmony_ci#ifdef CONFIG_PPC64 11262306a36Sopenharmony_ci#define MEMORY_START 0UL 11362306a36Sopenharmony_ci#elif defined(CONFIG_NONSTATIC_KERNEL) 11462306a36Sopenharmony_ci#define MEMORY_START memstart_addr 11562306a36Sopenharmony_ci#else 11662306a36Sopenharmony_ci#define MEMORY_START (PHYSICAL_START + PAGE_OFFSET - KERNELBASE) 11762306a36Sopenharmony_ci#endif 11862306a36Sopenharmony_ci 11962306a36Sopenharmony_ci#ifdef CONFIG_FLATMEM 12062306a36Sopenharmony_ci#define ARCH_PFN_OFFSET ((unsigned long)(MEMORY_START >> PAGE_SHIFT)) 12162306a36Sopenharmony_ci#endif 12262306a36Sopenharmony_ci 12362306a36Sopenharmony_ci/* 12462306a36Sopenharmony_ci * On Book-E parts we need __va to parse the device tree and we can't 12562306a36Sopenharmony_ci * determine MEMORY_START until then. However we can determine PHYSICAL_START 12662306a36Sopenharmony_ci * from information at hand (program counter, TLB lookup). 12762306a36Sopenharmony_ci * 12862306a36Sopenharmony_ci * On BookE with RELOCATABLE && PPC32 12962306a36Sopenharmony_ci * 13062306a36Sopenharmony_ci * With RELOCATABLE && PPC32, we support loading the kernel at any physical 13162306a36Sopenharmony_ci * address without any restriction on the page alignment. 13262306a36Sopenharmony_ci * 13362306a36Sopenharmony_ci * We find the runtime address of _stext and relocate ourselves based on 13462306a36Sopenharmony_ci * the following calculation: 13562306a36Sopenharmony_ci * 13662306a36Sopenharmony_ci * virtual_base = ALIGN_DOWN(KERNELBASE,256M) + 13762306a36Sopenharmony_ci * MODULO(_stext.run,256M) 13862306a36Sopenharmony_ci * and create the following mapping: 13962306a36Sopenharmony_ci * 14062306a36Sopenharmony_ci * ALIGN_DOWN(_stext.run,256M) => ALIGN_DOWN(KERNELBASE,256M) 14162306a36Sopenharmony_ci * 14262306a36Sopenharmony_ci * When we process relocations, we cannot depend on the 14362306a36Sopenharmony_ci * existing equation for the __va()/__pa() translations: 14462306a36Sopenharmony_ci * 14562306a36Sopenharmony_ci * __va(x) = (x) - PHYSICAL_START + KERNELBASE 14662306a36Sopenharmony_ci * 14762306a36Sopenharmony_ci * Where: 14862306a36Sopenharmony_ci * PHYSICAL_START = kernstart_addr = Physical address of _stext 14962306a36Sopenharmony_ci * KERNELBASE = Compiled virtual address of _stext. 15062306a36Sopenharmony_ci * 15162306a36Sopenharmony_ci * This formula holds true iff, kernel load address is TLB page aligned. 15262306a36Sopenharmony_ci * 15362306a36Sopenharmony_ci * In our case, we need to also account for the shift in the kernel Virtual 15462306a36Sopenharmony_ci * address. 15562306a36Sopenharmony_ci * 15662306a36Sopenharmony_ci * E.g., 15762306a36Sopenharmony_ci * 15862306a36Sopenharmony_ci * Let the kernel be loaded at 64MB and KERNELBASE be 0xc0000000 (same as PAGE_OFFSET). 15962306a36Sopenharmony_ci * In this case, we would be mapping 0 to 0xc0000000, and kernstart_addr = 64M 16062306a36Sopenharmony_ci * 16162306a36Sopenharmony_ci * Now __va(1MB) = (0x100000) - (0x4000000) + 0xc0000000 16262306a36Sopenharmony_ci * = 0xbc100000 , which is wrong. 16362306a36Sopenharmony_ci * 16462306a36Sopenharmony_ci * Rather, it should be : 0xc0000000 + 0x100000 = 0xc0100000 16562306a36Sopenharmony_ci * according to our mapping. 16662306a36Sopenharmony_ci * 16762306a36Sopenharmony_ci * Hence we use the following formula to get the translations right: 16862306a36Sopenharmony_ci * 16962306a36Sopenharmony_ci * __va(x) = (x) - [ PHYSICAL_START - Effective KERNELBASE ] 17062306a36Sopenharmony_ci * 17162306a36Sopenharmony_ci * Where : 17262306a36Sopenharmony_ci * PHYSICAL_START = dynamic load address.(kernstart_addr variable) 17362306a36Sopenharmony_ci * Effective KERNELBASE = virtual_base = 17462306a36Sopenharmony_ci * = ALIGN_DOWN(KERNELBASE,256M) + 17562306a36Sopenharmony_ci * MODULO(PHYSICAL_START,256M) 17662306a36Sopenharmony_ci * 17762306a36Sopenharmony_ci * To make the cost of __va() / __pa() more light weight, we introduce 17862306a36Sopenharmony_ci * a new variable virt_phys_offset, which will hold : 17962306a36Sopenharmony_ci * 18062306a36Sopenharmony_ci * virt_phys_offset = Effective KERNELBASE - PHYSICAL_START 18162306a36Sopenharmony_ci * = ALIGN_DOWN(KERNELBASE,256M) - 18262306a36Sopenharmony_ci * ALIGN_DOWN(PHYSICALSTART,256M) 18362306a36Sopenharmony_ci * 18462306a36Sopenharmony_ci * Hence : 18562306a36Sopenharmony_ci * 18662306a36Sopenharmony_ci * __va(x) = x - PHYSICAL_START + Effective KERNELBASE 18762306a36Sopenharmony_ci * = x + virt_phys_offset 18862306a36Sopenharmony_ci * 18962306a36Sopenharmony_ci * and 19062306a36Sopenharmony_ci * __pa(x) = x + PHYSICAL_START - Effective KERNELBASE 19162306a36Sopenharmony_ci * = x - virt_phys_offset 19262306a36Sopenharmony_ci * 19362306a36Sopenharmony_ci * On non-Book-E PPC64 PAGE_OFFSET and MEMORY_START are constants so use 19462306a36Sopenharmony_ci * the other definitions for __va & __pa. 19562306a36Sopenharmony_ci */ 19662306a36Sopenharmony_ci#if defined(CONFIG_PPC32) && defined(CONFIG_BOOKE) 19762306a36Sopenharmony_ci#define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) + VIRT_PHYS_OFFSET)) 19862306a36Sopenharmony_ci#define __pa(x) ((phys_addr_t)(unsigned long)(x) - VIRT_PHYS_OFFSET) 19962306a36Sopenharmony_ci#else 20062306a36Sopenharmony_ci#ifdef CONFIG_PPC64 20162306a36Sopenharmony_ci 20262306a36Sopenharmony_ci#define VIRTUAL_WARN_ON(x) WARN_ON(IS_ENABLED(CONFIG_DEBUG_VIRTUAL) && (x)) 20362306a36Sopenharmony_ci 20462306a36Sopenharmony_ci/* 20562306a36Sopenharmony_ci * gcc miscompiles (unsigned long)(&static_var) - PAGE_OFFSET 20662306a36Sopenharmony_ci * with -mcmodel=medium, so we use & and | instead of - and + on 64-bit. 20762306a36Sopenharmony_ci * This also results in better code generation. 20862306a36Sopenharmony_ci */ 20962306a36Sopenharmony_ci#define __va(x) \ 21062306a36Sopenharmony_ci({ \ 21162306a36Sopenharmony_ci VIRTUAL_WARN_ON((unsigned long)(x) >= PAGE_OFFSET); \ 21262306a36Sopenharmony_ci (void *)(unsigned long)((phys_addr_t)(x) | PAGE_OFFSET); \ 21362306a36Sopenharmony_ci}) 21462306a36Sopenharmony_ci 21562306a36Sopenharmony_ci#define __pa(x) \ 21662306a36Sopenharmony_ci({ \ 21762306a36Sopenharmony_ci VIRTUAL_WARN_ON((unsigned long)(x) < PAGE_OFFSET); \ 21862306a36Sopenharmony_ci (unsigned long)(x) & 0x0fffffffffffffffUL; \ 21962306a36Sopenharmony_ci}) 22062306a36Sopenharmony_ci 22162306a36Sopenharmony_ci#else /* 32-bit, non book E */ 22262306a36Sopenharmony_ci#define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) + PAGE_OFFSET - MEMORY_START)) 22362306a36Sopenharmony_ci#define __pa(x) ((unsigned long)(x) - PAGE_OFFSET + MEMORY_START) 22462306a36Sopenharmony_ci#endif 22562306a36Sopenharmony_ci#endif 22662306a36Sopenharmony_ci 22762306a36Sopenharmony_ci#ifndef __ASSEMBLY__ 22862306a36Sopenharmony_cistatic inline unsigned long virt_to_pfn(const void *kaddr) 22962306a36Sopenharmony_ci{ 23062306a36Sopenharmony_ci return __pa(kaddr) >> PAGE_SHIFT; 23162306a36Sopenharmony_ci} 23262306a36Sopenharmony_ci 23362306a36Sopenharmony_cistatic inline const void *pfn_to_kaddr(unsigned long pfn) 23462306a36Sopenharmony_ci{ 23562306a36Sopenharmony_ci return __va(pfn << PAGE_SHIFT); 23662306a36Sopenharmony_ci} 23762306a36Sopenharmony_ci#endif 23862306a36Sopenharmony_ci 23962306a36Sopenharmony_ci#define virt_to_page(kaddr) pfn_to_page(virt_to_pfn(kaddr)) 24062306a36Sopenharmony_ci#define virt_addr_valid(vaddr) ({ \ 24162306a36Sopenharmony_ci unsigned long _addr = (unsigned long)vaddr; \ 24262306a36Sopenharmony_ci _addr >= PAGE_OFFSET && _addr < (unsigned long)high_memory && \ 24362306a36Sopenharmony_ci pfn_valid(virt_to_pfn((void *)_addr)); \ 24462306a36Sopenharmony_ci}) 24562306a36Sopenharmony_ci 24662306a36Sopenharmony_ci/* 24762306a36Sopenharmony_ci * Unfortunately the PLT is in the BSS in the PPC32 ELF ABI, 24862306a36Sopenharmony_ci * and needs to be executable. This means the whole heap ends 24962306a36Sopenharmony_ci * up being executable. 25062306a36Sopenharmony_ci */ 25162306a36Sopenharmony_ci#define VM_DATA_DEFAULT_FLAGS32 VM_DATA_FLAGS_TSK_EXEC 25262306a36Sopenharmony_ci#define VM_DATA_DEFAULT_FLAGS64 VM_DATA_FLAGS_NON_EXEC 25362306a36Sopenharmony_ci 25462306a36Sopenharmony_ci#ifdef __powerpc64__ 25562306a36Sopenharmony_ci#include <asm/page_64.h> 25662306a36Sopenharmony_ci#else 25762306a36Sopenharmony_ci#include <asm/page_32.h> 25862306a36Sopenharmony_ci#endif 25962306a36Sopenharmony_ci 26062306a36Sopenharmony_ci/* 26162306a36Sopenharmony_ci * Don't compare things with KERNELBASE or PAGE_OFFSET to test for 26262306a36Sopenharmony_ci * "kernelness", use is_kernel_addr() - it should do what you want. 26362306a36Sopenharmony_ci */ 26462306a36Sopenharmony_ci#ifdef CONFIG_PPC_BOOK3E_64 26562306a36Sopenharmony_ci#define is_kernel_addr(x) ((x) >= 0x8000000000000000ul) 26662306a36Sopenharmony_ci#elif defined(CONFIG_PPC_BOOK3S_64) 26762306a36Sopenharmony_ci#define is_kernel_addr(x) ((x) >= PAGE_OFFSET) 26862306a36Sopenharmony_ci#else 26962306a36Sopenharmony_ci#define is_kernel_addr(x) ((x) >= TASK_SIZE) 27062306a36Sopenharmony_ci#endif 27162306a36Sopenharmony_ci 27262306a36Sopenharmony_ci#ifndef CONFIG_PPC_BOOK3S_64 27362306a36Sopenharmony_ci/* 27462306a36Sopenharmony_ci * Use the top bit of the higher-level page table entries to indicate whether 27562306a36Sopenharmony_ci * the entries we point to contain hugepages. This works because we know that 27662306a36Sopenharmony_ci * the page tables live in kernel space. If we ever decide to support having 27762306a36Sopenharmony_ci * page tables at arbitrary addresses, this breaks and will have to change. 27862306a36Sopenharmony_ci */ 27962306a36Sopenharmony_ci#ifdef CONFIG_PPC64 28062306a36Sopenharmony_ci#define PD_HUGE 0x8000000000000000UL 28162306a36Sopenharmony_ci#else 28262306a36Sopenharmony_ci#define PD_HUGE 0x80000000 28362306a36Sopenharmony_ci#endif 28462306a36Sopenharmony_ci 28562306a36Sopenharmony_ci#else /* CONFIG_PPC_BOOK3S_64 */ 28662306a36Sopenharmony_ci/* 28762306a36Sopenharmony_ci * Book3S 64 stores real addresses in the hugepd entries to 28862306a36Sopenharmony_ci * avoid overlaps with _PAGE_PRESENT and _PAGE_PTE. 28962306a36Sopenharmony_ci */ 29062306a36Sopenharmony_ci#define HUGEPD_ADDR_MASK (0x0ffffffffffffffful & ~HUGEPD_SHIFT_MASK) 29162306a36Sopenharmony_ci#endif /* CONFIG_PPC_BOOK3S_64 */ 29262306a36Sopenharmony_ci 29362306a36Sopenharmony_ci/* 29462306a36Sopenharmony_ci * Some number of bits at the level of the page table that points to 29562306a36Sopenharmony_ci * a hugepte are used to encode the size. This masks those bits. 29662306a36Sopenharmony_ci * On 8xx, HW assistance requires 4k alignment for the hugepte. 29762306a36Sopenharmony_ci */ 29862306a36Sopenharmony_ci#ifdef CONFIG_PPC_8xx 29962306a36Sopenharmony_ci#define HUGEPD_SHIFT_MASK 0xfff 30062306a36Sopenharmony_ci#else 30162306a36Sopenharmony_ci#define HUGEPD_SHIFT_MASK 0x3f 30262306a36Sopenharmony_ci#endif 30362306a36Sopenharmony_ci 30462306a36Sopenharmony_ci#ifndef __ASSEMBLY__ 30562306a36Sopenharmony_ci 30662306a36Sopenharmony_ci#ifdef CONFIG_PPC_BOOK3S_64 30762306a36Sopenharmony_ci#include <asm/pgtable-be-types.h> 30862306a36Sopenharmony_ci#else 30962306a36Sopenharmony_ci#include <asm/pgtable-types.h> 31062306a36Sopenharmony_ci#endif 31162306a36Sopenharmony_ci 31262306a36Sopenharmony_cistruct page; 31362306a36Sopenharmony_ciextern void clear_user_page(void *page, unsigned long vaddr, struct page *pg); 31462306a36Sopenharmony_ciextern void copy_user_page(void *to, void *from, unsigned long vaddr, 31562306a36Sopenharmony_ci struct page *p); 31662306a36Sopenharmony_ciextern int devmem_is_allowed(unsigned long pfn); 31762306a36Sopenharmony_ci 31862306a36Sopenharmony_ci#ifdef CONFIG_PPC_SMLPAR 31962306a36Sopenharmony_civoid arch_free_page(struct page *page, int order); 32062306a36Sopenharmony_ci#define HAVE_ARCH_FREE_PAGE 32162306a36Sopenharmony_ci#endif 32262306a36Sopenharmony_ci 32362306a36Sopenharmony_cistruct vm_area_struct; 32462306a36Sopenharmony_ci 32562306a36Sopenharmony_ciextern unsigned long kernstart_virt_addr; 32662306a36Sopenharmony_ci 32762306a36Sopenharmony_cistatic inline unsigned long kaslr_offset(void) 32862306a36Sopenharmony_ci{ 32962306a36Sopenharmony_ci return kernstart_virt_addr - KERNELBASE; 33062306a36Sopenharmony_ci} 33162306a36Sopenharmony_ci 33262306a36Sopenharmony_ci#include <asm-generic/memory_model.h> 33362306a36Sopenharmony_ci#endif /* __ASSEMBLY__ */ 33462306a36Sopenharmony_ci 33562306a36Sopenharmony_ci#endif /* _ASM_POWERPC_PAGE_H */ 336