Lines Matching +full:fiq +full:- +full:index
1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 1995-2001 Russell King
105 * smp_build_mpidr_hash - Pre-compute shifts required at each affinity
106 * level in order to build a linear index from an
115 * Pre-scan the list of MPIDRS and filter out bits that do in smp_build_mpidr_hash()
133 fs[i] = affinity ? ffs(affinity) - 1 : 0; in smp_build_mpidr_hash()
134 bits[i] = ls - fs[i]; in smp_build_mpidr_hash()
137 * An index can be created from the MPIDR_EL1 by isolating the in smp_build_mpidr_hash()
147 mpidr_hash.shift_aff[1] = MPIDR_LEVEL_SHIFT(1) + fs[1] - bits[0]; in smp_build_mpidr_hash()
148 mpidr_hash.shift_aff[2] = MPIDR_LEVEL_SHIFT(2) + fs[2] - in smp_build_mpidr_hash()
151 fs[3] - (bits[2] + bits[1] + bits[0]); in smp_build_mpidr_hash()
196 "The dtb must be 8-byte aligned and must not exceed 2 MB in size\n" in setup_machine_fdt()
203 * or else we could end-up printing non-initialized data, etc. in setup_machine_fdt()
209 /* Early fixups are done, map the FDT as read-only now */ in setup_machine_fdt()
228 kernel_code.end = __pa_symbol(__init_begin - 1); in request_standard_resources()
230 kernel_data.end = __pa_symbol(_end - 1); in request_standard_resources()
243 res->name = "reserved"; in request_standard_resources()
244 res->flags = IORESOURCE_MEM; in request_standard_resources()
245 res->start = __pfn_to_phys(memblock_region_reserved_base_pfn(region)); in request_standard_resources()
246 res->end = __pfn_to_phys(memblock_region_reserved_end_pfn(region)) - 1; in request_standard_resources()
248 res->name = "System RAM"; in request_standard_resources()
249 res->flags = IORESOURCE_SYSTEM_RAM | IORESOURCE_BUSY; in request_standard_resources()
250 res->start = __pfn_to_phys(memblock_region_memory_base_pfn(region)); in request_standard_resources()
251 res->end = __pfn_to_phys(memblock_region_memory_end_pfn(region)) - 1; in request_standard_resources()
266 if (!memblock_is_region_reserved(mem->start, mem_size)) in reserve_memblock_reserved_regions()
272 start = max(PFN_PHYS(PFN_DOWN(r_start)), mem->start); in reserve_memblock_reserved_regions()
273 end = min(PFN_PHYS(PFN_UP(r_end)) - 1, mem->end); in reserve_memblock_reserved_regions()
275 if (start > mem->end || end < mem->start) in reserve_memblock_reserved_regions()
286 u64 __cpu_logical_map[NR_CPUS] = { [0 ... NR_CPUS-1] = INVALID_HWID };
302 * If know now we are going to need KPTI then use non-global in setup_arch()
323 * Unmask asynchronous aborts and fiq after bringing up possible in setup_arch()
351 /* Parse the ACPI tables for possible boot-time configuration */ in setup_arch()
387 pr_err("WARNING: x1-x3 nonzero in violation of boot protocol:\n" in setup_arch()
399 if (ops && ops->cpu_can_disable) in cpu_can_disable()
400 return ops->cpu_can_disable(cpu); in cpu_can_disable()
447 panic("Non-EFI boot detected with MMU and caches enabled"); in check_mmu_enabled_at_boot()