/openbmc/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 …]
|
/openbmc/u-boot/doc/ |
H A D | README.nokia_rx51 | 1 Board: Nokia RX-51 aka N900 3 This board definition results in a u-boot.bin which can be chainloaded 9 onenand as such. This u-boot is intended to be flashed to the N900 like 11 appended to u-boot.bin at 0x40000. NOLO will load the entire image into 12 (random) memory and execute u-boot, which saves hw revision, boot reason 20 NOLO so u-boot must kick watchdog to prevent reboot device (but not very 25 When U-Boot is starting it enable IBE bit in Auxiliary Control Register, 26 which is needed for Thumb-2 ISA support. It is workaround for errata 430973. 40 * 1.3 same order for 2. - 4. fat partition 47 * run sercon - Use serial port for control [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | debug_regs.c | 1 // 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 …]
|
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 …]
|
/openbmc/openbmc-test-automation/lib/pdu/ |
H A D | cyber.robot | 14 ${connection_status}= Run Keyword And Return Status 38 [Teardown] Run Keyword ${lib_name}.Close All Connections 53 # +------- Information -------------------------------------------------------+ 58 # +------- Console -----------------------------------------------------------+ 60 # 1- Device Manager 61 # 2- Network Settings 62 # 3- System 63 # 4- Logout 65 # <ESC>- Back, <ENTER>- Select&Reflash 68 # +------- PDU30SWHVT16FNET --------------------------------------------------+ [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/u-boot/dts/ |
H A D | Kconfig | 2 # Device Tree Control 22 menu "Device Tree Control" 26 bool "Run-time configuration via Device Tree" 29 This feature provides for run-time configuration of U-Boot 33 bool "Board-specific manipulation of Device Tree" 36 U-Boot's device tree (e.g. to delete device from it). This option 37 make the Device Tree writeable and provides a board-specific 38 "board_fix_fdt" callback (called during pre-relocation time), which 40 modified copy is subsequently used by U-Boot after relocation. 43 bool "Enable run-time configuration via Device Tree in SPL" [all …]
|
/openbmc/qemu/include/io/ |
H A D | channel-socket.h | 29 #define TYPE_QIO_CHANNEL_SOCKET "qio-channel-socket" 71 * @errp: pointer to a NULL-initialized error object 87 * @errp: pointer to a NULL-initialized error object 90 * will run in the foreground so the caller will not regain 91 * execution control until the connection is established or 105 * @context: the context to run the async task. If %NULL, the default 109 * will run in the background so the caller will regain 110 * execution control immediately. The function @callback 128 * @errp: pointer to a NULL-initialized error object 131 * will run in the foreground so the caller will not regain [all …]
|
/openbmc/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 …]
|
/openbmc/linux/fs/btrfs/ |
H A D | Kconfig | 1 # 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 …]
|
/openbmc/docs/architecture/code-update/ |
H A D | code-update-deprecated.md | 5 - The REST APIs described below are deprecated. Please follow 6 [code-update.md](code-update.md) for the new APIs to do code update. 7 - The rest part of this document is still valid. 10 [host-code-update.md](host-code-update.md) 13 `tmp/deploy/images/<platform>/`. The `image-*` symlinks correspond to components 16 - `image-bmc` → `obmc-phosphor-image-<platform>-<timestamp>.static.mtd` 20 - `image-kernel` → `fitImage-obmc-phosphor-initramfs-<platform>.bin` 25 - `image-rofs` → `obmc-phosphor-image-<platform>.squashfs-xz` 27 The read-only OpenBMC filesystem 29 - `image-rwfs` → `rwfs.jffs2` [all …]
|
/openbmc/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 …]
|
/openbmc/qemu/hw/dma/ |
H A D | sifive_pdma.c | 28 #include "hw/qdev-properties.h" 73 uint64_t bytes = s->chan[ch].next_bytes; in sifive_pdma_run() 74 uint64_t dst = s->chan[ch].next_dst; in sifive_pdma_run() 75 uint64_t src = s->chan[ch].next_src; in sifive_pdma_run() 76 uint32_t config = s->chan[ch].next_config; in sifive_pdma_run() 112 s->chan[ch].state = DMA_CHAN_STATE_STARTED; in sifive_pdma_run() 113 s->chan[ch].control &= ~CONTROL_DONE; in sifive_pdma_run() 114 s->chan[ch].control &= ~CONTROL_ERR; in sifive_pdma_run() 117 s->chan[ch].exec_config = config; in sifive_pdma_run() 118 s->chan[ch].exec_bytes = bytes; in sifive_pdma_run() [all …]
|
/openbmc/phosphor-state-manager/service_files/ |
H A D | phosphor-reset-chassis-running@.service | 3 Wants=mapper-wait@-org-openbmc-control-power%i.service 4 After=mapper-wait@-org-openbmc-control-power%i.service 5 Wants=obmc-power-reset-on@%i.target 6 Before=obmc-power-reset-on@%i.target 7 Conflicts=obmc-chassis-poweroff@%i.target 12 …-c "if [ $(busctl get-property `mapper get-service /org/openbmc/control/power%i` /org/openbmc/cont… 13 SyslogIdentifier=phosphor-reset-chassis-running 16 WantedBy=obmc-chassis-powerreset@%i.target
|
/openbmc/phosphor-pid-control/ |
H A D | README.md | 1 # phosphor-pid-control 3 This is a daemon running within the OpenBMC environment. It uses a well-defined 4 configuration file to control the temperature of the tray components to keep 5 them within operating conditions. It may require coordination with host-side 10 The BMC will run a daemon that controls the fans by pre-defined zones. The 11 application will use thermal control, such that each defined zone is kept within 13 sensors as well as host-provided information over an IPMI OEM command. 21 The system will run a control loop for each zone with the attempt to maintain 26 [How to configure phosphor-pid-control](configure.md) 30 The software will run as a multi-threaded daemon that runs a control loop for [all …]
|
/openbmc/u-boot/tools/binman/ |
H A D | binman | 2 # SPDX-License-Identifier: GPL-2.0+ 27 '../../build-sandbox_spl/scripts/dtc/pylibfdt')) 36 import control 40 """Run the functional tests and any embedded doctests 45 name to execute (as in 'binman -t testSections', for example) 46 processes: Number of processes to use to run tests (None=same as #CPUs) 59 suite.run(result) 63 sys.argv.append('-D') 65 sys.argv.append('-D') 67 # Run the entry tests first ,since these need to be the first to import the [all …]
|
H A D | binman.py | 2 # SPDX-License-Identifier: GPL-2.0+ 27 '../../build-sandbox_spl/scripts/dtc/pylibfdt')) 36 import control 40 """Run the functional tests and any embedded doctests 45 name to execute (as in 'binman -t testSections', for example) 46 processes: Number of processes to use to run tests (None=same as #CPUs) 59 suite.run(result) 63 sys.argv.append('-D') 65 sys.argv.append('-D') 67 # Run the entry tests first ,since these need to be the first to import the [all …]
|
/openbmc/openbmc-test-automation/redfish/systems/ |
H A D | test_boot_devices.robot | 29 &{redfish_ipmi_target_map} Hdd=Force Boot from default Hard-Drive 31 ... Diags=Force Boot from default Hard-Drive, request Safe-Mode 237 # - Boot Flag Valid 238 # - Options apply to all future boots 239 # - BIOS PC Compatible (legacy) boot 240 # - Boot Device Selector : No override 241 # - Console Redirection control : System Default 242 # - BIOS verbosity : Console redirection occurs per BIOS configuration 244 # - BIOS Mux Control Override : BIOS uses recommended setting of the mux at 249 ${output}= Run IPMI Standard Command chassis bootparam get 5 [all …]
|
/openbmc/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 …]
|
/openbmc/docs/architecture/ |
H A D | openbmc-systemd.md | 4 manage all processes. It has its own set of target and service units to control 9 [Unit](https://www.freedesktop.org/software/systemd/man/systemd.unit.html#) - 11 [Service](https://www.freedesktop.org/software/systemd/man/systemd.service.html) - 12 Services are a type of unit, that define the processes to be run and execute. 13 [Target](https://www.freedesktop.org/software/systemd/man/systemd.target.html) - 17 2. Define the services that get run for a given target. 22 /etc/systemd/system and /run/systemd/system as well. 27 --- 33 OpenBMC, there is a link from `default.target` to `multi-user.target`. 35 You'll find all the phosphor services associated with `multi-user.target`. [all …]
|
/openbmc/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 --------------- 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 …]
|
/openbmc/phosphor-fan-presence/control/json/triggers/ |
H A D | signal.hpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 30 namespace phosphor::fan::control::json::trigger::signal namespace 38 * @param[in] match - Signal match string to subscribe to 39 * @param[in] pkg - Data package to attach to signal 40 * @param[in] isSameSig - Function to determine if same signal being subscribed 41 * @param[in] mgr - Pointer to manager of the trigger 49 * @param[in] mgr - Pointer to manager of the trigger 50 * @param[in] group - Group to subscribe signal against 51 * @param[in] actions - Actions to be run when signal is received 59 * @param[in] mgr - Pointer to manager of the trigger [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | fan_utils.robot | 74 Run Keyword If 80 [Documentation] Set the fan state, either functional or non-functional. 85 # fan_state The state to set, 1 for functional, 2 for non-functional. 114 ${max_target}= Run Keyword If ${target_speed} > ${max_target} 122 ... fan's clockwise blade, and the speed of the counter-clockwise blade. 123 # Each fan unit has two counter-rotating fan blades 137 # Get the counter-clockwise blade speed. 156 ${blade_speed}= Run Keyword If 164 [Documentation] Set the state of the fan control service. 171 ${cmd}= Catenate systemctl ${state} phosphor-fan-control@0.service [all …]
|
/openbmc/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 …]
|