Lines Matching +full:d +full:- +full:tlb +full:- +full:size
1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * -- paulus
11 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
27 #include <asm/code-patching.h>
32 /* Used by the 44x TLB replacement exception handler.
36 unsigned int tlb_44x_hwater = PPC44x_TLB_SIZE - 1 - PPC44x_EARLY_TLBS;
43 /* The TLB miss handlers hard codes the watermark in a cmpli in ppc44x_update_tlb_hwater()
46 * in the 2 TLB miss handlers when updating the value in ppc44x_update_tlb_hwater()
53 * "Pins" a 256MB TLB entry in AS0 for kernel lowmem for 44x type MMU
57 unsigned int entry = tlb_44x_hwater--; in ppc44x_pin_tlb()
94 return -1; in ppc47x_find_free_bolted()
123 * "Pins" a 256MB TLB entry in AS0 for kernel lowmem for 47x type MMU
140 pr_debug("256M TLB entry for 0x%08x->0x%08x in bolt slot %d\n", in ppc47x_pin_tlb()
172 unsigned long memstart = memstart_addr & ~(PPC_PIN_SIZE - 1); in mmu_mapin_ram()
193 printk("%d ", i); in mmu_mapin_ram()
205 u64 size; in setup_initial_memory_limit() local
214 /* 44x has a 256M TLB entry pinned at boot */ in setup_initial_memory_limit()
215 size = (min_t(u64, first_memblock_size, PPC_PIN_SIZE)); in setup_initial_memory_limit()
216 memblock_set_current_limit(first_memblock_base + size); in setup_initial_memory_limit()
223 unsigned long memstart = memstart_addr & ~(PPC_PIN_SIZE - 1); in mmu_init_secondary()
229 * linear mapping in the TLB and we can't take faults yet in mmu_init_secondary()