/linux/Documentation/core-api/kho/bindings/memblock/ |
H A D | memblock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 7 - Mike Rapoport <rppt@kernel.org> 12 The post-KHO kernel can then consume these reservations and they are 18 - reserve-mem-v1 21 "$[0-9a-f_]+^": 22 $ref: reserve-mem.yaml# 26 - compatible 31 - | 33 compatible = "memblock-v1"; [all …]
|
H A D | reserve-mem.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 7 - Mike Rapoport <rppt@kernel.org> 17 - reserve-mem-v1 28 - compatible 29 - start 30 - size 35 - | 37 compatible = "reserve-mem-v1";
|
/linux/Documentation/core-api/kho/ |
H A D | fdt.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 10 It includes the physical address of an in-memory structure describing 17 Property ``preserved-memory-map`` 18 --------------------------------- 20 KHO saves a special property named ``preserved-memory-map`` under the root node. 21 This node contains the physical address of an in-memory structure for KHO to 25 ----------------------- 33 ---------------- 48 /dts-v1/; 51 compatible = "kho-v1"; [all …]
|
/linux/kernel/ |
H A D | kexec_handover.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * kexec_handover.c - kexec handover metadata processing 20 #include <linux/page-isolation.h> 32 #define KHO_FDT_COMPATIBLE "kho-v1" 33 #define PROP_PRESERVED_MEMORY_MAP "preserved-memory-map" 39 * KHO uses page->private, which is an unsigned long, to store page metadata. 50 static_assert(sizeof(union kho_page_info) == sizeof(((struct page *)0)->private)); 69 * The serializing side uses two levels of xarrays to manage chunks of per-order 144 return ERR_PTR(-ENOMEM); in xa_load_or_alloc() 166 min(count_trailing_zeros(pfn), ilog2(end_pfn - pfn)); in __kho_unpreserve() [all …]
|
/linux/drivers/firmware/efi/ |
H A D | efi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * efi.c - EFI subsystem 103 return -EINVAL; in parse_efi_cmdline() 136 return -EINVAL; in systab_show() 152 return str - buf; in systab_show() 181 return attr->mode; in efi_attr_is_visible() 281 return -ENOMEM; in efivar_ssdt_load() 296 ret = -ENOMEM; in efivar_ssdt_load() 304 ucs2_as_utf8(utf8_name, name, limit - 1); in efivar_ssdt_load() 308 pr_info("loading SSDT from variable %s-%pUl\n", efivar_ssdt, &guid); in efivar_ssdt_load() [all …]
|
/linux/mm/ |
H A D | memblock.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 52 * * ``memory`` - describes the physical memory available to the 55 * ``mem=`` command line parameter 56 * * ``reserved`` - describes the regions that were allocated 57 * * ``physmem`` - describes the actual physical memory available during 87 * * memblock_phys_alloc*() - these functions return the **physical** 89 * * memblock_alloc*() - these functions return the **virtual** address 158 for (i = 0, rgn = &memblock_type->regions[0]; \ 159 i < memblock_type->cnt; \ 160 i++, rgn = &memblock_type->regions[i]) [all …]
|
H A D | memcontrol.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* memcontrol.c - Memory Controller 28 #include <linux/cgroup-defs.h> 40 #include <linux/page-flags.h> 41 #include <linux/backing-dev.h> 70 #include "memcontrol-v1.h" 108 (current->flags & PF_EXITING); in task_is_dying() 116 return &memcg->vmpressure; in memcg_to_vmpressure() 146 * objcg->nr_charged_bytes can't have an arbitrary byte value. in obj_cgroup_release() 150 * 1) CPU0: objcg == stock->cached_objcg in obj_cgroup_release() [all …]
|
/linux/Documentation/admin-guide/ |
H A D | kernel-parameters.txt | 16 force -- enable ACPI if default was off 17 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 18 off -- disable ACPI if default was on 19 noirq -- do not use ACPI for IRQ routing 20 strict -- Be less tolerant of platforms that are not 22 rsdt -- prefer RSDT over (default) XSDT 23 copy_dsdt -- copy DSDT to memory 24 nocmcff -- Disable firmware first mode for corrected 28 nospcr -- disable console in ACPI SPCR table as 45 If set to vendor, prefer vendor-specific driver [all …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | pci.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. 56 /* PCI-E QCA988X V2 (Ubiquiti branded) */ 59 { PCI_VDEVICE(ATHEROS, QCA988X_2_0_DEVICE_ID) }, /* PCI-E QCA988X V2 */ 60 { PCI_VDEVICE(ATHEROS, QCA6164_2_1_DEVICE_ID) }, /* PCI-E QCA6164 V2.1 */ 61 { PCI_VDEVICE(ATHEROS, QCA6174_2_1_DEVICE_ID) }, /* PCI-E QCA6174 V2.1 */ 62 { PCI_VDEVICE(ATHEROS, QCA99X0_2_0_DEVICE_ID) }, /* PCI-E QCA99X0 V2 */ 63 { PCI_VDEVICE(ATHEROS, QCA9888_2_0_DEVICE_ID) }, /* PCI-E QCA9888 V2 */ [all …]
|
/linux/drivers/net/fddi/ |
H A D | defxx.c | 40 * Adapter Probe - 45 * Bus-Specific Initialization - 49 * initialization, the only bus-specific differences is in how the 51 * run-time critical code behaves the same on both families. 55 * Driver Open/Close - 67 * Driver Shutdown - 73 * to ensure that the adapter DMA engine is taken off-line. However, 79 * Interrupt Service Routine - 88 * have a bus-logic chip interrupt enable/disable as well as a DMA 92 * bus-logic chip and assumes that Linux will take care of clearing or [all …]
|
/linux/kernel/bpf/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Linux Socket Filter - Kernel level socket filtering 8 * Copyright (c) 2011 - 2014 PLUMgrid, http://plumgrid.com 16 * Andi Kleen - Fix a few bad bugs and races. 17 * Kris Katterjohn - Added many additional checks in bpf_check_classic() 61 #define DST regs[insn->dst_reg] 62 #define SRC regs[insn->src_reg] 67 #define OFF insn->off 68 #define IMM insn->imm 82 ptr = skb_network_header(skb) + k - SKF_NET_OFF; in bpf_internal_load_pointer_neg_helper() [all …]
|
H A D | verifier.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com 7 #include <linux/bpf-cgroup.h> 23 #include <linux/error-injection.h> 60 * The first pass is depth-first-search to check that the program is a DAG. 62 * - larger than BPF_MAXINSNS insns 63 * - if loop is present (detected via back-edge) 64 * - unreachable insns exist (shouldn't be a forest. program = one function) 65 * - out of bounds or malformed jumps 77 * All registers are 64-bit. [all …]
|
/linux/drivers/gpu/drm/amd/include/ |
H A D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 107 #define ATOM_SCALER_DISABLE 0 //For Fudo, it's bypass and auto-cengter & no replication 108 #define ATOM_SCALER_CENTER 1 //For Fudo, it's bypass and auto-center & auto replication 110 #define ATOM_SCALER_MULTI_EX 3 //For Fudo only, it's multi-tap mode only used to drive TV or CV,… 222 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 245 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 427 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 433 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 440 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di… 538 …UCHAR ucInputFlag; //Input Flags. ucInputFlag[0] - Strobe(1)/Performance(0)… [all …]
|
/linux/drivers/gpu/drm/radeon/ |
H A D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 214 UCHAR uaFirmWareSignature[4]; /*Signature to distinguish between Atombios and non-atombios, 397 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 403 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 410 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di… 504 …UCHAR ucInputFlag; //Input Flags. ucInputFlag[0] - Strobe(1)/Performance(0)… 536 #define ATOM_PLL_INPUT_FLAG_PLL_STROBE_MODE_EN 1 // 1-StrobeMode, 0-PerformanceMode 544 …bDiv; //Output:UPPER_WORD=FB_DIV_INTEGER, LOWER_WORD=FB_DIV_FRAC shl (16-FB_FRACTION_BITS) 549 … //Input : ATOM_PLL_INPUT_FLAG_PLL_STROBE_MODE_EN: 1-StrobeMode, 0-PerformanceMode 815 // Following function ENABLE sub-function will be used by driver when TMDS/HDMI/LVDS is used, disab… [all …]
|
/linux/lib/zstd/compress/ |
H A D | zstd_compress.c | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 * This source code is licensed under both the BSD-style license (found in the 9 * You may select, at your option, one of the above-listed licenses. 12 /*-************************************* 17 #include "../common/mem.h" 46 * Maximum size of the hash table dedicated to find 3-bytes matches, 57 /*-************************************* 62 * the one-pass compression functions. 75 /*-************************************* 90 … * row-based matchfinder. Unless the cdict is reloaded, we will use [all …]
|
/linux/kernel/trace/ |
H A D | trace.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2007-2012 Steven Rostedt <srostedt@redhat.com> 12 * Copyright (C) 2004-2006 Ingo Molnar 64 * A selftest will lurk into the ring-buffer to count the 66 * insertions into the ring-buffer such as trace_printk could occurred 72 * If boot-time tracing including tracers/events via kernel cmdline 126 * ftrace_dump_on_oops - variable to dump ftrace buffer on oops 262 strscpy(ftrace_dump_on_oops + 1, str, MAX_TRACER_SIZE - 1); in set_ftrace_dump_on_oops() 286 int left = sizeof(boot_snapshot_info) - boot_snapshot_index; in boot_alloc_snapshot() 292 return -1; in boot_alloc_snapshot() [all …]
|
/linux/tools/lib/bpf/ |
H A D | libbpf.c | 1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 6 * Copyright (C) 2013-2015 Alexei Starovoitov <ast@kernel.org> 71 #pragma GCC diagnostic ignored "-Wformat-nonliteral" 299 if (err != -EPERM || geteuid() != 0) in pr_perm_msg() 316 pr_warn("permission error while running as root; try raising 'ulimit - in pr_perm_msg() [all...] |