/linux-6.3-rc2/arch/mips/kernel/ |
A D | setup.c | 284 memblock_reserve(__pa_symbol(&_text), in bootmem_init() 285 __pa_symbol(&_end) - __pa_symbol(&_text)); in bootmem_init() 513 phys_addr_t start = __pa_symbol(&_text); in check_kernel_sections_mem() 514 phys_addr_t size = __pa_symbol(&_end) - start; in check_kernel_sections_mem() 688 memblock_reserve(__pa_symbol(&__nosave_begin), in arch_mem_init() 689 __pa_symbol(&__nosave_end) - __pa_symbol(&__nosave_begin)); in arch_mem_init() 702 code_resource.start = __pa_symbol(&_text); in resource_init() 703 code_resource.end = __pa_symbol(&_etext) - 1; in resource_init() 704 data_resource.start = __pa_symbol(&_etext); in resource_init() 705 data_resource.end = __pa_symbol(&_edata) - 1; in resource_init() [all …]
|
/linux-6.3-rc2/arch/riscv/kernel/ |
A D | setup.c | 105 code_res.start = __pa_symbol(_text); in add_kernel_resources() 106 code_res.end = __pa_symbol(_etext) - 1; in add_kernel_resources() 109 rodata_res.start = __pa_symbol(__start_rodata); in add_kernel_resources() 110 rodata_res.end = __pa_symbol(__end_rodata) - 1; in add_kernel_resources() 113 data_res.start = __pa_symbol(_data); in add_kernel_resources() 114 data_res.end = __pa_symbol(_edata) - 1; in add_kernel_resources() 117 bss_res.start = __pa_symbol(__bss_start); in add_kernel_resources() 118 bss_res.end = __pa_symbol(__bss_stop) - 1; in add_kernel_resources()
|
/linux-6.3-rc2/arch/loongarch/kernel/ |
A D | setup.c | 347 phys_addr_t start = __pa_symbol(&_text); in check_kernel_sections_mem() 348 phys_addr_t size = __pa_symbol(&_end) - start; in check_kernel_sections_mem() 383 register_nosave_region(PFN_DOWN(__pa_symbol(&__nosave_begin)), in arch_mem_init() 384 PFN_UP(__pa_symbol(&__nosave_end))); in arch_mem_init() 398 code_resource.start = __pa_symbol(&_text); in resource_init() 399 code_resource.end = __pa_symbol(&_etext) - 1; in resource_init() 400 data_resource.start = __pa_symbol(&_etext); in resource_init() 401 data_resource.end = __pa_symbol(&_edata) - 1; in resource_init() 402 bss_resource.start = __pa_symbol(&__bss_start); in resource_init() 403 bss_resource.end = __pa_symbol(&__bss_stop) - 1; in resource_init()
|
A D | mem.c | 59 memblock_reserve(__pa_symbol(&_text), in memblock_init() 60 __pa_symbol(&_end) - __pa_symbol(&_text)); in memblock_init()
|
/linux-6.3-rc2/arch/arm/mach-omap2/ |
A D | omap-mpuss-lowpower.c | 278 set_cpu_wakeup_addr(cpu, __pa_symbol(omap_pm_ops.resume)); in omap4_enter_lowpower() 332 set_cpu_wakeup_addr(cpu, __pa_symbol(omap_pm_ops.hotplug_restart)); in omap4_hotplug_cpu() 487 startup_pa = __pa_symbol(omap4_secondary_startup); in omap4_mpuss_early_init() 489 startup_pa = __pa_symbol(omap4460_secondary_startup); in omap4_mpuss_early_init() 491 startup_pa = __pa_symbol(omap5_secondary_hyp_startup); in omap4_mpuss_early_init() 493 startup_pa = __pa_symbol(omap5_secondary_startup); in omap4_mpuss_early_init()
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | setup.c | 222 memblock_reserve(__pa_symbol(_brk_start), in reserve_brk() 753 u64 start = __pa_symbol(_text); in e820_add_kernel_range() 754 u64 size = __pa_symbol(_end) - start; in e820_add_kernel_range() 779 memblock_reserve(__pa_symbol(_text), in early_reserve_memory() 959 code_resource.start = __pa_symbol(_text); in setup_arch() 960 code_resource.end = __pa_symbol(_etext)-1; in setup_arch() 962 rodata_resource.end = __pa_symbol(__end_rodata)-1; in setup_arch() 963 data_resource.start = __pa_symbol(_sdata); in setup_arch() 964 data_resource.end = __pa_symbol(_edata)-1; in setup_arch() 965 bss_resource.start = __pa_symbol(__bss_start); in setup_arch() [all …]
|
/linux-6.3-rc2/arch/mips/mti-malta/ |
A D | malta-memory.c | 29 free_init_pages("unused kernel", __pa_symbol((unsigned long *)begin), in free_init_pages_eva_malta() 30 __pa_symbol((unsigned long *)end)); in free_init_pages_eva_malta()
|
/linux-6.3-rc2/arch/arm/common/ |
A D | mcpm_entry.c | 145 unsigned long val = ptr ? __pa_symbol(ptr) : 0; in mcpm_set_entry_vector() 301 phys_reset = (phys_reset_t)(unsigned long)__pa_symbol(cpu_reset); in mcpm_cpu_power_down() 302 phys_reset(__pa_symbol(mcpm_entry_point), false); in mcpm_cpu_power_down() 390 phys_reset = (phys_reset_t)(unsigned long)__pa_symbol(cpu_reset); in nocache_trampoline() 391 phys_reset(__pa_symbol(mcpm_entry_point), false); in nocache_trampoline() 451 mcpm_power_up_setup_phys = __pa_symbol(power_up_setup); in mcpm_sync_init()
|
/linux-6.3-rc2/arch/arm64/mm/ |
A D | mmu.c | 86 fixmap_pgdp = pgd_set_fixmap(__pa_symbol(pgdp)); in set_swapper_pgd() 531 phys_addr_t kernel_start = __pa_symbol(_stext); in map_mem() 532 phys_addr_t kernel_end = __pa_symbol(__init_begin); in map_mem() 632 phys_addr_t pa_start = __pa_symbol(va_start); in map_kernel_segment() 770 u64 start = __pa_symbol(__idmap_text_start); in create_idmap() 771 u64 size = __pa_symbol(__idmap_text_end) - start; in create_idmap() 787 u64 pa = __pa_symbol(&__idmap_kpti_flag); in create_idmap() 800 pgd_t *pgdp = pgd_set_fixmap(__pa_symbol(swapper_pg_dir)); in paging_init() 813 memblock_phys_free(__pa_symbol(init_pg_dir), in paging_init() 814 __pa_symbol(init_pg_end) - __pa_symbol(init_pg_dir)); in paging_init() [all …]
|
A D | kasan_init.c | 67 __pa_symbol(kasan_early_shadow_pte) in kasan_pte_offset() 81 __pa_symbol(kasan_early_shadow_pmd) in kasan_pmd_offset() 94 __pa_symbol(kasan_early_shadow_pud) in kasan_pud_offset() 110 __pa_symbol(kasan_early_shadow_page) in kasan_pte_populate()
|
A D | init.c | 321 __pa_symbol(_end)), ULLONG_MAX); in arm64_memblock_init() 346 memblock_add(__pa_symbol(_text), (u64)(_end - _text)); in arm64_memblock_init() 402 memblock_reserve(__pa_symbol(_stext), _end - _stext); in arm64_memblock_init()
|
/linux-6.3-rc2/arch/arm64/kernel/ |
A D | setup.c | 227 kernel_code.start = __pa_symbol(_stext); in request_standard_resources() 228 kernel_code.end = __pa_symbol(__init_begin - 1); in request_standard_resources() 229 kernel_data.start = __pa_symbol(_sdata); in request_standard_resources() 230 kernel_data.end = __pa_symbol(_end - 1); in request_standard_resources() 381 init_task.thread_info.ttbr0 = phys_to_ttbr(__pa_symbol(reserved_pg_dir)); in setup_arch()
|
/linux-6.3-rc2/arch/x86/power/ |
A D | hibernate.c | 51 nosave_begin_pfn = __pa_symbol(&__nosave_begin) >> PAGE_SHIFT; in pfn_is_nosave() 52 nosave_end_pfn = PAGE_ALIGN(__pa_symbol(&__nosave_end)) >> PAGE_SHIFT; in pfn_is_nosave() 99 rdr->jump_address_phys = __pa_symbol(restore_registers); in arch_hibernation_header_save()
|
/linux-6.3-rc2/arch/arm/mach-shmobile/ |
A D | platsmp-scu.c | 24 shmobile_smp_hook(cpu, __pa_symbol(shmobile_boot_scu), in shmobile_scu_cpu_prepare() 33 shmobile_boot_fn = __pa_symbol(shmobile_smp_boot); in shmobile_smp_scu_prepare_cpus()
|
A D | platsmp-apmu.c | 150 shmobile_smp_hook(cpu, __pa_symbol(cpu_resume), 0); in shmobile_smp_apmu_do_suspend() 255 shmobile_boot_fn = __pa_symbol(shmobile_smp_boot); in shmobile_smp_apmu_setup_boot() 263 shmobile_smp_hook(cpu, __pa_symbol(shmobile_boot_apmu), 0); in shmobile_smp_apmu_boot_secondary()
|
/linux-6.3-rc2/arch/arm/mach-exynos/ |
A D | pm.c | 129 writel_relaxed(__pa_symbol(exynos_cpu_resume), in exynos_cpu_set_boot_vector() 234 unsigned long boot_addr = __pa_symbol(exynos_cpu_resume); in exynos_cpu0_enter_aftr() 322 unsigned long boot_addr = __pa_symbol(exynos_cpu_resume); in exynos_pre_enter_aftr()
|
A D | firmware.c | 40 writel_relaxed(__pa_symbol(exynos_cpu_resume_ns), in exynos_do_idle() 131 writel(__pa_symbol(exynos_cpu_resume_ns), in exynos_suspend()
|
/linux-6.3-rc2/arch/arm/mach-hisi/ |
A D | platsmp.c | 28 writel_relaxed(__pa_symbol(jump_addr), ctrl_base + ((cpu - 1) << 2)); in hi3xxx_set_cpu_jump() 121 jumpaddr = __pa_symbol(secondary_startup); in hix5hd2_boot_secondary() 159 jumpaddr = __pa_symbol(secondary_startup); in hip01_boot_secondary()
|
/linux-6.3-rc2/arch/arm/mach-tegra/ |
A D | reset.c | 92 __pa_symbol((void *)secondary_startup); in tegra_cpu_reset_handler_init() 99 __pa_symbol((void *)tegra_resume); in tegra_cpu_reset_handler_init()
|
/linux-6.3-rc2/arch/arm64/include/asm/ |
A D | mmu_context.h | 44 unsigned long ttbr = phys_to_ttbr(__pa_symbol(reserved_pg_dir)); in cpu_set_reserved_ttbr0() 173 replace_phys = (void *)__pa_symbol(idmap_cpu_replace_ttbr1); in cpu_replace_ttbr1() 218 ttbr = phys_to_ttbr(__pa_symbol(reserved_pg_dir)); in update_saved_ttbr0()
|
/linux-6.3-rc2/arch/arm/mach-socfpga/ |
A D | platsmp.c | 32 writel(__pa_symbol(secondary_startup), in socfpga_boot_secondary() 55 writel(__pa_symbol(secondary_startup), in socfpga_a10_boot_secondary()
|
/linux-6.3-rc2/arch/x86/realmode/ |
A D | init.c | 140 trampoline_header->start = __pa_symbol(startup_32_smp); in setup_real_mode() 142 trampoline_header->gdt_base = __pa_symbol(boot_gdt); in setup_real_mode()
|
/linux-6.3-rc2/arch/x86/xen/ |
A D | efi.c | 72 efi_systab_xen.fw_vendor = __pa_symbol(vendor); in xen_efi_probe() 75 efi_systab_xen.fw_vendor = __pa_symbol(L"UNKNOWN"); in xen_efi_probe()
|
/linux-6.3-rc2/arch/arm/mach-sunxi/ |
A D | platsmp.c | 83 writel(__pa_symbol(secondary_startup), in sun6i_smp_boot_secondary() 167 writel(__pa_symbol(secondary_startup), in sun8i_smp_boot_secondary()
|
/linux-6.3-rc2/arch/mips/include/asm/ |
A D | page.h | 221 #ifndef __pa_symbol 222 #define __pa_symbol(x) __phys_addr_symbol((unsigned long)(x)) macro
|