Home
last modified time | relevance | path

Searched full:early (Results 1 – 25 of 1820) sorted by relevance

12345678910>>...73

/linux/arch/loongarch/mm/
H A Dkasan_init.c17 #define __pgd_none(early, pgd) (0) argument
19 #define __pgd_none(early, pgd) (early ? (pgd_val(pgd) == 0) : \ argument
24 #define __p4d_none(early, p4d) (0) argument
26 #define __p4d_none(early, p4d) (early ? (p4d_val(p4d) == 0) : \ argument
31 #define __pud_none(early, pud) (0) argument
33 #define __pud_none(early, pud) (early ? (pud_val(pud) == 0) : \ argument
37 #define __pmd_none(early, pmd) (early ? (pmd_val(pmd) == 0) : \ argument
40 #define __pte_none(early, pte) (early ? pte_none(pte) : \ argument
116 static pte_t *__init kasan_pte_offset(pmd_t *pmdp, unsigned long addr, int node, bool early) in kasan_pte_offset() argument
118 if (__pmd_none(early, pmdp_get(pmdp))) { in kasan_pte_offset()
[all …]
/linux/arch/arm64/mm/
H A Dkasan_init.c30 * directly on kernel symbols (bm_p*d). All the early functions are called too
31 * early to use lm_alias so __p*d_populate functions must be used to populate
63 bool early) in kasan_pte_offset() argument
66 phys_addr_t pte_phys = early ? in kasan_pte_offset()
72 return early ? pte_offset_kimg(pmdp, addr) in kasan_pte_offset()
77 bool early) in kasan_pmd_offset() argument
80 phys_addr_t pmd_phys = early ? in kasan_pmd_offset()
86 return early ? pmd_offset_kimg(pudp, addr) : pmd_offset(pudp, addr); in kasan_pmd_offset()
90 bool early) in kasan_pud_offset() argument
93 phys_addr_t pud_phys = early ? in kasan_pud_offset()
[all …]
/linux/arch/sh/drivers/
H A Dplatform_early.c61 * sh_early_platform_driver_register - register early platform driver
117 * sh_early_platform_add_devices - adds a number of early platform devices
118 * @devs: array of early platform devices to add
119 * @num: number of early platform devices in array
121 * Used by early architecture code to register early platform devices and
143 * sh_early_platform_driver_register_all - register early platform drivers
144 * @class_str: string to identify early platform driver class
146 * Used by architecture code to register all early platform drivers
147 * for a certain class. If omitted then only early platform drivers
156 * Since we register our early platform drivers using early_param() in sh_early_platform_driver_register_all()
[all …]
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt14 EARLY Parameter processed too early to be embedded in initrd.
110 acpi= [HW,ACPI,X86,ARM64,RISCV64,EARLY]
135 acpi_apic_instance= [ACPI,IOAPIC,EARLY]
150 acpi_force_32bit_fadt_addr [ACPI,EARLY]
206 acpi_force_table_verification [HW,ACPI,EARLY]
207 Enable table checksum verification during early stage.
208 By default, this is disabled due to x86 early mapping
246 acpi_no_static_ssdt [HW,ACPI,EARLY]
247 Disable installation of static SSDTs at early boot time
260 acpi_rsdp= [ACPI,EFI,KEXEC,EARLY]
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_bo_evict.c68 ret = xe_bo_apply_to_pinned(xe, &xe->pinned.early.kernel_bo_present, in xe_bo_notifier_prepare_all_pinned()
69 &xe->pinned.early.kernel_bo_present, in xe_bo_notifier_prepare_all_pinned()
94 (void)xe_bo_apply_to_pinned(xe, &xe->pinned.early.kernel_bo_present, in xe_bo_notifier_unprepare_all_pinned()
95 &xe->pinned.early.kernel_bo_present, in xe_bo_notifier_unprepare_all_pinned()
187 return xe_bo_apply_to_pinned(xe, &xe->pinned.early.kernel_bo_present, in xe_bo_evict_all()
188 &xe->pinned.early.evicted, in xe_bo_evict_all()
216 * xe_bo_restore_early - restore early phase kernel BOs to VRAM
223 * This function should be called early, before trying to init the GT, on device
228 return xe_bo_apply_to_pinned(xe, &xe->pinned.early.evicted, in xe_bo_restore_early()
229 &xe->pinned.early.kernel_bo_present, in xe_bo_restore_early()
[all …]
/linux/arch/arm/include/asm/
H A Dglue-df.h19 * v4_early - ARMv4 without Thumb early abort handler
21 * v4t_early - ARMv4 with Thumb early abort handler
22 * v5t_early - ARMv5 with Thumb early abort handler
23 * v5tj_early - ARMv5 with Thumb and Java early abort handler
25 * v6_early - ARMv6 generic early abort handler
26 * v7_early - ARMv7 generic early abort handler
/linux/arch/arm/mm/
H A Dkasan_init.c44 unsigned long end, bool early) in kasan_pte_populate() argument
55 if (!early) { in kasan_pte_populate()
70 * The early shadow memory is mapping all KASan in kasan_pte_populate()
80 * Early shadow mappings are PMD_SIZE aligned, so if the in kasan_pte_populate()
94 unsigned long end, bool early) in kasan_pmd_populate() argument
106 void *p = early ? kasan_early_shadow_pte : in kasan_pmd_populate()
119 kasan_pte_populate(pmdp, addr, next, early); in kasan_pmd_populate()
124 bool early) in kasan_pgd_populate() argument
138 if (!early && pgd_none(*pgdp)) { in kasan_pgd_populate()
158 kasan_pmd_populate(pudp, addr, next, early); in kasan_pgd_populate()
[all …]
/linux/Documentation/driver-api/early-userspace/
H A Dearly_userspace_support.rst2 Early userspace support
8 "Early userspace" is a set of libraries and programs that provide
25 two ways to add an early userspace image: specify an existing cpio
32 You can create a cpio archive that contains the early userspace image.
41 The kernel build process can also build an early userspace image from
68 early userspace image can be built by an unprivileged user.
88 early userspace useful. The klibc distribution is currently
111 move to early userspace:
124 For questions and help, you can sign up for the early userspace
/linux/Documentation/driver-api/cxl/linux/
H A Dearly-boot.rst4 Linux Init (Early Boot)
7 Linux configuration is split into two major steps: Early-Boot and everything else.
9 During early boot, Linux sets up immutable resources (such as numa nodes), while
14 During Linux Early Boot stage (functions in the kernel that have the __init
24 which dictate how memory will be managed by Linux during early boot.
125 regions on NUMA nodes during early boot. However, CMA cannot reserve memory
126 on NUMA nodes that are not online during early boot. ::
135 SystemRAM in `ZONE_NORMAL` during early boot, CMA reservations per-node can be
/linux/Documentation/core-api/
H A Ddebugging-via-ohci1394.rst34 Together with a early initialization of the OHCI-1394 controller for debugging,
36 buffer on to debug early boot problems in areas like ACPI where the system
48 completed, an initialization routine which runs pretty early has been
53 Remote debugging over FireWire early on boot) and pass the parameter
54 "ohci1394_dma=early" to the recompiled kernel on boot.
89 Step-by-step instructions for using firescope with early OHCI initialization:
147 4) Prepare for debugging with early OHCI-1394 initialization:
152 (Kernel hacking: Provide code for enabling DMA over FireWire early on boot)
164 CONFIG_PROVIDE_OHCI1394_DMA_INIT enabled, with the option ohci1394_dma=early.
/linux/arch/mips/
H A DKconfig.debug4 bool "Early printk" if EXPERT
9 to print messages very early in the bootup process.
12 early before the console code is initialized. For normal operation,
22 "8250/16550 and compatible serial early printk driver"
131 occur early in the boot process of a secondary core.
144 debug information from the early stages of core startup.
/linux/drivers/firewire/
H A Dinit_ohci1394_dma.c7 * Derived from drivers/ieee1394/ohci1394.c and arch/x86/kernel/early-quirks.c
9 * - scan the PCI very early on boot for all OHCI 1394-compliant controllers
176 * to polling here because on early boot, we have no interrupts.
232 /* We had to wait and do this now if we want to debug early problems */ in init_ohci1394_reset_and_init_dma()
274 /* Poor man's PCI discovery, the only thing we can do at early boot */ in init_ohci1394_dma_on_all_controllers()
295 * setup_ohci1394_dma - enables early OHCI1394 DMA initialization
300 if (!strcmp(opt, "early")) in setup_ohci1394_dma()
305 /* passing ohci1394_dma=early on boot causes early OHCI1394 DMA initialization */
/linux/arch/nios2/
H A DKconfig.debug4 bool "Activate early kernel debugging"
9 Enable early printk on console.
11 early before the console code is initialized.
/linux/Documentation/arch/riscv/
H A Dboot.rst12 touching the early boot process. For the purposes of this document, the
13 ``early boot process`` refers to any code that runs before the final virtual
69 wins a lottery and executes the early boot code while the other harts are
105 Early Boot Requirements and Constraints
108 The RISC-V kernel's early boot process operates under the following constraints:
156 patching of early alternatives and the early parsing of the kernel command line.
/linux/tools/include/linux/
H A Dinit.h26 int early; member
29 #define __setup_param(str, unique_id, fn, early) \ argument
35 { __setup_str_##unique_id, fn, early }
/linux/arch/powerpc/mm/kasan/
H A Dinit_book3s_64.c11 * outline mode to avoid invalid access early in boot.
47 * 3) Map the 'early shadow'/zero page over iomap and vmemmap space. in kasan_init()
77 /* map the early shadow over the iomap and vmemmap space */ in kasan_init()
80 /* mark early shadow region as RO and wipe it */ in kasan_init()
/linux/arch/powerpc/kernel/
H A Disa-bridge.c106 * isa_bridge_find_early - Find and map the ISA IO space early before
108 * the arch code when adding PCI PHBs to get early
148 pr_debug("ISA bridge (early) is %pOF\n", np); in isa_bridge_find_early()
152 * isa_bridge_find_early - Find and map the ISA IO space early before
154 * the arch code when adding PCI PHBs to get early
238 /* Check if we have an early ISA device, without PCI dev */ in isa_bridge_notify()
/linux/security/
H A Dlsm_init.c21 /* Number of "early" LSMs */
381 * early_security_init - Initialize the early LSMs
391 lsm_order_append(lsm, "early"); in early_security_init()
403 * This should be called early in the kernel initialization sequence.
428 lsm_pr("enabled LSM early:%s\n", i->id->name); in security_init()
472 panic("early LSM cred alloc failed\n"); in security_init()
474 panic("early LSM task alloc failed\n"); in security_init()
478 /* skip the "early" LSMs as they have already been setup */ in security_init()
502 * security_initcall_early - Run the LSM early initcalls
506 return lsm_initcall(early); in security_initcall_early()
/linux/Documentation/mm/
H A Dhwpoison.rst62 early kill
81 Enable early kill mode globally
84 Set early/late kill mode/revert to system default
92 Early kill
116 some early filtering to avoid corrupted unintended pages in test suites.
/linux/Documentation/process/
H A D3.Early-stage.rst3 Early-stage planning
9 line of code is written. Some time spent in early planning and
71 Early discussion
75 discussions with the community before launching into implementation. Early
122 avoided with some early discussion with the kernel developers.
170 If possible, posting your plans during the early stages can only be
211 disclose its plans early in the development process. Companies with
/linux/arch/x86/kernel/
H A Didt.c60 * Early traps running on the DEFAULT_STACK because the other interrupt
216 * idt_setup_early_traps - Initialize the idt table with early traps
242 * Early traps running on the DEFAULT_STACK because the other interrupt
250 * idt_setup_early_pf - Initialize the idt table with early pagefault handler
258 * handler from the early_idt_handler_array to initialize the early page
318 * idt_setup_early_handler - Initializes the idt table with early handlers
/linux/arch/arm/mach-mvebu/
H A Dcoherency_ll.S11 * CPUs during their early boot in an SMP kernel, this why this
84 * calls. This function is used very early in the secondary
109 * calls. This function is used very early in the secondary
136 * calls. This function is used very early in the secondary
/linux/drivers/firmware/efi/
H A Dmemmap.c109 * setup and is therefore not suitable for calling during early EFI
115 * early EFI memmap should be explicitly unmapped once EFI
133 /* Did we forget to unmap the early EFI memmap? */ in efi_memmap_init_late()
142 * existing early EFI memmap. in efi_memmap_init_late()
/linux/arch/x86/boot/startup/
H A Dgdt_idt.c18 * The idt_table can't be used that early because all the code modifying it is
20 * during early CPU bringup. Also the idt_table has the runtime vectors
22 * which also hasn't happened yet in early CPU bringup.
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ring.c570 uint32_t value, result, early[3]; in amdgpu_debugfs_ring_read() local
587 early[0] = amdgpu_ring_get_rptr(ring) & ring->buf_mask; in amdgpu_debugfs_ring_read()
588 early[1] = amdgpu_ring_get_wptr(ring) & ring->buf_mask; in amdgpu_debugfs_ring_read()
589 early[2] = ring->wptr & ring->buf_mask; in amdgpu_debugfs_ring_read()
591 r = put_user(early[i], (uint32_t *)buf); in amdgpu_debugfs_ring_read()
618 p = early[0]; in amdgpu_debugfs_ring_read()
619 if (early[0] <= early[1]) in amdgpu_debugfs_ring_read()
620 size = (early[1] - early[0]); in amdgpu_debugfs_ring_read()
622 size = ring->ring_size - (early[0] - early[1]); in amdgpu_debugfs_ring_read()
625 if (p == early[1]) in amdgpu_debugfs_ring_read()

12345678910>>...73