| /linux/drivers/base/firmware_loader/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 10 will first look for built-in firmware, if it has any. Next, it will 13 o firmware_class path module parameter or kernel boot param 23 You typically want this built-in (=y) but you can also enable this 25 You also want to be sure to enable this built-in if you are going to 26 enable built-in firmware (CONFIG_EXTRA_FIRMWARE). 59 kernel firmware files. Built-in firmware searches are preceded 64 in boot and cannot rely on the firmware being placed in an initrd or 67 This option is a string and takes the (space-separated) names of the 68 firmware files -- the same names that appear in MODULE_FIRMWARE() [all …]
|
| /linux/drivers/staging/greybus/ |
| H A D | bootrom.c | 1 // SPDX-License-Identifier: GPL-2.0 40 struct mutex mutex; /* Protects bootrom->fw */ 45 if (!bootrom->fw) in free_firmware() 48 release_firmware(bootrom->fw); in free_firmware() 49 bootrom->fw = NULL; in free_firmware() 57 struct device *dev = &bootrom->connection->bundle->dev; in gb_bootrom_timedout() 58 const char *reason; in gb_bootrom_timedout() local 60 switch (bootrom->next_request) { in gb_bootrom_timedout() 62 reason = "Firmware Size Request"; in gb_bootrom_timedout() 65 reason = "Get Firmware Request"; in gb_bootrom_timedout() [all …]
|
| /linux/Documentation/arch/x86/ |
| H A D | earlyprintk.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Mini-HOWTO for using the earlyprintk=dbgp boot option with a 13 [host/target] <-------> [USB debug key] <-------> [client/console] 21 the lspci -vvv output:: 23 # lspci -vvv 25 …roller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03) (prog-if 20 [EHCI]) 27 …Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisIN… 28 …Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- I… 31 Region 0: Memory at fe227000 (32-bit, non-prefetchable) [size=1K] 33 Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+) [all …]
|
| /linux/Documentation/arch/powerpc/ |
| H A D | mpc52xx.rst | 9 - U-Boot:: 16 then, on U-boot: 21 - DBug:: 26 # cp your_initrd.gz arch/ppc/boot/images/ramdisk.image.gz 31 DBug> dn -i zImage.initrd.lite5200 36 - The port is named mpc52xxx, and config options are PPC_MPC52xx. The MGT5100 40 reason. 41 - Of course, I inspired myself from the 2.4 port. If you think I forgot to
|
| /linux/arch/arm64/include/asm/ |
| H A D | cpu_ops.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 12 * struct cpu_operations - Callback operations for hotplugging CPUs. 15 * enable-method property. On systems booting with ACPI, @name 17 * the boot protocol specified in the ACPI MADT table. 18 * @cpu_init: Reads any data necessary for a specific enable-method for a 20 * @cpu_prepare: Early one-time preparation step for a cpu. If there is a 21 * mechanism for doing so, tests whether it is possible to boot 24 * @cpu_postboot: Optionally, perform any post-boot cleanup or necessary 27 * mechanism-specific information. 28 * @cpu_disable: Prepares a cpu to die. May fail for some mechanism-specific [all …]
|
| /linux/include/linux/ |
| H A D | pstore.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Persistent Storage - pstore.h 35 /* PPC64-specific partition types */ 51 * struct pstore_record - details of a pstore record entry 54 * @id: per-type unique identifier for record 61 * kfree()d by the pstore core if non-NULL 66 * @count: Oops count since boot 67 * @reason: kdump reason for notification 83 enum kmsg_dump_reason reason; member 89 * struct pstore_info - backend pstore driver structure [all …]
|
| /linux/arch/x86/include/asm/ |
| H A D | sev-common.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #define GHCB_MSR_INFO_MASK (BIT_ULL(GHCB_DATA_LOW) - 1) 86 * GHCBData[55:52] - Page operation: 147 * Use VMGEXIT_PSC_MAX_COUNT in cases where the actual GHCB-defined max value 191 /* Error codes from reason set 0 */ 197 /* Linux-specific reason codes (used with reason set 1) */ 202 #define GHCB_TERM_NOT_VMPL0 3 /* SNP guest is not running at VMPL-0 */ 203 #define GHCB_TERM_CPUID 4 /* CPUID-validation failure */ 211 #define GHCB_TERM_SAVIC_FAIL 12 /* Secure AVIC-specific failure */ 216 * GHCB-defined return codes that are communicated back to the guest via [all …]
|
| /linux/include/uapi/linux/ |
| H A D | kexec.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 /* kexec system call - It loads the new kernel to boot into. 25 * KEXEC_FILE_FORCE_DTB : Force carrying over the current boot's DTB to the new 37 * Unless there is a good reason that should continue to be the case.
|
| /linux/Documentation/devicetree/bindings/reserved-memory/ |
| H A D | ramoops.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reserved-memory/ramoops.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 recovered after a reboot. This is a child-node of "/reserved-memory", and 16 as kernel log messages, or for optional ECC error-correction data. The total 23 At least one of "record-size", "console-size", "ftrace-size", or "pmsg-size" 24 must be set non-zero, but are otherwise optional as listed below. 27 - Kees Cook <keescook@chromium.org> 30 - $ref: reserved-memory.yaml [all …]
|
| /linux/arch/x86/boot/compressed/ |
| H A D | sev.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * headers in the pre-decompression code in a way that does not break 21 #include <asm/msr-index.h> 44 #include "../../boot/startup/sev-shared.c" 117 error("SEV-ES CPU Features missing."); in sev_es_shutdown_ghcb() 139 * Mark it non-present now to catch bugs when #VC exceptions trigger in sev_es_shutdown_ghcb() 147 unsigned int reason, u64 exit_info_2) in sev_es_ghcb_terminate() argument 149 u64 exit_info_1 = SVM_VMGEXIT_TERM_REASON(set, reason); in sev_es_ghcb_terminate() 174 * guest could fail in non-obvious way making it difficult to debug. 222 * Terminate the boot if hypervisor has enabled any feature lacking in snp_check_features() [all …]
|
| /linux/Documentation/arch/arm/ |
| H A D | booting.rst | 9 The following documentation is relevant to 2.4.18-rmk6 and beyond. 11 In order to boot ARM Linux, you require a boot loader, which is a small 12 program that runs before the main kernel. The boot loader is expected 16 Essentially, the boot loader should provide (as a minimum) the 28 --------------------------- 30 Existing boot loaders: 32 New boot loaders: 35 The boot loader is expected to find and initialise all RAM that the 39 the RAM in the machine, or any other method the boot loader designer 44 ----------------------------- [all …]
|
| /linux/kernel/module/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 64 bool "Debug duplicate modules with auto-loading" 66 Module autoloading allows in-kernel code to request modules through 75 requests are non-fatal virtual memory is a limited resource and each 80 module requests to help identify if module auto-loading may be the 81 culprit to your early boot virtual memory pressure. Since virtual 84 requests for the same module to a single request. You can boot with 93 non-wait request_module() call is synchronous and waits until modprobe 94 completes. Subsequent auto-loading requests for the same module do 100 boot on systems which are failing to boot or if you suspect you may be [all …]
|
| H A D | stats.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 29 * loading failures to enable improvements either for kernel module auto-loading 64 * DOC: dup_failed_modules - tracks duplicate failed modules 77 * In practice on a typical boot today most finit_module() calls fail due to 90 * - with module decompression: 2 virtual memory allocation calls 91 * - without module decompression: 1 virtual memory allocation calls 93 * - with module decompression 3 virtual memory allocation calls 94 * - without module decompression 2 virtual memory allocation calls 98 * either in-kernel or in userspace. 134 * reason for this failure is when userspace is racing to load a module [all …]
|
| /linux/arch/arm/boot/dts/marvell/ |
| H A D | armada-370-synology-ds213j.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 * The 0xf1000000 is the default used by the recent, DT-capable, U-Boot 12 * were delivered with an older version of u-boot that left internal 14 * not be able to directly boot a kernel based on this Device Tree. In 17 * installing it from u-boot prompt) or adjust the Devive Tree 21 /dts-v1/; 23 #include <dt-bindings/input/input.h> 24 #include <dt-bindings/gpio/gpio.h> 25 #include "armada-370.dtsi" 30 "marvell,armada-370-xp"; [all …]
|
| H A D | armada-xp-synology-ds414.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 * The 0xf1000000 is the default used by the recent, DT-capable, U-Boot 12 * were delivered with an older version of u-boot that left internal 14 * not be able to directly boot a kernel based on this Device Tree. In 17 * installing it from u-boot prompt) or adjust the Devive Tree 21 /dts-v1/; 23 #include <dt-bindings/input/input.h> 24 #include <dt-bindings/gpio/gpio.h> 25 #include "armada-xp-mv78230.dtsi" 29 compatible = "synology,ds414", "marvell,armadaxp-mv78230", [all …]
|
| /linux/tools/testing/ktest/ |
| H A D | sample.conf | 54 # MIN_CONFIG = /home/test/config-test1 57 # MIN_CONFIG = /home/test/config-default 62 # /home/test/config-test-1. Then 10 tests will be executed 63 # with MIN_CONFIG with /home/test/config-default. 68 # MIN_CONFIG = /home/test/config-use-sometimes 71 # MIN_CONFIG = /home/test/config-most-times 112 # BUILD_TYPE = useconfig:${CONFIG_DIR}/config-networ [all...] |
| /linux/drivers/firmware/efi/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 42 resource, and set aside for direct-access (device-dax) by 45 device-dax kmem facility. Say N to have the kernel treat this 59 attributes during boot via EFISTUB to ensure that memory 83 memory before executing it. For compatibility with non-EFI loaders, 111 bootloader. If the string matches one of the boot labels 112 defined in its configuration, the bootloader will boot once 114 set with the reboot reason: "reboot" or "shutdown". The 115 bootloader reads this reboot reason and takes particular 129 bool "Add support for Quark capsules with non-standard headers" [all …]
|
| /linux/drivers/power/reset/ |
| H A D | at91-reset.c | 6 * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcosoft.com> 20 #include <linux/reset-controller.h> 26 #include <dt-bindings/reset/sama7g5-reset.h> 47 * enum reset_type - reset types 48 * @RESET_TYPE_GENERAL: first power-up reset 69 * struct at91_reset - AT91 reset specific data structure 97 * struct at91_reset_data - AT91 reset data 113 * killing the chance of a subsequent boot from NAND 140 : "r" (reset->ramc_base[0]), in at91_reset() 141 "r" (reset->ramc_base[1]), in at91_reset() [all …]
|
| /linux/drivers/firmware/xilinx/ |
| H A D | zynqmp.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2014-2022 Xilinx, Inc. 6 * Copyright (C) 2022 - 2025 Advanced Micro Devices, Inc. 14 #include <linux/arm-smccc.h> 28 #include <linux/firmware/xlnx-zynqmp.h> 29 #include <linux/firmware/xlnx-event-manager.h> 30 #include "zynqmp-debug.h" 37 /* BOOT_PIN_CTRL- Used to control the mode pins after boot */ 39 /* BOOT_PIN_CTRL_MASK- out_val[11:8], out_en[3:0] */ 54 * struct zynqmp_devinfo - Structure for Zynqmp device instance [all …]
|
| /linux/tools/testing/ktest/examples/include/ |
| H A D | patchcheck.conf | 10 # to end with (inclusive). This is similar to doing a git rebase -i PATCH_START~1 11 # and then testing each commit and doing a git rebase --continue. 36 PATCH_CONFIG := ${CONFIG_DIR}/config-patchcheck 41 # run some test scripts. If you just want to boot test your patches 43 PATCH_TEST := ${SSH} "/usr/local/bin/ktest-test-script" 49 PATCH_TEST_TYPE := boot 51 # If for some reason a file has a warning that one of your patches touch 110 MAKE_CMD = CC=gcc-4.5.1 make
|
| /linux/security/integrity/ima/ |
| H A D | ima_crypto.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * Calculates md5/sha1 file hash, template hash, boot-aggreate hash 41 pr_err("Can not allocate %s (reason: %ld)\n", in param_set_bufsize() 68 pr_err("Can not allocate %s (reason: %d)\n", 85 ima_sha1_idx = -1; 86 ima_hash_algo_idx = - [all...] |
| /linux/Documentation/core-api/ |
| H A D | dma-isa-lpc.rst | 12 ------------------------ 16 #include <linux/dma-mapping.h> 20 bus addresses (see Documentation/core-api/dma-api.rst for details). 28 ----------------- 37 The DMA-able address space is the lowest 16 MB of _physical_ memory. 45 allocate the memory during boot-up it's a good idea to also pass 52 ------------------- 56 thing. The reason for this is that the function isa_virt_to_bus() 66 -------- 69 8-bit transfers and the upper four are for 16-bit transfers. [all …]
|
| /linux/arch/x86/mm/ |
| H A D | pti.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * Signed-off-by: Richard Fellner <richard.fellner@student.tugraz.at> 13 * Signed-off-by: Moritz Lipp <moritz.lipp@iaik.tugraz.at> 14 * Signed-off-by: Daniel Gruss <daniel.gruss@iaik.tugraz.at> 15 * Signed-off-by: Michael Schwarz <michael.schwarz@iaik.tugraz.at> 52 * Define the page-table levels we clone for user-space on 32 61 static void __init pti_print_if_insecure(const char *reason) in pti_print_if_insecure() argument 64 pr_info("%s\n", reason); in pti_print_if_insecure() 67 static void __init pti_print_if_secure(const char *reason) in pti_print_if_secure() argument 70 pr_info("%s\n", reason); in pti_print_if_secure() [all …]
|
| /linux/drivers/misc/bcm-vk/ |
| H A D | bcm_vk_dev.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright 2018-2020 Broadcom. 7 #include <linux/dma-mapping.h> 49 {VK_IMAGE_TYPE_BOOT1, {"vk_a0-boot1.bin", "vk-boot1.bin"}}, 50 {VK_IMAGE_TYPE_BOOT2, {"vk_a0-boot2.bin", "vk-boot2.bin"}} 53 {VK_IMAGE_TYPE_BOOT1, {"vk_b0-boot1.bin", "vk-boot1.bin"}}, 54 {VK_IMAGE_TYPE_BOOT2, {"vk_b0-boot2.bin", "vk-boot2.bin"}} 58 {VK_IMAGE_TYPE_BOOT1, {"vp-boot1.bin", ""}}, 59 {VK_IMAGE_TYPE_BOOT2, {"vp-boot2.bin", ""}} 88 /* Ucode boot wait time */ [all …]
|
| /linux/Documentation/security/tpm/ |
| H A D | tpm_event_log.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 who execution is to be handed over or actions relevant to the boot 20 The main application for this is remote attestation and the reason why 54 - [1] https://trustedcomputinggroup.org/resource/pc-client-specific-platform-firmware-profile-speci… 55 - [2] The final concatenation is done in drivers/char/tpm/eventlog/efi.c
|