/openbmc/linux/arch/powerpc/include/asm/ |
H A D | page.h | 265 #define is_kernel_addr(x) ((x) >= 0x8000000000000000ul) macro 267 #define is_kernel_addr(x) ((x) >= PAGE_OFFSET) macro 269 #define is_kernel_addr(x) ((x) >= TASK_SIZE) macro
|
H A D | inst.h | 164 if (unlikely(!is_kernel_addr((unsigned long)src))) in copy_inst_from_kernel_nofault()
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | maccess.c | 12 return is_kernel_addr((unsigned long)unsafe_src); in copy_from_kernel_nofault_allowed()
|
/openbmc/linux/arch/powerpc/mm/book3s64/ |
H A D | slb.c | 364 if (!is_kernel_addr(exec)) { in slb_setup_new_exec() 370 if (!is_kernel_addr(mm->mmap_base)) { in slb_setup_new_exec() 396 if (!is_kernel_addr(start)) { in preload_new_slb_context() 402 if (!is_kernel_addr(sp)) { in preload_new_slb_context() 408 if (heap && !is_kernel_addr(heap)) { in preload_new_slb_context()
|
H A D | hash_tlb.c | 88 if (!is_kernel_addr(addr)) { in hpte_need_flush()
|
H A D | hash_pgtable.c | 330 if (!is_kernel_addr(addr)) { in hpte_do_hugepage_flush()
|
/openbmc/linux/arch/powerpc/include/asm/nohash/64/ |
H A D | pgtable.h | 127 #define pmd_bad(pmd) (!is_kernel_addr(pmd_val(pmd)) \ 145 #define pud_bad(pud) (!is_kernel_addr(pud_val(pud)) \
|
/openbmc/linux/arch/powerpc/mm/nohash/ |
H A D | e500_hugetlbpage.c | 128 if (unlikely(is_kernel_addr(ea))) in book3e_hugetlb_preload()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | hw_breakpoint_constraints.c | 70 if (is_kernel_addr(regs->nip) && !(info->type & HW_BRK_TYPE_KERNEL)) in check_dawrx_constraints()
|
H A D | setup-common.c | 383 if (is_kernel_addr(initrd_start) && is_kernel_addr(initrd_end) && in check_for_initrd()
|
H A D | optprobes.c | 68 if (!is_kernel_addr(addr)) in can_optimize()
|
H A D | align.c | 307 if (is_kernel_addr(regs->nip)) in fix_alignment()
|
H A D | hw_breakpoint.c | 122 return is_kernel_addr(hw->address); in arch_check_bp_in_kernelspace()
|
H A D | traps.c | 1445 return is_kernel_addr(addr); in is_valid_bugaddr() 1510 if (!is_kernel_addr(bugaddr) && !(regs->msr & MSR_IR)) in do_program_check()
|
H A D | prom_init.c | 3224 prom_initrd_start = is_kernel_addr(r3) ? __pa(r3) : r3; in prom_check_initrd()
|
/openbmc/linux/arch/powerpc/perf/ |
H A D | core-book3s.c | 227 if (is_kernel_addr(mfspr(SPRN_SDAR)) && event->attr.exclude_kernel) in perf_get_data_addr() 284 if (is_kernel_addr(siar)) in perf_get_misc_flags() 288 if (is_kernel_addr(regs->nip)) in perf_get_misc_flags() 302 if (is_kernel_addr(siar)) in perf_get_misc_flags() 468 if (is_kernel_addr(addr)) { in power_pmu_bhrb_to() 521 is_kernel_addr(addr) && event->attr.exclude_kernel) in power_pmu_bhrb_read() 2297 is_kernel_addr(mfspr(SPRN_SIAR))) in record_and_restart()
|
H A D | imc-pmu.c | 1319 if (is_kernel_addr(data->ip)) in trace_imc_prepare_sample()
|
/openbmc/linux/arch/powerpc/platforms/ps3/ |
H A D | mm.c | 127 BUG_ON(is_kernel_addr(phys_addr)); in ps3_mm_phys_to_lpar() 780 unsigned long phys_addr = is_kernel_addr(virt_addr) ? __pa(virt_addr) in dma_sb_map_area() 835 unsigned long phys_addr = is_kernel_addr(virt_addr) ? __pa(virt_addr) in dma_ioc0_map_area() 1076 unsigned long phys_addr = is_kernel_addr(virt_addr) ? __pa(virt_addr) in dma_sb_map_area_linear()
|
H A D | interrupt.c | 530 BUG_ON(!is_kernel_addr((u64)virt_addr_bmp)); in ps3_vuart_irq_setup()
|
/openbmc/linux/arch/powerpc/include/asm/nohash/ |
H A D | pgtable.h | 206 if (IS_ENABLED(CONFIG_PPC_BOOK3E_64) && is_kernel_addr(addr)) in __set_pte_at()
|
/openbmc/linux/arch/powerpc/xmon/ |
H A D | xmon.c | 1462 if (!is_kernel_addr(addr)) { in check_bp_loc() 1552 if (!is_kernel_addr(dabr[i].address)) { in bpt_cmds() 1734 if (!is_kernel_addr(sp)) { in xmon_show_stack() 1762 if (!is_kernel_addr(lr) in xmon_show_stack() 1767 } else if (is_kernel_addr(lr) in xmon_show_stack() 1826 if (!is_kernel_addr(addr)) in print_bug_trap()
|
/openbmc/linux/arch/powerpc/include/asm/book3s/64/ |
H A D | mmu-hash.h | 848 if (!is_kernel_addr(ea)) in get_kernel_vsid()
|
/openbmc/linux/arch/powerpc/lib/ |
H A D | sstep.c | 334 if (is_kernel_addr(ea)) in read_mem_aligned() 390 if (is_kernel_addr(ea)) in copy_mem_in() 470 if (is_kernel_addr(ea)) in write_mem_aligned() 526 if (is_kernel_addr(ea)) in copy_mem_out() 1080 if (is_kernel_addr(ea)) { in emulate_dcbz()
|