Lines Matching +full:0 +full:x16000000
33 u8 __initdata early_hash[SZ_256K] __aligned(SZ_256K) = {0};
53 * Return PA for this VA if it is mapped by a BAT, or 0
58 for (b = 0; b < ARRAY_SIZE(bat_addrs); ++b) in v_block_mapped()
61 return 0; in v_block_mapped()
65 * Return VA for a given PA or 0 if not mapped
70 for (b = 0; b < ARRAY_SIZE(bat_addrs); ++b) in p_block_mapped()
75 return 0; in p_block_mapped()
83 for (b = 0; b < n; b++) { in find_free_bat()
98 * if base is 0x16000000, max size is 0x02000000).
128 bat[0].batu = virt | (bl << 2) | 2; /* Vs=1, Vp=0 */ in setibat()
129 bat[0].batl = BAT_PHYS_ADDR(phys) | wimgxpp; in setibat()
131 bat[0].batu |= 1; /* Vp = 1 */ in setibat()
138 bat[0].batu = 0; in clearibat()
139 bat[0].batl = 0; in clearibat()
165 setibat(0, PAGE_OFFSET, 0, size, PAGE_KERNEL_X); in mmu_mapin_ram()
205 for (i = 0; i < nb - 1 && base < top;) { in mmu_mark_initmem_nx()
233 mtsr(mfsr(i << 28) | 0x10000000, i << 28); in mmu_mark_initmem_nx()
235 return 0; in mmu_mark_initmem_nx()
243 for (i = 0; i < nb; i++) { in mmu_mark_rodata_ro()
252 return 0; in mmu_mark_rodata_ro()
271 pr_err("%s: no BAT available for mapping 0x%llx\n", __func__, in setbat()
278 (cpu_has_feature(CPU_FTR_NEED_COHERENT) == 0)) in setbat()
286 bat[1].batu = virt | (bl << 2) | 2; /* Vs=1, Vp=0 */ in setbat()
339 if (TRAP(current->thread.regs) != 0x300 && TRAP(current->thread.regs) != 0x400) in __update_mmu_cache()
355 if ( ppc_md.progress ) ppc_md.progress("hash:enter", 0x105); in MMU_init_hw()
379 if ( ppc_md.progress ) ppc_md.progress("hash:find piece", 0x322); in MMU_init_hw()
382 panic("%s: Failed to allocate %lu bytes align=0x%lx\n", in MMU_init_hw()
405 ppc_md.progress("hash:patch", 0x345); in MMU_init_hw_patch()
407 ppc_md.progress("hash:done", 0x205); in MMU_init_hw_patch()
414 modify_instruction_site(&patch__hash_page_A0, 0xffff, hash >> 16); in MMU_init_hw_patch()
415 modify_instruction_site(&patch__hash_page_A1, 0x7c0, hash_mb << 6); in MMU_init_hw_patch()
416 modify_instruction_site(&patch__hash_page_A2, 0x7c0, hash_mb2 << 6); in MMU_init_hw_patch()
417 modify_instruction_site(&patch__hash_page_B, 0xffff, hmask); in MMU_init_hw_patch()
418 modify_instruction_site(&patch__hash_page_C, 0xffff, hmask); in MMU_init_hw_patch()
423 modify_instruction_site(&patch__flush_hash_A0, 0xffff, hash >> 16); in MMU_init_hw_patch()
424 modify_instruction_site(&patch__flush_hash_A1, 0x7c0, hash_mb << 6); in MMU_init_hw_patch()
425 modify_instruction_site(&patch__flush_hash_A2, 0x7c0, hash_mb2 << 6); in MMU_init_hw_patch()
426 modify_instruction_site(&patch__flush_hash_B, 0xffff, hmask); in MMU_init_hw_patch()
432 /* We don't currently support the first MEMBLOCK not mapping 0 in setup_initial_memory_limit()
435 BUG_ON(first_memblock_base != 0); in setup_initial_memory_limit()
442 pr_info("Hash_size = 0x%lx\n", Hash_size); in print_system_hash_info()
444 pr_info("Hash_mask = 0x%lx\n", Hash_mask); in print_system_hash_info()