/linux-5.10/Documentation/devicetree/bindings/power/ |
D | power_domain.txt | 5 current. 12 #power-domain-cells property in the PM domain provider node. 16 See power-domain.yaml. 21 - power-domains : A list of PM domain specifiers, as defined by bindings of 25 - power-domain-names : A list of power domain name strings sorted in the same 26 order as the power-domains property. Consumers drivers will use 27 power-domain-names to match power domains with power-domains 32 leaky-device@12350000 { 33 compatible = "foo,i-leak-current"; 35 power-domains = <&power 0>; [all …]
|
D | qcom,rpmpd.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rajendra Nayak <rnayak@codeaurora.org> 19 - qcom,msm8976-rpmpd 20 - qcom,msm8996-rpmpd 21 - qcom,msm8998-rpmpd 22 - qcom,qcs404-rpmpd 23 - qcom,sc7180-rpmhpd 24 - qcom,sdm845-rpmhpd [all …]
|
/linux-5.10/tools/testing/selftests/powerpc/tm/ |
D | tm-poison.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * present child's poison will leak into parent's f31 or vr31 registers, 12 * otherwise, poison will never leak into parent's f31 and vr31 registers. 74 * The Time Base (TB) is a 64-bit counter register that is in tm_poison_test() 81 * to r6. When r7 (current) - r6 (initial) > 61440000000 we bail in tm_poison_test() 90 "1: mfspr 7, 268 ;" // r7 (TB current) in tm_poison_test() 91 " subf 7, 6, 7 ;" // r7 - r6 > 61440000000 ? in tm_poison_test() 102 " bne 2f ;" // broken :-( in tm_poison_test() 114 * On leak 'unknown' will contain 'poison' value from child, in tm_poison_test() 115 * otherwise (no leak) 'unknown' will contain the same value in tm_poison_test() [all …]
|
/linux-5.10/drivers/of/ |
D | unittest.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #define pr_fmt(fmt) "### dt-test ### " fmt 10 #include <linux/dma-direct.h> /* to test phys_to_dma/dma_to_phys */ 27 #include <linux/i2c-mux.h> 43 pr_err("FAIL %s():%i " fmt, __func__, __LINE__, ##__VA_ARGS__); \ 46 pr_debug("pass %s():%i\n", __func__, __LINE__); \ 53 * Print the expected message only if the current loglevel will allow 70 np = of_find_node_by_path("/testcase-data"); in of_unittest_find_node_by_name() 72 unittest(np && !strcmp("/testcase-data", name), in of_unittest_find_node_by_name() 73 "find /testcase-data failed\n"); in of_unittest_find_node_by_name() [all …]
|
/linux-5.10/fs/ocfs2/ |
D | buffer_head_io.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* -*- mode: c; c-basic-offset: 8; -*- 29 * Bits on bh->b_state used by ocfs2. 45 trace_ocfs2_write_block((unsigned long long)bh->b_blocknr, ci); in ocfs2_write_block() 47 BUG_ON(bh->b_blocknr < OCFS2_SUPER_BLOCK_BLKNO); in ocfs2_write_block() 52 * can get modified during recovery even if read-only. */ in ocfs2_write_block() 54 ret = -EROFS; in ocfs2_write_block() 64 /* remove from dirty list before I/O. */ in ocfs2_write_block() 68 bh->b_end_io = end_buffer_write_sync; in ocfs2_write_block() 79 ret = -EIO; in ocfs2_write_block() [all …]
|
/linux-5.10/kernel/trace/ |
D | trace_event_perf.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2009-2010 Frederic Weisbecker <fweisbec@gmail.com> 32 if (tp_event->perf_perm) { in perf_trace_event_perm() 33 ret = tp_event->perf_perm(tp_event, p_event); in perf_trace_event_perm() 42 if (p_event->parent) in perf_trace_event_perm() 46 * It's ok to check current process (owner) permissions in here, in perf_trace_event_perm() 52 ret = perf_allow_tracepoint(&p_event->attr); in perf_trace_event_perm() 64 if (!p_event->attr.exclude_callchain_user) in perf_trace_event_perm() 65 return -EINVAL; in perf_trace_event_perm() 71 if (p_event->attr.sample_type & PERF_SAMPLE_STACK_USER) in perf_trace_event_perm() [all …]
|
/linux-5.10/mm/ |
D | kmemleak.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Documentation/dev-tools/kmemleak.rst. 12 * ---------------- 16 * - kmemleak_lock (raw_spinlock_t): protects the object_list modifications and 19 * blocks. The object_tree_root is a red black tree used to look-up 25 * - kmemleak_object.lock (raw_spinlock_t): protects a kmemleak_object. 32 * - scan_mutex (mutex): ensures that only one thread may scan the memory for 45 * scan_mutex [-> object->lock] -> kmemleak_lock -> other_object->lock (SINGLE_DEPTH_NESTING) 47 * No kmemleak_lock and object->lock nesting is allowed outside scan_mutex 127 #define KMEMLEAK_BLACK -1 [all …]
|
/linux-5.10/kernel/rcu/ |
D | srcutree.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Sleepable Read-Copy Update mechanism for mutual exclusion. 11 * For detailed explanation of Read-Copy Update mechanism see - 32 /* Holdoff in nanoseconds for auto-expediting. */ 37 /* Overflow-check frequency. N bits roughly says every 2**N grace periods. */ 41 /* Early-boot callback-management, so early that no lock is required! */ 81 * is set, don't initialize ->srcu_lock_count[] and ->srcu_unlock_count[]. 86 int i; in init_srcu_struct_nodes() local 94 ssp->level[0] = &ssp->node[0]; in init_srcu_struct_nodes() 95 for (i = 1; i < rcu_num_lvls; i++) in init_srcu_struct_nodes() [all …]
|
/linux-5.10/Documentation/ide/ |
D | ChangeLog.ide-cd.1994-2004 | 2 * 1.00 Oct 31, 1994 -- Initial version. 3 * 1.01 Nov 2, 1994 -- Fixed problem with starting request in 5 * 1.03 Nov 25, 1994 -- leaving unmask_intr[] as a user-setting (as for disks) 6 * (from mlord) -- minor changes to cdrom_setup() 7 * -- renamed ide_dev_s to ide_drive_t, enable irq on command 8 * 2.00 Nov 27, 1994 -- Generalize packet command interface; 10 * 2.01 Dec 3, 1994 -- Rework packet command interface to handle devices 12 * 2.02 Dec 11, 1994 -- Cache the TOC in the driver. 14 * in the current version of ATAPI. 18 * 2.03 Jan 10, 1995 -- Rewrite block read routines to handle block sizes [all …]
|
/linux-5.10/tools/perf/tests/ |
D | dso-data.c | 1 // SPDX-License-Identifier: GPL-2.0 20 #define TEMPL "/tmp/perf-test-XXXXXX" in test_file() 23 int fd, i; in test_file() local 41 for (i = 0; i < size; i++) in test_file() 42 buf[i] = (unsigned char) ((int) i % 10); in test_file() 75 .offset = DSO__DATA_CACHE_SIZE - DSO__DATA_CACHE_SIZE % 10, 81 .offset = DSO__DATA_CACHE_SIZE - DSO__DATA_CACHE_SIZE % 10, 87 .offset = TEST_FILE_SIZE - 10, 93 .offset = TEST_FILE_SIZE - 10, 99 .offset = TEST_FILE_SIZE - 3, [all …]
|
/linux-5.10/drivers/infiniband/core/ |
D | restrack.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 3 * Copyright (c) 2017-2018 Mellanox Technologies. All rights reserved. 18 * rdma_restrack_init() - initialize and allocate resource tracking 26 int i; in rdma_restrack_init() local 28 dev->res = kcalloc(RDMA_RESTRACK_MAX, sizeof(*rt), GFP_KERNEL); in rdma_restrack_init() 29 if (!dev->res) in rdma_restrack_init() 30 return -ENOMEM; in rdma_restrack_init() 32 rt = dev->res; in rdma_restrack_init() 34 for (i = 0; i < RDMA_RESTRACK_MAX; i++) in rdma_restrack_init() 35 xa_init_flags(&rt[i].xa, XA_FLAGS_ALLOC); in rdma_restrack_init() [all …]
|
/linux-5.10/drivers/irqchip/ |
D | irq-gic-v4.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/irqchip/arm-gic-v4.h> 22 * core GIC code (that would in turn leak into the hypervisor code), 25 * agnostic actually means KVM-specific - what were you thinking?). 30 * - Any guest-visible VLPI is backed by a Linux interrupt (and a 36 * - Enabling/disabling a VLPI is done by issuing mask/unmask calls. 38 * - Guest INT/CLEAR commands are implemented through 41 * - The *bizarre* stuff (mapping/unmapping an interrupt to a VLPI, or 61 * interrupts which are delivered when a VLPI targeting a non-running 70 * - VMs (or rather the VM abstraction that matters to the GIC) [all …]
|
/linux-5.10/arch/ia64/kernel/ |
D | fsys.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * This file contains the light-weight system call handlers (fsyscall-handlers). 5 * Copyright (C) 2003 Hewlett-Packard Co 6 * David Mosberger-Tang <davidm@hpl.hp.com> 8 * 25-Sep-03 davidm Implement fsys_rt_sigprocmask(). 9 * 18-Feb-03 louisk Implement fsys_gettimeofday(). 10 * 28-Feb-03 davidm Fixed several bugs in fsys_gettimeofday(). Tuned it some more, 11 * probably broke it along the way... ;-) 12 * 13-Jul-04 clameter Implement fsys_clock_gettime and revise fsys_gettimeofday to make 14 * 08-Feb-07 Fenghua Yu Implement fsys_getcpu. [all …]
|
D | process.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Architecture-specific setup. 5 * Copyright (C) 1998-2003 Hewlett-Packard Co 6 * David Mosberger-Tang <davidm@hpl.hp.com> 9 * 2005-10-07 Keith Owens <kaos@sgi.com> 99 unsigned long ip = regs->cr_iip + ia64_psr(regs)->ri; in show_regs() 105 regs->cr_ipsr, regs->cr_ifs, ip, print_tainted(), in show_regs() 106 init_utsname()->release); in show_regs() 109 regs->ar_unat, regs->ar_pfs, regs->ar_rsc); in show_regs() 111 regs->ar_rnat, regs->ar_bspstore, regs->pr); in show_regs() [all …]
|
/linux-5.10/arch/x86/kernel/cpu/ |
D | bugs.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * - Rafael R. Reilova (moved everything from head.S), 8 * - Channing Corn (tests & fixes), 9 * - Andrew D. Balsa (code cleanup). 20 #include <asm/spec-ctrl.h> 24 #include <asm/processor-flags.h> 31 #include <asm/intel-family.h> 116 * As MDS and TAA mitigations are inter-related, print MDS in check_bugs() 127 * - i386 is no longer supported. in check_bugs() 128 * - In order to run on anything without a TSC, we need to be in check_bugs() [all …]
|
/linux-5.10/drivers/oprofile/ |
D | buffer_sync.c | 4 * @remark Copyright 2002-2009 OProfile authors 62 list_add(&task->tasks, &dying_tasks); in task_free_notify() 74 /* To avoid latency problems, we only process the current CPU, in task_exit_notify() 91 struct mm_struct *mm = current->mm; in munmap_notify() 97 if (mpnt && mpnt->vm_file && (mpnt->vm_flags & VM_EXEC)) { in munmap_notify() 99 /* To avoid latency problems, we only process the current CPU, in munmap_notify() 149 /* make sure we don't leak task structs */ in free_all_tasks() 159 return -ENOMEM; in sync_start() 215 if (path->dentry->d_flags & DCACHE_COOKIE) in fast_get_dcookie() 216 return (unsigned long)path->dentry; in fast_get_dcookie() [all …]
|
/linux-5.10/arch/parisc/include/asm/ |
D | elf.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 28 #define EFA_PARISC_1_0 0x020b /* PA-RISC 1.0 big-endian. */ 29 #define EFA_PARISC_1_1 0x0210 /* PA-RISC 1.1 big-endian. */ 30 #define EFA_PARISC_2_0 0x0214 /* PA-RISC 2.0 big-endian. */ 60 #define R_PARISC_DIR32 1 /* Direct 32-bit reference. */ 65 #define R_PARISC_PCREL32 9 /* 32-bit rel. address. */ 72 #define R_PARISC_GPREL21L 26 /* GP-relative, left 21 bits. */ 73 #define R_PARISC_GPREL14R 30 /* GP-relative, right 14 bits. */ 74 #define R_PARISC_LTOFF21L 34 /* LT-relative, left 21 bits. */ 75 #define R_PARISC_LTOFF14R 38 /* LT-relative, right 14 bits. */ [all …]
|
/linux-5.10/Documentation/virt/kvm/ |
D | timekeeping.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Timekeeping Virtualization for X86-Based Architectures 32 information relevant to KVM and hardware-based virtualization. 41 2.1. i8254 - PIT 42 ---------------- 46 channels which can be programmed to deliver periodic or one-shot interrupts. 53 The PIT uses I/O ports 0x40 - 0x43. Access to the 16-bit counters is done 54 using single or multiple byte access to the I/O ports. There are 6 modes 59 -------------- ---------------- 61 | 1.1932 MHz|---------->| CLOCK OUT | ---------> IRQ 0 [all …]
|
/linux-5.10/Documentation/admin-guide/hw-vuln/ |
D | l1tf.rst | 1 L1TF - L1 Terminal Fault 10 ------------------- 15 - Processors from AMD, Centaur and other non Intel vendors 17 - Older processor models, where the CPU family is < 6 19 - A range of Intel ATOM processors (Cedarview, Cloverview, Lincroft, 22 - The Intel XEON PHI family 24 - Intel processors which have the ARCH_CAP_RDCL_NO bit set in the 33 ------------ 38 CVE-2018-3615 L1 Terminal Fault SGX related aspects 39 CVE-2018-3620 L1 Terminal Fault OS, SMM related aspects [all …]
|
/linux-5.10/scripts/dtc/ |
D | srcpos.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 31 int len = slash - path; in get_dirname() 49 int i, len = strlen(fname); in set_initial_path() local 53 for (i = 0; i != len; i++) in set_initial_path() 54 if (initial_path[i] == '/') in set_initial_path() 73 int diff = initial_pathlen - slashes, i, j; in shorten_to_initial_path() local 74 int restlen = strlen(fname) - (p1 - fname); in shorten_to_initial_path() 78 for (i = 0, j = 0; i != diff; i++) { in shorten_to_initial_path() 133 /* Try current directory first */ in fopen_any_on_path() 136 cur_dir = current_srcfile->dir; in fopen_any_on_path() [all …]
|
/linux-5.10/include/linux/ |
D | refcount.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * counter and causing 'spurious' use-after-free issues. In order to avoid the 23 * +--------------------------------+----------------+----------------+ 24 * <---------- bad value! ----------> 44 * With the current PID limit, if no batched refcounting operations are used and 50 * (UINT_MAX+1-REFCOUNT_SATURATED) / PID_MAX_LIMIT = 55 * given the precise timing details involved with the round-robin scheduling of 82 * because the 1->0 transition indicates no concurrency. 104 * struct refcount_t - variant of atomic_t specialized for reference counts 109 * use-after-free bugs. [all …]
|
/linux-5.10/kernel/ |
D | scftorture.c | 1 // SPDX-License-Identifier: GPL-2.0+ 57 torture_param(int, nthreads, -1, "# threads, defaults to -1 for all CPUs."); 65 torture_param(int, weight_single, -1, "Testing weight for single-CPU no-wait operations."); 66 torture_param(int, weight_single_wait, -1, "Testing weight for single-CPU operations."); 67 torture_param(int, weight_many, -1, "Testing weight for multi-CPU no-wait operations."); 68 torture_param(int, weight_many_wait, -1, "Testing weight for multi-CPU operations."); 69 torture_param(int, weight_all, -1, "Testing weight for all-CPU no-wait operations."); 70 torture_param(int, weight_all_wait, -1, "Testing weight for all-CPU operations."); 103 #define SCF_NPRIMS (2 * 3) // Need wait and no-wait versions of each. 124 int scfc_cpu; // -1 for not _single(). [all …]
|
/linux-5.10/Documentation/scsi/ |
D | ChangeLog.megaraid_sas | 1 Release Date : Thu. Jun 19, 2014 17:00:00 PST 2014 - 2 (emaild-id:megaraidlinux@lsi.com) 7 Current Version : 06.803.02.00-rc1 8 Old Version : 06.803.01.00-rc1 9 1. Fix reset_mutex leak in megasas_reset_fusion(). 14 ------------------------------------------------------------------------------- 15 Release Date : Mon. Mar 10, 2014 17:00:00 PST 2014 - 16 (emaild-id:megaraidlinux@lsi.com) 20 Current Version : 06.803.01.00-rc1 21 Old Version : 06.700.06.00-rc1 [all …]
|
/linux-5.10/drivers/dma/ |
D | uniphier-mdmac.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/dma-mapping.h> 20 #include "virt-dma.h" 26 /* per-channel registers */ 30 #define UNIPHIER_MDMAC_CH_IRQ_STAT 0x010 /* current hw status (RO) */ 86 /* mc->vc.lock must be held by caller */ 92 vd = vchan_next_desc(&mc->vc); in uniphier_mdmac_next_desc() 94 mc->md = NULL; in uniphier_mdmac_next_desc() 98 list_del(&vd->node); in uniphier_mdmac_next_desc() 100 mc->md = to_uniphier_mdmac_desc(vd); in uniphier_mdmac_next_desc() [all …]
|
/linux-5.10/Documentation/ia64/ |
D | fsys.rst | 2 Light-weight System Calls for IA-64 5 Started: 13-Jan-2003 7 Last update: 27-Sep-2003 9 David Mosberger-Tang 14 "fsys-mode". To recap, the normal states of execution are: 16 - kernel mode: 18 switched over to kernel memory. The user-level state is saved 19 in a pt-regs structure at the top of the kernel memory stack. 21 - user mode: 23 user memory. The user-level state is contained in the [all …]
|