Lines Matching +full:fiq +full:- +full:based

1 // SPDX-License-Identifier: GPL-2.0-only
3 * Based on arch/arm/kernel/setup.c
5 * Copyright (C) 1995-2001 Russell King
102 * smp_build_mpidr_hash - Pre-compute shifts required at each affinity
112 * Pre-scan the list of MPIDRS and filter out bits that do in smp_build_mpidr_hash()
130 fs[i] = affinity ? ffs(affinity) - 1 : 0; in smp_build_mpidr_hash()
131 bits[i] = ls - fs[i]; in smp_build_mpidr_hash()
144 mpidr_hash.shift_aff[1] = MPIDR_LEVEL_SHIFT(1) + fs[1] - bits[0]; in smp_build_mpidr_hash()
145 mpidr_hash.shift_aff[2] = MPIDR_LEVEL_SHIFT(2) + fs[2] - in smp_build_mpidr_hash()
148 fs[3] - (bits[2] + bits[1] + bits[0]); in smp_build_mpidr_hash()
193 "The dtb must be 8-byte aligned and must not exceed 2 MB in size\n" in setup_machine_fdt()
200 * or else we could end-up printing non-initialized data, etc. in setup_machine_fdt()
206 /* Early fixups are done, map the FDT as read-only now */ in setup_machine_fdt()
225 kernel_code.end = __pa_symbol(__init_begin - 1); in request_standard_resources()
227 kernel_data.end = __pa_symbol(_end - 1); in request_standard_resources()
240 res->name = "reserved"; in request_standard_resources()
241 res->flags = IORESOURCE_MEM; in request_standard_resources()
242 res->start = __pfn_to_phys(memblock_region_reserved_base_pfn(region)); in request_standard_resources()
243 res->end = __pfn_to_phys(memblock_region_reserved_end_pfn(region)) - 1; in request_standard_resources()
245 res->name = "System RAM"; in request_standard_resources()
246 res->flags = IORESOURCE_SYSTEM_RAM | IORESOURCE_BUSY; in request_standard_resources()
247 res->start = __pfn_to_phys(memblock_region_memory_base_pfn(region)); in request_standard_resources()
248 res->end = __pfn_to_phys(memblock_region_memory_end_pfn(region)) - 1; in request_standard_resources()
263 if (!memblock_is_region_reserved(mem->start, mem_size)) in reserve_memblock_reserved_regions()
269 start = max(PFN_PHYS(PFN_DOWN(r_start)), mem->start); in reserve_memblock_reserved_regions()
270 end = min(PFN_PHYS(PFN_UP(r_end)) - 1, mem->end); in reserve_memblock_reserved_regions()
272 if (start > mem->end || end < mem->start) in reserve_memblock_reserved_regions()
283 u64 __cpu_logical_map[NR_CPUS] = { [0 ... NR_CPUS-1] = INVALID_HWID };
297 * If know now we are going to need KPTI then use non-global in setup_arch()
316 * Unmask asynchronous aborts and fiq after bringing up possible in setup_arch()
340 /* Parse the ACPI tables for possible boot-time configuration */ in setup_arch()
376 pr_err("WARNING: x1-x3 nonzero in violation of boot protocol:\n" in setup_arch()
388 if (ops && ops->cpu_can_disable) in cpu_can_disable()
389 return ops->cpu_can_disable(cpu); in cpu_can_disable()
400 cpu->hotpluggable = cpu_can_disable(i); in topology_init()