/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | debug_regs.c | 1 // SPDX-License-Identifier: GPL-2.0 54 * exits to userspace due to single-step being enabled. in guest_code() 86 struct kvm_run *run; in main() local 104 run = vcpu->run; in main() 106 /* Test software BPs - int3 */ in main() 108 debug.control in main() [all...] |
H A 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 41 uint32_t control; in l1_guest_code() local 49 control = vmreadz(CPU_BASED_VM_EXEC_CONTROL); in l1_guest_code() 50 control |= CPU_BASED_ACTIVATE_SECONDARY_CONTROLS; in l1_guest_code() 51 vmwrite(CPU_BASED_VM_EXEC_CONTROL, control); in l1_guest_code() 52 control = vmreadz(SECONDARY_VM_EXEC_CONTROL); in l1_guest_code() 53 control |= SECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES; in l1_guest_code() 54 vmwrite(SECONDARY_VM_EXEC_CONTROL, control); in l1_guest_code() [all …]
|
/linux/tools/perf/Documentation/ |
H A D | perf-daemon.txt | 1 perf-daemon(1) 6 ---- 7 perf-daemon - Run record sessions on background 11 -------- 22 ----------- 23 This command allows to run simple daemon process that starts and 32 …916507 916508 ... \_ perf record --control=fifo:control,ack -m 10M -e cycles --overwrite --switc… 33 …916507 916509 ... \_ perf record --control=fifo:control,ack -m 20M -e sched:* --overwrite --swit… 38 to produce data periodically, like with --switch-output configuration 41 Each session is started with control setup (with perf record --control [all …]
|
/linux/drivers/powercap/ |
H A 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 71 * instance has an idle duration, a run duration and mask of CPUs to inject 78 * update() - This callback is invoked just before waking up CPUs to inject 80 * cycle. It also allows the caller to readjust the idle and run duration by [all …]
|
/linux/tools/perf/tests/shell/ |
H A D | daemon.sh | 3 # SPDX-License-Identifier: GPL-2.0 55 local run=$3 58 local control=$6 82 if [ "${run}" != "${line_run}" ]; then 83 echo "FAILED: wrong run" 97 if [ "${control}" != "${line_control}" ]; then 98 echo "FAILED: wrong control" 118 line=`perf daemon --config ${config} -x: | head -1` 123 trap - SIGINT SIGTERM 126 perf daemon stop --config ${config} [all …]
|
/linux/arch/powerpc/include/asm/ |
H A 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/arch/arm/mach-pxa/ |
H A 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/net/bluetooth/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 Bluetooth is low-cost, low-power, short-range wireless technology. 21 It was designed as a replacement for cables and other short-range 30 L2CAP (Logical Link Control and Adaptation Protocol) 42 To use Linux Bluetooth subsystem, you will need several user-space 70 Bluetooth Low Energy includes support low-energy physical 74 bool "Bluetooth L2CAP Enhanced Credit Flow Control" 78 Bluetooth Low Energy L2CAP Enhanced Credit Flow Control available with 125 Run self tests when initializing the Bluetooth subsystem. This 130 cases are run first thing at module load time. When the Bluetooth [all …]
|
/linux/tools/perf/util/ |
H A D | intel-tpebs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <subcmd/run-command.h> 10 #include "intel-tpebs.h" 27 #define PERF_DATA "-" 30 static pid_t tpebs_pid = -1; 60 record_argv[i++] = "-W"; in get_perf_record_args() 61 record_argv[i++] = "--synth=no"; in get_perf_record_args() 65 pr_err("tpebs: Require cpumap list to run sampling\n"); in get_perf_record_args() 66 return -ECANCELED; in get_perf_record_args() 68 /* Use -C when cpumap_buf is not "-1" */ in get_perf_record_args() [all …]
|
/linux/drivers/net/ethernet/apple/ |
H A D | mace.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 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/Documentation/scheduler/ |
H A D | sched-rt-group.rst | 2 Real-Time group scheduling 12 2.1 System-wide settings 33 are real-time processes). 40 --------------- 42 Real-time scheduling is all about determinism, a group has to be able to rely on 44 multiple groups of real-time tasks, each group must be assigned a fixed portion 45 of the CPU time available. Without a minimum guarantee a real-time group can 50 ---------------- 53 in a given period. We allocate this "run time" for each real-time group which 54 the other real-time groups will not be permitted to use. [all …]
|
H A D | sched-bwc.rst | 2 CFS Bandwidth Control 6 This document only discusses CPU bandwidth control for SCHED_NORMAL. 7 The SCHED_RT case is covered in Documentation/scheduler/sched-rt-group.rst 9 CFS bandwidth control is a CONFIG_FAIR_GROUP_SCHED extension which allows the 14 microseconds of CPU time. That quota is assigned to per-cpu run queues in 17 throttled. Throttled threads will not be able to run again until the next 22 is transferred to cpu-local "silos" on a demand basis. The amount transferred 26 ------------- 30 Traditional (UP-EDF) bandwidth control is something like: 36 we'd have to run more than a second of program time, and obviously miss [all …]
|
/linux/arch/x86/include/uapi/asm/ |
H A D | sgx.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * Copyright(c) 2016-20 Intel Corporation. 12 * enum sgx_page_flags - page control flags 40 * struct sgx_enclave_create - parameter structure for the 49 * struct sgx_enclave_add_pages - parameter structure for the 55 * @flags: page control flags 68 * struct sgx_enclave_init - parameter structure for the 77 * struct sgx_enclave_provision - parameter structure for the 86 * struct sgx_enclave_restrict_permissions - parameters for ioctl 105 * struct sgx_enclave_modify_types - parameters for ioctl [all …]
|
/linux/Documentation/admin-guide/hw-vuln/ |
H A 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/Documentation/leds/ |
H A 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 …]
|
H A 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 …]
|
H A 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/arch/arm/mach-sa1100/include/mach/ |
H A 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/Documentation/arch/powerpc/ |
H A D | dexcr.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 4 DEXCR (Dynamic Execution Control Register) 11 PowerPC ISA 3.1B (Power10) that allows per-cpu control over several dynamic 13 branch target prediction) and enabling return-oriented programming (ROP) 16 The execution control is exposed in hardware as up to 32 bits ('aspects') in 22 A privileged SPR that can control aspects for userspace and kernel space 24 A hypervisor-privileged SPR that can control aspects for the hypervisor and 27 An optional ultravisor-privileged SPR that can control aspects for the ultravisor. 30 provides a non-privileged read-only view of the userspace DEXCR aspects. 31 There is also an SPR that provides a read-only view of the hypervisor enforced [all …]
|
/linux/Documentation/hwmon/ |
H A 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/tools/perf/ |
H A D | builtin-daemon.c | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <subcmd/parse-options.h> 34 #define SESSION_CONTROL "control" 40 * OK - session is up and running 41 * RECONFIG - session is pending for reconfiguration, 43 * KILL - session is pending to be killed 49 * - reads config file and setup session objects 52 * OK - no change needed 53 * RECONFIG - session needs to be changed 54 * (run variable changed) [all …]
|
/linux/tools/testing/vsock/ |
H A D | README | 2 ------------------- 3 These tests exercise net/vmw_vsock/ host<->guest sockets for VMware, KVM, and 4 Hyper-V. 8 * vsock_test - core AF_VSOCK socket functionality 9 * vsock_diag_test - vsock_diag.ko module for listing open sockets 22 (host)# $TEST_BINARY --mode=server \ 23 --control-port=1234 \ 24 --peer-cid=3 25 (guest)# $TEST_BINARY --mode=client \ 26 --control-host=$HOST_IP \ [all …]
|
/linux/Documentation/dev-tools/kunit/ |
H A D | faq.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 the test's control like hardware. 21 testing frameworks require tests to be written in userspace and run on the 35 (see :ref:`kunit-on-qemu`). 37 In short, yes, you can run KUnit on other architectures, but it might require 40 For more information, see :ref:`kunit-on-non-uml`. 42 .. _kinds-of-tests: 47 test, or an end-to-end test. 49 - A unit test is supposed to test a single unit of code in isolation. A unit 53 outside of the test's control like hardware. [all …]
|
/linux/drivers/net/wireless/ath/ath5k/ |
H A 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/Documentation/arch/x86/ |
H A D | sgx.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 * Privileged (ring-0) ENCLS functions orchestrate the construction of the 15 * Unprivileged (ring-3) ENCLU functions allow an application to enter and 38 with an enclave. It is contained in a BIOS-reserved region of physical memory. 49 ------------------ 51 **SGX Enclave Control Structure (SECS)** 58 **Thread Control Structure (TCS)** 59 Thread Control Structure pages define the entry points to an enclave and 67 ---------------------- 76 remain read-only. EPCM permissions may only impose additional restrictions on [all …]
|