Lines Matching +full:armv7 +full:- +full:timer

1 // SPDX-License-Identifier: GPL-2.0-only
53 unsigned long new_size = new_vma->vm_end - new_vma->vm_start; in vdso_mremap()
57 vdso_size = (vdso_total_pages - 1) << PAGE_SHIFT; in vdso_mremap()
60 return -EINVAL; in vdso_mremap()
62 current->mm->context.vdso = new_vma->vm_start; in vdso_mremap()
79 /* Cached result of boot-time check for whether the arch timer exists,
96 np = of_find_compatible_node(NULL, NULL, "arm,armv7-timer"); in cntvct_functional()
98 np = of_find_compatible_node(NULL, NULL, "arm,armv8-timer"); in cntvct_functional()
102 if (of_property_read_bool(np, "arm,cpu-registers-not-fw-configured")) in cntvct_functional()
121 sechdrs = (void *)ehdr + ehdr->e_shoff; in find_section()
122 secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; in find_section()
125 for (i = 1; i < ehdr->e_shnum; i++) { in find_section()
142 for (i = 0; i < (lib->dynsymsize / sizeof(Elf32_Sym)); i++) { in find_symbol()
145 if (lib->dynsym[i].st_name == 0) in find_symbol()
147 strlcpy(name, lib->dynstr + lib->dynsym[i].st_name, in find_symbol()
153 return &lib->dynsym[i]; in find_symbol()
166 sym->st_name = 0; in vdso_nullpatch_one()
180 /* If the virtual counter is absent or non-functional we don't in patch_vdso()
198 return -ENOEXEC; in vdso_init()
201 text_pages = (vdso_end - vdso_start) >> PAGE_SHIFT; in vdso_init()
207 return -ENOMEM; in vdso_init()
244 /* assumes mmap_lock is write-locked */
250 mm->context.vdso = 0; in arm_install_vdso()
260 len = (vdso_total_pages - 1) << PAGE_SHIFT; in arm_install_vdso()
267 mm->context.vdso = addr; in arm_install_vdso()