Home
last modified time | relevance | path

Searched +full:run +full:- +full:control (Results 1 – 25 of 1058) sorted by relevance

12345678910>>...43

/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/
Dvmx_apic_access_test.c1 // 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 …]
Ddebug_regs.c1 // 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 …]
Dvmx_tsc_adjust_test.c1 // 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 …]
/kernel/linux/linux-6.6/tools/perf/Documentation/
Dperf-daemon.txt1 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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/
Ddebug_regs.c1 // SPDX-License-Identifier: GPL-2.0
83 struct kvm_run *run; in main() local
101 run = vcpu->run; in main()
103 /* Test software BPs - int3 */ in main()
105 debug.control = KVM_GUESTDBG_ENABLE | KVM_GUESTDBG_USE_SW_BP; in main()
108 TEST_ASSERT(run->exit_reason == KVM_EXIT_DEBUG && in main()
109 run->debug.arch.exception == BP_VECTOR && in main()
110 run->debug.arch.pc == CAST_TO_RIP(sw_bp), in main()
112 run->exit_reason, run->debug.arch.exception, in main()
113 run->debug.arch.pc, CAST_TO_RIP(sw_bp)); in main()
[all …]
Dvmx_apic_access_test.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/powercap/
Didle_inject.c1 // 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 …]
/kernel/linux/linux-6.6/tools/perf/tests/shell/
Ddaemon.sh3 # 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 …]
/kernel/linux/linux-6.6/fs/btrfs/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
24 Btrfs is a general purpose copy-on-write filesystem with extents,
42 bool "Btrfs POSIX Access Control Lists"
46 POSIX Access Control Lists (ACLs) support permissions for users and
49 If you don't know what Access Control Lists are, say N
60 after a power-loss or kernel panic event the filesystem is
69 to verify the integrity of (super)-block write requests
70 during the run of a regression test, say N
73 bool "Btrfs will run sanity tests upon loading"
76 This will run some basic sanity tests on the free space cache
[all …]
/kernel/linux/linux-5.10/fs/btrfs/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
25 Btrfs is a general purpose copy-on-write filesystem with extents,
43 bool "Btrfs POSIX Access Control Lists"
47 POSIX Access Control Lists (ACLs) support permissions for users and
50 If you don't know what Access Control Lists are, say N
59 after a power-loss or kernel panic event the filesystem is
68 to verify the integrity of (super)-block write requests
69 during the run of a regression test, say N
72 bool "Btrfs will run sanity tests upon loading"
75 This will run some basic sanity tests on the free space cache
[all …]
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
Ddbdma.h1 /* 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 …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Ddbdma.h1 /* 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 …]
/kernel/linux/linux-5.10/drivers/powercap/
Didle_inject.c1 // 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 …]
/kernel/linux/linux-6.6/arch/arm/mach-pxa/
Dsmemc.h1 /* 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 …]
/kernel/linux/linux-5.10/arch/arm/mach-pxa/include/mach/
Dsmemc.h1 /* 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 …]
/kernel/linux/linux-6.6/net/bluetooth/
DKconfig1 # 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 …]
/kernel/linux/linux-5.10/Documentation/scheduler/
Dsched-rt-group.rst2 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 …]
/kernel/linux/linux-6.6/Documentation/scheduler/
Dsched-rt-group.rst2 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 …]
/kernel/linux/linux-6.6/arch/x86/include/uapi/asm/
Dsgx.h1 /* 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/apple/
Dmace.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/net/ethernet/apple/
Dmace.c1 // 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 …]
/kernel/linux/linux-5.10/Documentation/hwmon/
Dg762.rst5 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 …]
/kernel/linux/linux-6.6/Documentation/hwmon/
Dg762.rst5 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 …]
/kernel/linux/linux-6.6/Documentation/leds/
Dleds-lp5523.rst9 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 …]
/kernel/linux/linux-5.10/Documentation/leds/
Dleds-lp5523.rst9 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 …]

12345678910>>...43