/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 --- 4 title: Memblock reserved memory 7 - Mike Rapoport <rppt@kernel.org> 10 Memblock can serialize its current memory reservations created with 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 [all …]
|
H A D | reserve-mem.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 title: Memblock reserved memory regions 7 - Mike Rapoport <rppt@kernel.org> 10 Memblock can serialize its current memory reservations created with 17 - reserve-mem-v1 28 - compatible 29 - start 30 - size 35 - | [all …]
|
/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/Documentation/core-api/kho/bindings/ |
H A D | kho.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 7 - Mike Rapoport <rppt@kernel.org> 8 - Changyuan Lyu <changyuanl@google.com> 16 - kho-v1 18 preserved-memory-map: 20 physical address (u64) of an in-memory structure describing all preserved 24 "$[0-9a-f_]+^": 25 $ref: sub-fdt.yaml# 29 - compatible [all …]
|
/linux/mm/ |
H A D | memblock.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 #include <linux/memblock.h> 43 * DOC: memblock overview 45 * Memblock is a method of managing memory regions during the early 49 * Memblock views the system memory as collections of contiguous 52 * * ``memory`` - describes the physical memory available to the 56 * * ``reserved`` - describes the regions that were allocated 57 * * ``physmem`` - describes the actual physical memory available during 66 * wrapped with struct memblock. This structure is statically 76 * The early architecture setup should tell memblock what the physical [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 12 # the same word but accesses to different bits of that word. Re-enable KCSAN 20 # These files are disabled because they produce non-interesting and/or 26 KCOV_INSTRUMENT_debug-pagealloc.o := n 29 KCOV_INSTRUMENT_memcontrol-v1.o := n 34 CFLAGS_init-mm.o += -Wno-override-init 36 mmu-y := nommu.o 37 mmu-$(CONFIG_MMU) := highmem.o memory.o mincore.o \ 40 pgtable-generic.o rmap.o vmalloc.o vma.o vma_exec.o 44 mmu-$(CONFIG_MMU) += process_vm_access.o [all …]
|
/linux/arch/alpha/kernel/ |
H A D | core_irongate.c | 1 // SPDX-License-Identifier: GPL-2.0 23 #include <linux/memblock.h> 33 * BIOS32-style PCI interface: 73 * The function number selects which function of a multi-function device 86 u8 bus = pbus->number; in mk_conf_addr() 171 IRONGATE_jd = IRONGATE0->stat_cmd; in irongate_pci_clr_err() 173 IRONGATE0->stat_cmd = IRONGATE_jd; /* write again clears error bits */ in irongate_pci_clr_err() 175 IRONGATE_jd = IRONGATE0->stat_cmd; /* re-read to force write */ in irongate_pci_clr_err() 181 IRONGATE_jd = *IronECC; /* re-read to force write */ in irongate_pci_clr_err() 209 cpu = (struct percpu_struct*)((char*)hwrpb + hwrpb->processor_offset); in albacore_init_arch() [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 18 #include <linux/memblock.h> 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() [all …]
|
/linux/drivers/xen/ |
H A D | grant-table.c | 6 * Copyright (c) 2005-2006, Christopher Clark 7 * Copyright (c) 2004-2005, K A Fraser 37 #include <linux/memblock.h> 50 #include <linux/dma-mapping.h> 58 #include <xen/hvc-console.h> 59 #include <xen/swiotlb-xen.h> 64 #include <xen/mem-reservation.h> 105 struct grant_entry_v1 *v1; member 176 /* This can be used as an l-value */ 188 ((rc = gnttab_expand(count - gnttab_free_count)) < 0)) { in get_free_entries() [all …]
|
/linux/drivers/pci/controller/ |
H A D | pci-xgene.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * APM X-Gene PCIe Driver 13 #include <linux/memblock.h> 20 #include <linux/pci-acpi.h> 21 #include <linux/pci-ecam.h> 73 return readl(port->csr_base + reg); in xgene_pcie_readl() 78 writel(val, port->csr_base + reg); in xgene_pcie_writel() 91 return (struct xgene_pcie *)(bus->sysdata); in pcie_bus_to_port() 93 cfg = bus->sysdata; in pcie_bus_to_port() 94 return (struct xgene_pcie *)(cfg->priv); in pcie_bus_to_port() [all …]
|
/linux/arch/x86/kernel/ |
H A D | mpparse.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * compliant MP-table parsing routines. 14 #include <linux/memblock.h> 45 while (len--) in mpf_checksum() 55 topology_register_apic(m->apicid, CPU_ACPIID_INVALID, m->cpuflag & CPU_ENABLED); in MP_processor_info() 56 if (!(m->cpuflag & CPU_ENABLED)) in MP_processor_info() 59 if (m->cpuflag & CPU_BOOTPROCESSOR) in MP_processor_info() 60 bootup_cpu = " (Bootup-CPU)"; in MP_processor_info() 62 pr_info("Processor #%d%s\n", m->apicid, bootup_cpu); in MP_processor_info() 69 memcpy(str, m->bustype, 6); in mpc_oem_bus_info() [all …]
|
H A D | smpboot.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 * Pentium Pro and Pentium-II/Xeon MP machines. 19 * Alan Cox : By repeated request 8) - Total BogoMIPS report. 21 * Erich Boleyn : MP v1.4 and additional changes. 32 * Martin J. Bligh : Added support for multi-quad systems 50 #include <linux/memblock.h> 86 #include <asm/intel-family.h> 88 #include <asm/spec-ctrl.h> 92 #include <asm/spec-ctrl.h> 164 if (!--smpboot_warm_reset_vector_count) { in smpboot_restore_warm_reset_vector() [all …]
|
/linux/arch/x86/kernel/acpi/ |
H A D | boot.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * boot.c - Architecture-Specific Low-Level ACPI Boot Support 19 #include <linux/memblock.h> 22 #include <linux/efi-bgrt.h> 76 * ->device_hotplug_lock 77 * ->acpi_ioapic_lock 78 * ->ioapic_lock 80 * ->acpi_ioapic_lock 81 * ->ioapic_mutex 82 * ->ioapic_lock [all …]
|
/linux/drivers/firmware/efi/ |
H A D | efi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * efi.c - EFI subsystem 33 #include <linux/memblock.h> 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() [all …]
|
/linux/arch/arm/mach-omap2/ |
H A D | omap_hwmod.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2011 Nokia Corporation 6 * Copyright (C) 2011-2012 Texas Instruments, Inc. 15 * ------------ 21 * TI's documentation, on-chip devices are referred to as "OMAP 26 * Most of the address and data flow between modules is via OCP-based 32 * OMAP hwmod provides a consistent way to describe the on-chip 42 * ----------- 54 * +-------------------------------+ 57 * +-------------------------------+ [all …]
|
/linux/arch/x86/coco/sev/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/percpu-defs.h> 18 #include <linux/memblock.h> 25 #include <linux/psp-sev.h> 27 #include <uapi/linux/sev-guest.h> 34 #include <asm/sev-internal.h> 35 #include <asm/insn-eval.h> 109 [MSR_AMD64_SEV_ES_ENABLED_BIT] = "SEV-ES", 110 [MSR_AMD64_SEV_SNP_ENABLED_BIT] = "SEV-SNP", 142 * non-zero. The VMPL is therefore used to indicate the presence of an SVSM. [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/ |
H A D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 46 N: [^a-z]tegra all files whose path contains tegra 64 ---------------- 83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 85 L: linux-scsi@vger.kernel.org 88 F: drivers/scsi/3w-* [all …]
|