/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 --------------------------- 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 ----------------------------- 51 The boot loader should initialise and enable one serial port on the 56 As an alternative, the boot loader can pass the relevant 'console=' [all …]
|
/linux/security/tomoyo/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 This selects TOMOYO Linux, pathname-based access control. 17 int "Default maximal count for learning mode" 23 that are automatically appended into policy at "learning mode". 25 such programs in "learning mode" dulls the system response 41 bool "Activate without calling userspace policy loader." 45 Say Y here if you want to activate access control as soon as built-in 53 enforcing mode from the beginning, you can reduce the possibility of 57 string "Location of userspace policy loader" 58 default "/sbin/tomoyo-init" [all …]
|
/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | reboot-mode.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/reboot-mode.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic reboot mode core map 10 - Andy Yan <andy.yan@rock-chips.com> 13 This driver get reboot mode arguments and call the write 18 All mode properties are vendor specific, it is a indication to tell 20 as mode-xxx = <magic> (xxx is mode name, magic should be a non-zero value). 23 - normal: Normal reboot mode, system reboot with command "reboot". [all …]
|
H A D | syscon-reboot-mode.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/power/reset/syscon-reboot-mode.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic SYSCON reboot mode driver 10 - Sebastian Reichel <sre@kernel.org> 13 This driver gets reboot mode magic value from reboot-mode driver 17 parental dt-node plus the offset. So the SYSCON reboot-mode node 18 should be represented as a sub-node of a "syscon", "simple-mfd" node. 22 const: syscon-reboot-mode [all …]
|
/linux/arch/arm64/boot/dts/apple/ |
H A D | t600x-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 11 #address-cells = <2>; 12 #size-cells = <2>; 19 #address-cells = <2>; 20 #size-cells = <0>; 22 cpu-map { 67 enable-method = "spin-table"; 68 cpu-release-addr = <0 0>; /* To be filled by loader */ 69 next-level-cache = <&l2_cache_0>; 70 i-cache-size = <0x20000>; [all …]
|
/linux/drivers/hid/intel-ish-hid/ |
H A D | ishtp-fw-loader.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ISH-TP client driver for ISH firmware loading 11 #include <linux/intel-ish-client-if.h> 23 * ISH Shim firmware loader reserves 4 Kb buffer in SRAM. The buffer is 25 * firmware loader. Reason for the odd size of 3968 bytes? Each IPC 33 * enum ish_loader_commands - ISH loader host commands. 34 * @LOADER_CMD_XFER_QUERY: Query the Shim firmware loader for 59 * Loader transfer modes: 61 * LOADER_XFER_MODE_ISHTP mode uses the existing ISH-TP mechanism to 63 * The buffer size is limited to 4 Kb by the IPC/ISH-TP protocol for [all …]
|
/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | inode.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 #include <linux/backing-dev.h> 44 return sb->s_fs_info; in spufs_get_sb_info() 56 ei->i_gang = NULL; in spufs_alloc_inode() 57 ei->i_ctx = NULL; in spufs_alloc_inode() 58 ei->i_openers = 0; in spufs_alloc_inode() 60 return &ei->vfs_inode; in spufs_alloc_inode() 73 inode_init_once(&ei->vfs_inode); in spufs_init_once() 77 spufs_new_inode(struct super_block *sb, umode_t mode) in spufs_new_inode() argument 85 inode->i_ino = get_next_ino(); in spufs_new_inode() [all …]
|
H A D | run.c | 1 // SPDX-License-Identifier: GPL-2.0 14 /* interrupt-level stop callback function. */ 17 struct spu_context *ctx = spu->ctx; in spufs_stop_callback() 30 ctx->csa.class_0_pending = spu->class_0_pending; in spufs_stop_callback() 31 ctx->csa.class_0_dar = spu->class_0_dar; in spufs_stop_callback() 34 ctx->csa.class_1_dsisr = spu->class_1_dsisr; in spufs_stop_callback() 35 ctx->csa.class_1_dar = spu->class_1_dar; in spufs_stop_callback() 45 wake_up_all(&ctx->stop_wq); in spufs_stop_callback() 58 *stat = ctx->ops->status_read(ctx); in spu_stopped() 62 * re-read the register to get the stopped value. in spu_stopped() [all …]
|
/linux/arch/arm/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 162 The ARM series is a line of low-power-consumption RISC chip designs 164 handhelds such as the Compaq IPAQ. ARM-based PCs are no longer 165 manufactured, but legacy ARM-based PC hardware remains popular in 173 relocations. The combined range is -/+ 256 MiB, which is usually 266 Patch phys-to-virt and virt-to-phys translation functions at 270 This can only be used with non-XIP MMU kernels where the base 316 bool "MMU-based Paged Memory Management Support" 319 Select if you want MMU-based virtualised addressing space 354 # This is sorted alphabetically by mach-* pathname. However, plat-* [all …]
|
/linux/Documentation/sound/ |
H A D | alsa-configuration.rst | 2 Advanced Linux Sound Architecture - Driver Configuration guide 38 ---------- 47 limiting card index for auto-loading (1-8); 49 For auto-loading more than one card, specify this option 50 together with snd-card-X aliases. 63 Module snd-pcm-oss 64 ------------------ 86 regarding opening the device. When this option is non-zero, 90 Module snd-rawmidi 91 ------------------ [all …]
|
/linux/Documentation/arch/arm64/ |
H A D | booting.rst | 13 (EL0 - EL3), with EL0, EL1 and EL2 having a secure and a non-secure 15 level and exists only in secure mode. Both are architecturally optional. 17 For the purposes of this document, we will use the term `boot loader` 23 Essentially, the boot loader should provide (as a minimum) the 33 --------------------------- 37 The boot loader is expected to find and initialise all RAM that the 41 the RAM in the machine, or any other method the boot loader designer 49 ------------------------- 53 The device tree blob (dtb) must be placed on an 8-byte boundary and must 62 ------------------------------ [all …]
|
/linux/arch/x86/realmode/rm/ |
H A D | trampoline_common.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * When a bootloader hands off to the kernel in 32-bit mode an 7 * IDT with a 2-byte limit and 4-byte base is needed. When a boot 8 * loader hands off to a kernel 64-bit mode the base address 9 * extends to 8-bytes. Reserve enough space for either scenario.
|
/linux/arch/arm/include/asm/ |
H A D | virt.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 * Flag indicating that the kernel was not entered in the same mode on every 13 * CPU. The zImage loader stashes this value in an SPSR, so we need an 23 * __boot_cpu_mode records what mode the primary CPU was booted in. 24 * A correctly-implemented bootloader must start all CPUs in the same mode: 26 * that some CPU(s) were booted in a different mode. 50 /* Reports the availability of HYP mode */
|
/linux/arch/microblaze/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 55 big endian formats. Be sure to select the appropriate mode. 105 On some architectures there is currently no way for the boot loader 107 supply some command-line options at build time by entering them 116 override those passed by the boot loader. 175 If non-zero, a jump instruction to this address, will be written
|
/linux/arch/powerpc/boot/ |
H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 27 unsigned long vmlinuz_size = _vmlinux_end - _vmlinux_start; in prep_kernel() 35 /* assume uncompressed data if -1 is returned */ in prep_kernel() 36 if (len == -1) { in prep_kernel() 81 printf("Decompressing (0x%p <- 0x%p:0x%p)...\n\r", addr, in prep_kernel() 106 * supplied by the loader. */ in prep_initrd() 108 printf("Attached initrd image at 0x%p-0x%p\n\r", in prep_initrd() 111 initrd_size = _initrd_end - _initrd_start; in prep_initrd() 113 printf("Using loader supplied ramdisk at 0x%lx-0x%lx\n\r", in prep_initrd() 135 printf("Relocating initrd 0x%lx <- 0x%p (0x%lx bytes)\n\r", in prep_initrd() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | img.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2018-2024 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 11 #include "api/dbg-tlv.h" 14 #include "error-dump.h" 67 return test_bit((__force long)api, capabilities->_api); in fw_has_api() 74 return test_bit((__force long)capa, capabilities->_capa); in fw_has_capa() 139 * enum iwl_fw_type - iwlwifi firmware type 149 * struct iwl_fw_dbg - debug data 176 * struct iwl_fw - variables associated with the firmware [all …]
|
/linux/sound/soc/sof/intel/ |
H A D | hda-loader.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 15 * Hardware interface for HDA DSP code loader 24 #include "../ipc4-priv.h" 26 #include "../sof-priv.h" 31 MODULE_PARM_DESC(persistent_cl_buffer, "Persistent Code Loader DMA buffer " 32 "(default = Y, use N to force buffer re-allocation)"); 36 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_ssp_set_cbp_cfp() 37 const struct sof_intel_dsp_desc *chip = hda->desc; in hda_ssp_set_cbp_cfp() 40 /* DSP is powered up, set all SSPs to clock consumer/codec provider mode */ in hda_ssp_set_cbp_cfp() 41 for (i = 0; i < chip->ssp_count; i++) { in hda_ssp_set_cbp_cfp() [all …]
|
/linux/sound/hda/common/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 bool "Build hwdep interface for HD-audio driver" 16 Say Y here to build a hwdep interface for HD-audio driver. 17 This interface can be used for out-of-band communication 23 Say Y here to enable the HD-audio codec re-configuration feature. 25 codec setup, add extra verbs, and re-configure the codec dynamically. 28 enables the feature just for the patch loader below. 36 Say Y here to build a digital beep interface for HD-audio 40 int "Digital beep registration mode (0=off, 1=on)" 45 Set 0 to disable the digital beep interface for HD-audio by default. [all …]
|
/linux/sound/pci/echoaudio/ |
H A D | echoaudio_dsp.c | 3 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 21 Foundation, Inc., 59 Temple Place - Suite 330, Boston, 22 MA 02111-1307, USA. 26 Translation from C++ and adaptation for use in ALSA-Driver 40 command and then write a non-zero value to the Handshake field in the 50 if (chip->comm_page->handshake) { in wait_handshake() 56 dev_err(chip->card->dev, "wait_handshake(): Timeout waiting for DSP\n"); in wait_handshake() 57 return -EBUSY; in wait_handshake() 83 dev_err(chip->card->dev, "timeout on send_vector\n"); in send_vector() 84 return -EBUSY; in send_vector() [all …]
|
/linux/arch/arm/mach-omap1/ |
H A D | mux.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Copyright (C) 2004 - 2008 Texas Instruments Inc. 7 * Copyright (C) 2003 - 2008 Nokia Corporation 13 * - W8 = ball 14 * - 1610 = 1510 or 1610, none if common for both 1510 and 1610 15 * - MMC2_DAT0 = function 21 #include <linux/soc/ti/omap1-mux.h> 24 #define PULL_DWN_CTRL_NA 0 /* No pull-down control needed */ 27 #define MUX_REG(reg, mode_offset, mode) .mux_reg_name = "FUNC_MUX_CTRL_"#reg, \ argument 30 .mask = mode, [all …]
|
/linux/drivers/net/wireless/st/cw1200/ |
H A D | hwio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Low-level API for mac80211 ST-Ericsson CW1200 drivers 5 * Copyright (c) 2010, ST-Ericsson 9 * ST-Ericsson UMAC CW1200 driver which is 10 * Copyright (c) 2010, ST-Ericsson 27 /* boot loader start address in SRAM */ 35 #define DOWNLOAD_CTRL_DATA_DWORDS (32-6) 72 /* For boot loader detection */ 99 /* WBF - SPI Register Addresses */ 105 /* 16 bits, Q mode W/R */ [all …]
|
/linux/arch/x86/boot/ |
H A D | header.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 * BIG FAT NOTE: We're in real mode using 64k segments. Therefore segment 28 BOOTSEG = 0x07C0 /* original address of boot-sector */ 45 # "MZ", MS-DOS header 70 .word section_table - optional_header # SizeOfOptionalHeader 83 .long ZO__end - ZO__data # SizeOfInitializedData 127 .long (section_table - .) / 8 # NumberOfRvaAndSizes 141 .long pecompat_fstart - salign # VirtualSize 143 .long pecompat_fstart - salign # SizeOfRawData 165 * Put the IA-32 machine type and the associated entry point address in [all …]
|
/linux/Documentation/userspace-api/ |
H A D | no_new_privs.rst | 5 The execve system call can grant a newly-started program privileges that 12 - The dynamic loader handles ``LD_*`` environment variables differently if 15 - chroot is disallowed to unprivileged processes, since it would allow 19 - The exec code has special handling for ptrace. 21 These are all ad-hoc fixes. The ``no_new_privs`` bit (since Linux 3.5) is a 37 in ``no_new_privs`` mode. (This means that setting up a general-purpose 39 interfere with LSM-based sandboxing.) 47 - Filters installed for the seccomp mode 2 sandbox persist across 48 execve and can change the behavior of newly-executed programs. 52 - By itself, ``no_new_privs`` can be used to reduce the attack surface [all …]
|
/linux/sound/firewire/bebob/ |
H A D | bebob_proc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * bebob_proc.c - a part of driver for BeBoB based devices 5 * Copyright (c) 2013-2014 Takashi Sakamoto 38 struct snd_bebob *bebob = entry->private_data; in proc_read_hw_info() 45 if (snd_bebob_read_block(bebob->unit, 0, in proc_read_hw_info() 50 (char *)&info->manufacturer); in proc_read_hw_info() 51 snd_iprintf(buffer, "Protocol Ver:\t%d\n", info->protocol_ver); in proc_read_hw_info() 52 snd_iprintf(buffer, "Build Ver:\t%d\n", info->bld_ver); in proc_read_hw_info() 54 info->guid[0], info->guid[1]); in proc_read_hw_info() 55 snd_iprintf(buffer, "Model ID:\t0x%02X\n", info->model_id); in proc_read_hw_info() [all …]
|
/linux/arch/x86/kernel/ |
H A D | kexec-bzimage64.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Kexec bzImage loader 10 #define pr_fmt(fmt) "kexec-bzImage64: " fmt 29 #include <asm/kexec-bzimage64.h> 31 #define MAX_ELFCOREHDR_STR_LEN 30 /* elfcorehdr=0x<64bit-value> */ 32 #define MAX_DMCRYPTKEYS_STR_LEN 31 /* dmcryptkeys=0x<64bit-value> */ 37 * exactly these limits came from. Current bzimage64 loader in kexec-tools 47 * This is a place holder for all boot loader specific data structure which 62 params->hdr.ramdisk_image = initrd_load_addr & 0xffffffffUL; in setup_initrd() 63 params->hdr.ramdisk_size = initrd_len & 0xffffffffUL; in setup_initrd() [all …]
|