/linux-5.10/tools/testing/selftests/kvm/x86_64/ |
D | vmx_apic_access_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * launched with a valid APIC-access address that is backed by a 13 * The second subtest sets the APIC-access address to a (valid) L1 46 uint32_t control; in l1_guest_code() local 54 control = vmreadz(CPU_BASED_VM_EXEC_CONTROL); in l1_guest_code() 55 control |= CPU_BASED_ACTIVATE_SECONDARY_CONTROLS; in l1_guest_code() 56 vmwrite(CPU_BASED_VM_EXEC_CONTROL, control); in l1_guest_code() 57 control = vmreadz(SECONDARY_VM_EXEC_CONTROL); in l1_guest_code() 58 control |= SECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES; in l1_guest_code() 59 vmwrite(SECONDARY_VM_EXEC_CONTROL, control); in l1_guest_code() [all …]
|
D | debug_regs.c | 1 // SPDX-License-Identifier: GPL-2.0 69 struct kvm_run *run; in main() local 89 run = vcpu_state(vm, VCPU_ID); in main() 91 /* Test software BPs - int3 */ in main() 93 debug.control = KVM_GUESTDBG_ENABLE | KVM_GUESTDBG_USE_SW_BP; in main() 96 TEST_ASSERT(run->exit_reason == KVM_EXIT_DEBUG && in main() 97 run->debug.arch.exception == BP_VECTOR && in main() 98 run->debug.arch.pc == CAST_TO_RIP(sw_bp), in main() 100 run->exit_reason, run->debug.arch.exception, in main() 101 run->debug.arch.pc, CAST_TO_RIP(sw_bp)); in main() [all …]
|
D | vmx_tsc_adjust_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 39 #define TSC_OFFSET_VALUE -(1ll << 48) 74 uint64_t l1_tsc = rdtsc() - TSC_OFFSET_VALUE; in l2_guest_code() 76 wrmsr(MSR_IA32_TSC, l1_tsc - TSC_ADJUST_VALUE); in l2_guest_code() 77 check_ia32_tsc_adjust(-2 * TSC_ADJUST_VALUE); in l2_guest_code() 87 uint32_t control; in l1_guest_code() local 91 wrmsr(MSR_IA32_TSC, rdtsc() - TSC_ADJUST_VALUE); in l1_guest_code() 92 check_ia32_tsc_adjust(-1 * TSC_ADJUST_VALUE); in l1_guest_code() 100 control = vmreadz(CPU_BASED_VM_EXEC_CONTROL); in l1_guest_code() 101 control |= CPU_BASED_USE_MSR_BITMAPS | CPU_BASED_USE_TSC_OFFSETTING; in l1_guest_code() [all …]
|
/linux-5.10/fs/btrfs/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 23 Btrfs is a general purpose copy-on-write filesystem with extents, 41 bool "Btrfs POSIX Access Control Lists" 45 POSIX Access Control Lists (ACLs) support permissions for users and 48 If you don't know what Access Control Lists are, say N 57 after a power-loss or kernel panic event the filesystem is 66 to verify the integrity of (super)-block write requests 67 during the run of a regression test, say N 70 bool "Btrfs will run sanity tests upon loading" 73 This will run some basic sanity tests on the free space cache [all …]
|
/linux-5.10/drivers/powercap/ |
D | idle_inject.c | 1 // SPDX-License-Identifier: GPL-2.0 19 * The idle + run duration is specified via separate helpers and that allows 34 * It is up to the user of this framework to provide a lock for higher-level 51 * struct idle_inject_thread - task on/off switch structure 53 * @should_run: whether or not to run the task (for the smpboot kthread API) 61 * struct idle_inject_device - idle injection data 64 * @run_duration_us: duration of CPU run time to allow 80 * idle_inject_wakeup - Wake up idle injection threads 91 for_each_cpu_and(cpu, to_cpumask(ii_dev->cpumask), cpu_online_mask) { in idle_inject_wakeup() 93 iit->should_run = 1; in idle_inject_wakeup() [all …]
|
/linux-5.10/arch/powerpc/include/asm/ |
D | dbdma.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Definitions for using the Apple Descriptor-Based DMA controller 13 * DBDMA control/status registers. All little-endian. 16 unsigned int control; /* lets you change bits in status */ member 32 /* Bits in control and status registers */ 33 #define RUN 0x8000 macro 43 * DBDMA command structure. These fields are all little-endian! 47 __le16 command; /* command word (has bit-fields) */ 49 __le32 cmd_dep; /* command-dependent field */ 66 #define KEY_STREAM1 0x100 /* control/status stream */ [all …]
|
/linux-5.10/arch/arm/mach-pxa/include/mach/ |
D | smemc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 16 #define MDREFR (SMEMC_VIRT + 0x04) /* SDRAM Refresh Control Register */ 17 #define MSC0 (SMEMC_VIRT + 0x08) /* Static Memory Control Register 0 */ 18 #define MSC1 (SMEMC_VIRT + 0x0C) /* Static Memory Control Register 1 */ 19 #define MSC2 (SMEMC_VIRT + 0x10) /* Static Memory Control Register 2 */ 21 #define SXLCR (SMEMC_VIRT + 0x18) /* LCR value to be written to SDRAM-Timing Synchronous Flash */ 22 #define SXCNFG (SMEMC_VIRT + 0x1C) /* Synchronous Static Memory Control Register */ 31 #define BOOT_DEF (SMEMC_VIRT + 0x44) /* Read-Only Boot-Time Register. Contains BOOT_SEL and PKG_SE… 49 #define MECR_NOS (1 << 0) /* Number Of Sockets: 0 -> 1 sock, 1 -> 2 sock */ 50 #define MECR_CIT (1 << 1) /* Card Is There: 0 -> no card, 1 -> card inserted */ [all …]
|
/linux-5.10/Documentation/scheduler/ |
D | sched-rt-group.rst | 2 Real-Time group scheduling 12 2.1 System-wide settings 33 are real-time processes). 40 --------------- 50 ---------------- 53 in a given period. We allocate this "run time" for each realtime group which 56 Any time not allocated to a realtime group will be used to run normal priority 57 tasks (SCHED_OTHER). Any allocated run time not used will also be picked up by 63 time dedicated for the graphics. We can then give this group a run time of 0.8 66 This way the graphics group will have a 0.04s period with a 0.032s run time [all …]
|
D | sched-bwc.rst | 2 CFS Bandwidth Control 5 [ This document only discusses CPU bandwidth control for SCHED_NORMAL. 6 The SCHED_RT case is covered in Documentation/scheduler/sched-rt-group.rst ] 8 CFS bandwidth control is a CONFIG_FAIR_GROUP_SCHED extension which allows the 13 microseconds of CPU time. That quota is assigned to per-cpu run queues in 16 throttled. Throttled threads will not be able to run again until the next 21 is transferred to cpu-local "silos" on a demand basis. The amount transferred 25 ---------- 28 cpu.cfs_quota_us: the total available run-time within a period (in microseconds) 35 cpu.cfs_quota=-1 [all …]
|
/linux-5.10/drivers/net/ethernet/apple/ |
D | mace.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 static int port_aaui = -1; 115 int j, rev, rc = -EBUSY; in mace_probe() 120 return -ENODEV; in mace_probe() 123 addr = of_get_property(mace, "mac-address", NULL); in mace_probe() 125 addr = of_get_property(mace, "local-mac-address", NULL); in mace_probe() 127 printk(KERN_ERR "Can't get mac-address for MACE %pOF\n", in mace_probe() 129 return -ENODEV; in mace_probe() 134 * lazy allocate the driver-wide dummy buffer. (Note that we in mace_probe() 140 return -ENOMEM; in mace_probe() [all …]
|
/linux-5.10/Documentation/leds/ |
D | leds-lp5523.rst | 9 Contact: Samu Onkalo (samu.p.onkalo-at-nokia.com) 12 ----------- 14 the led class control interface. 15 The name of each channel is configurable in the platform data - name and label. 22 - /sys/class/leds/R1 (name: 'R1') 23 - /sys/class/leds/B1 (name: 'B1') 28 - /sys/class/leds/RGB:channelN (label: 'RGB', N: 0 ~ 8) 33 - /sys/class/leds/lp5523:channelN (N: 0 ~ 8) 36 There are two ways to run LED patterns. 38 1) Legacy interface - enginex_mode, enginex_load and enginex_leds [all …]
|
D | leds-lp55xx.rst | 8 ----------- 14 Device attributes for user-space interface 28 control multi output LED channels such as led current, channel index. 30 general chip control such like the I2C and platform data. 50 - Maximum number of channels 51 - Reset command, chip enable command 52 - Chip specific initialization 53 - Brightness control register access 54 - Setting LED output current 55 - Program memory address access for running patterns [all …]
|
D | leds-lp5521.rst | 10 Contact: Samu Onkalo (samu.p.onkalo-at-nokia.com) 13 ----------- 16 the led class control interface. Channels have generic names: 23 There are two ways to run LED patterns. 25 1) Legacy interface - enginex_mode and enginex_load 26 Control interface for the engines: 31 disabled, load, run 40 echo "run" > engine3_mode 46 2) Firmware interface - LP55xx common interface 48 For the details, please refer to 'firmware' section in leds-lp55xx.txt [all …]
|
/linux-5.10/Documentation/hwmon/ |
D | g762.rst | 5 and performs closed-loop or open-loop control of the fan speed. Two 6 modes - PWM or DC - are supported by the device. 9 http://natisbad.org/NAS/ref/GMT_EDS-762_763-080710-0.2.pdf. sysfs 10 bindings are described in Documentation/hwmon/sysfs-interface.rst. 13 /sys/bus/i2c/drivers/g762/ to control the operation of the device. 25 set desired fan speed. This only makes sense in closed-loop 26 fan speed control (i.e. when pwm1_enable is set to 2). 44 in closed-loop control mode, if fan RPM value is 25% out 49 set current fan speed control mode i.e. 1 for manual fan 50 speed control (open-loop) via pwm1 described below, 2 for [all …]
|
/linux-5.10/drivers/net/wireless/ath/ath5k/ |
D | ani.h | 40 * enum ath5k_ani_mode - mode for ANI / noise sensitivity 45 * maximizing sensitivity. ANI will not run. 47 * minimizing sensitivity. ANI will not run. 48 * @ATH5K_ANI_MODE_AUTO: Automatically control immunity parameters based on the 60 * struct ath5k_ani_state - ANI state and associated counters 72 * @last_listen: Listen time from previous run (for stats) 73 * @last_ofdm_errors: OFDM timing error count from previous run (for tats) 74 * @last_cck_errors: CCK timing error count from previous run (for stats) 110 /* for manual control */
|
/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/Documentation/devicetree/bindings/regulator/ |
D | rohm,bd71847-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/rohm,bd71847-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> 15 Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml 20 Note that if BD71847 starts at RUN state you probably want to use 21 regulator-boot-on at least for BUCK5. LDO6 is supplied by it and it must 30 "^LDO[1-6]$": 37 regulator-name: [all …]
|
D | rohm,bd71837-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/rohm,bd71837-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> 15 Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml 20 Note that if BD71837 starts at RUN state you probably want to use 21 regulator-boot-on at least for BUCK6 and BUCK7 so that those are not 31 "^LDO[1-7]$": 38 regulator-name: [all …]
|
/linux-5.10/Documentation/dev-tools/kunit/ |
D | faq.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 the test's control like hardware. 21 tests to be written in userspace and run on the kernel under test; this is true 37 In short, this means that, yes, you can run KUnit on other architectures, but 40 For more information, see :ref:`kunit-on-non-uml`. 45 test, or an end-to-end test. 47 - A unit test is supposed to test a single unit of code in isolation, hence the 51 external dependencies outside of the test's control like hardware. 52 - An integration test tests the interaction between a minimal set of components, 59 - An end-to-end test usually tests the entire system from the perspective of the [all …]
|
/linux-5.10/arch/arm/mach-sa1100/include/mach/ |
D | SA-1100.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * FILE SA-1100.h 9 * System StrongARM SA-1100 12 * SA-1100 microprocessor (Advanced RISC Machine (ARM) 14 * StrongARM SA-1100 data sheet version 2.2. 21 #error You must include hardware.h not SA-1100.h 77 * Universal Serial Bus (USB) Device Controller (UDC) control registers 81 * Controller (UDC) Control Register (read/write). 91 * Controller (UDC) Control/Status register end-point 0 94 * Controller (UDC) Control/Status register end-point 1 [all …]
|
/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
D | sprd,pinctrl.txt | 5 The first block comprises some global control registers, and each 8 pad driving level, system control select and so on ("domain pad 11 slect 3.0v, then the pin can output 3.0v. "system control" is used 16 of them, so we can not make every Spreadtrum-special configuration 18 global configuration in future. Then we add one "sprd,control" to 19 set these various global control configuration, and we need use 23 bits in one global control register as one pin, thus we should 35 - input-enable 36 - input-disable 37 - output-high [all …]
|
/linux-5.10/fs/ext4/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # have EXT3_FS set but not EXT4_FS set and thus would result in non-bootable 13 bool "Ext3 POSIX Access Control Lists" 41 the on-disk format of ext4 is not forwards compatible with 42 ext3; it is based on extent maps and it supports 48-bit 74 bool "Ext4 POSIX Access Control Lists" 78 POSIX Access Control Lists (ACLs) support permissions for users and 81 If you don't know what Access Control Lists are, say N 87 Security labels support alternative access control models 99 Enables run-time debugging support for the ext4 filesystem. [all …]
|
/linux-5.10/drivers/clk/pxa/ |
D | clk-pxa.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/clk-provider.h> 15 #include <dt-bindings/clock/pxa-clock.h> 16 #include "clk-pxa.h" 21 #define MDREFR_K0DB4 (1 << 29) /* SDCLK0 Divide by 4 Control/Status */ 22 #define MDREFR_K2FREE (1 << 25) /* SDRAM Free-Running Control */ 23 #define MDREFR_K1FREE (1 << 24) /* SDRAM Free-Running Control */ 24 #define MDREFR_K0FREE (1 << 23) /* SDRAM Free-Running Control */ 25 #define MDREFR_SLFRSH (1 << 22) /* SDRAM Self-Refresh Control/Status */ 26 #define MDREFR_APD (1 << 20) /* SDRAM/SSRAM Auto-Power-Down Enable */ [all …]
|
/linux-5.10/arch/arm/mach-pxa/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 119 Say Y here if you intend to run this kernel on a Cogent 127 bool "CompuLab CM-X300 modules" 133 bool "Embedian CAPC-7117 evaluation kit based on the MXM-8x10 CoM" 141 Say Y here if you intend to run this kernel on 142 Basix, Connex, ws-200ax, ws-400ax systems 178 bool "PXA based Keith und Koep Trizeps DIMM-Modules" 181 bool "Keith und Koep Trizeps4 DIMM-Module" 187 bool "Keith und Koep Trizeps4-WL DIMM-Module" 223 bool "Phytec phyCORE-PXA270 CPU module (PCM-027)" [all …]
|
/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-devices-power | 35 What: /sys/devices/.../power/control 39 The /sys/devices/.../power/control attribute allows the user 40 space to control the run-time power management of the device. 43 power/control file: 45 + "auto\n" to allow the device to be power managed at run time; 51 from power managing the device at run time. Doing that while 61 with the main suspend/resume thread) during system-wide power 86 attribute is read-only. If the device is not capable to wake up 98 is read-only. If the device is not capable to wake up the 110 state in progress. This attribute is read-only. If the device [all …]
|