/openbmc/linux/drivers/thermal/ |
H A D | cpuidle_cooling.c | 1 // SPDX-License-Identifier: GPL-2.0 21 * struct cpuidle_cooling_device - data for the idle cooling device 31 * cpuidle_cooling_runtime - Running time computation 35 * The running duration is computed from the idle injection duration 37 * means the running duration is zero. If we have a 50% ratio 39 * running duration. 43 * running = idle x ((100 / ratio) - 1) 47 * running = (idle x 100) / ratio - idle 50 * with 10ms of idle injection and 10ms of running duration. 60 return ((idle_duration_us * 100) / state) - idle_duration_us; in cpuidle_cooling_runtime() [all …]
|
/openbmc/openbmc/poky/meta/recipes-kernel/kexec/kexec-tools/ |
H A D | kdump | 12 KEXEC_ARGS="-p" 15 MAKEDUMPFILE_ARGS="-E -d 1" 17 LOGGER="logger -p info -t kdump" 19 if [ -f /etc/sysconfig/kdump.conf ]; then 29 if [ ! -e ${MAKEDUMPFILE} -o ! -x ${MAKEDUMPFILE} ] ;then 35 if [ ! -e ${KEXEC} -o ! -x ${KEXEC} ] ;then 41 if [ -z "${KDUMP_KIMAGE}" -o ! -f "${KDUMP_KIMAGE}" ]; then 55 KDUMP_VMCORE_PATH="/var/crash/`date +"%Y-%m-%d"`" 58 mkdir -p ${KDUMP_VMCORE_PATH} 61 ${MAKEDUMPFILE} ${MAKEDUMPFILE_ARGS} /proc/vmcore ${KDUMP_VMCORE_PATH}/vmcore-"`date +"%H:%M:%S"`" [all …]
|
/openbmc/linux/arch/x86/xen/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 29 Support running as a Xen PV guest. 32 bool "Limit Xen pv-domain memory to 512GB" 39 pv-domains with more than 512 GB of RAM. This option controls the 41 It is always possible to change the default via specifying the 65 Support running as a Xen PVHVM guest. 86 Support for running as a Xen PVH guest. 95 Support running as a Xen Dom0 guest. 98 bool "Always use safe MSR accesses in PV guests"
|
/openbmc/linux/include/uapi/linux/ |
H A D | membarrier.h | 31 * enum membarrier_cmd - membarrier system call command 34 * @MEMBARRIER_CMD_GLOBAL: Execute a memory barrier on all running threads. 36 * is ensured that all running threads have passed 38 * user-space addresses match program order between 40 * (non-running threads are de facto in such a 42 * running on the system. This command returns 0. 44 * Execute a memory barrier on all running threads 48 * is ensured that all running threads have passed 50 * user-space addresses match program order between 52 * (non-running threads are de facto in such a [all …]
|
/openbmc/qemu/.gitlab-ci.d/ |
H A D | crossbuild-template.yml | 7 - ccache 9 when: always 12 - source scripts/ci/gitlab-ci-section 13 - section_start setup "Pre-script setup" 14 - JOBS=$(expr $(nproc) + 1) 15 - cat /packages.txt 16 - section_end setup 18 - export CCACHE_BASEDIR="$(pwd)" 19 - export CCACHE_DIR="$CCACHE_BASEDIR/ccache" 20 - export CCACHE_MAXSIZE="500M" [all …]
|
H A D | buildtest-template.yml | 7 - ccache 9 when: always 11 - source scripts/ci/gitlab-ci-section 12 - section_start setup "Pre-script setup" 13 - JOBS=$(expr $(nproc) + 1) 14 - cat /packages.txt 15 - section_end setup 17 - export CCACHE_BASEDIR="$(pwd)" 18 - export CCACHE_DIR="$CCACHE_BASEDIR/ccache" 19 - export CCACHE_MAXSIZE="500M" [all …]
|
/openbmc/linux/Documentation/admin-guide/hw-vuln/ |
H A D | core-scheduling.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 workloads may benefit from running on the same core as they don't need the same 15 ---------------- 16 A cross-HT attack involves the attacker and victim running on different Hyper 18 full mitigation of cross-HT attacks is to disable Hyper Threading (HT). Core 19 scheduling is a scheduler feature that can mitigate some (not all) cross-HT 21 user-designated trusted group can share a core. This increase in core sharing 23 will always improve, though that is seen to be the case with a number of real 26 not always: as synchronizing scheduling decisions across 2 or more CPUs in a 27 core involves additional overhead - especially when the system is lightly [all …]
|
/openbmc/linux/Documentation/scheduler/ |
H A D | sched-nice-design.rst | 6 nice-levels implementation in the new Linux scheduler. 8 Nice levels were always pretty weak under Linux and people continuously 34 -*----------------------------------*-----> [nice level] 35 -20 | +19 49 people were running number crunching apps at nice +19.) 52 right minimal granularity - and this translates to 5% CPU utilization. 53 But the fundamental HZ-sensitive property for nice+19 still remained, 56 too _strong_ :-) 58 To sum it up: we always wanted to make nice levels more consistent, but 79 depend on the nice level of the parent shell - if it was at nice -10 the [all …]
|
/openbmc/linux/rust/kernel/ |
H A D | task.rs | 1 // SPDX-License-Identifier: GPL-2.0 10 /// Returns the currently running task. 14 // SAFETY: Deref + addr-of below create a temporary `TaskRef` that cannot outlive the 26 /// Instances of this type are always ref-counted, that is, a call to `get_task_struct` ensures 56 /// fn new() -> Self { 90 pub unsafe fn current() -> impl Deref<Target = Task> { in current() 99 fn deref(&self) -> &Self::Target { in current() 108 // SAFETY: If the current thread is still running, the current task is valid. Given in current() 117 pub fn group_leader(&self) -> &Task { in group_leader() 118 // SAFETY: By the type invariant, we know that `self.0` is a valid task. Valid tasks always in group_leader() [all …]
|
/openbmc/linux/Documentation/virt/kvm/x86/ |
H A D | running-nested-guests.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Running nested guests with KVM 8 can be KVM-based or a different hypervisor). The straightforward 12 .----------------. .----------------. 17 |----------------'--'----------------| 22 .------------------------------------------------------. 25 |------------------------------------------------------| 27 '------------------------------------------------------' 31 - L0 – level-0; the bare metal host, running KVM 33 - L1 – level-1 guest; a VM running on L0; also called the "guest [all …]
|
/openbmc/openpower-occ-control/service_files/ |
H A D | org.open_power.OCC.Control.service | 3 Wants=mapper-wait@-xyz-openbmc_project-inventory.service 4 After=mapper-wait@-xyz-openbmc_project-inventory.service 5 Wants=obmc-host-reset-running@0.target 6 After=obmc-host-reset-running@0.target 12 ExecStart=/usr/bin/openpower-occ-control 13 Restart=always 18 WantedBy=multi-user.target
|
/openbmc/qemu/include/block/ |
H A D | blockjob.h | 2 * Declarations for long-running block device operations 29 #include "qapi/qapi-types-block-core.h" 40 * Long-running operation on a BlockDriverState. 50 * Status that is published by the query-block-jobs QMP API. 57 * Always modified and read under the BQL (GLOBAL_STATE_CODE). 63 * RateLimit API is thread-safe. 68 * Block other operations when block job is running. 69 * Always modified and read under the BQL (GLOBAL_STATE_CODE). 92 * Always modified and read under the BQL (GLOBAL_STATE_CODE). 100 * See include/block/block-global-state.h for more information about [all …]
|
/openbmc/linux/Documentation/leds/ |
H A D | leds-lp55xx.rst | 8 ----------- 14 Device attributes for user-space interface 15 Program memory for running LED patterns 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 56 - Additional device specific attributes [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libusbgx/libusbgx/ |
H A D | usbgx.initd | 4 # Required-Start: $local_fs 5 # Should-Start: 6 # Required-Stop: $local_fs 7 # Should-Stop: 8 # Default-Start: 2 3 4 5 9 # Default-Stop: 0 1 6 10 # Short-Description: Example initscript 20 DAEMON=/usr/bin/gadget-start 27 [ -x "$DAEMON" ] || exit 0 30 [ -r /etc/default/$NAME ] && . /etc/default/$NAME [all …]
|
/openbmc/u-boot/drivers/misc/ |
H A D | status_led.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * (C) Copyright 2000-2003 12 * target which usually boots over the network; while running in 13 * U-Boot, a status LED is blinking. As soon as a valid BOOTP reply 15 * kernel, once it is running, will start blinking the LED again, 19 /* ------------------------------------------------------------------------- */ 81 __led_init (ld->mask, ld->state); in status_led_init() 95 if (ld->state != CONFIG_LED_STATUS_BLINKING) in status_led_tick() 98 if (++ld->cnt >= ld->period) { in status_led_tick() 99 __led_toggle (ld->mask); in status_led_tick() [all …]
|
/openbmc/qemu/include/sysemu/ |
H A D | runstate.h | 4 #include "qapi/qapi-types-run-state.h" 14 typedef void VMChangeStateHandler(void *opaque, bool running, RunState state); 34 * @running: whether the VM is running or not. 37 void vm_state_notify(bool running, RunState state); 46 * think we are running. 58 * @step_pending: whether any of the CPUs is about to be single-stepped by gdb 77 /* Always keep QEMU_WAKEUP_REASON_NONE = 0 */
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/ |
H A D | Host.interface.yaml | 5 - name: RequestedHostTransition 12 - xyz.openbmc_project.State.Host.Error.BMCNotReady 13 - xyz.openbmc_project.Common.Error.NotAllowed 14 - xyz.openbmc_project.Common.Error.Unavailable 16 - name: AllowedHostTransitions 19 - const 26 - name: CurrentHostState 29 A read-only property describing the current state of the host 34 - name: RestartCause 41 - name: Transition [all …]
|
H A D | BMC.interface.yaml | 3 transition. When Ready all services required are running 8 - name: RequestedBMCTransition 14 - xyz.openbmc_project.Common.Error.Unavailable 16 - name: CurrentBMCState 19 The current state of the BMC and is a read-only property. 21 - name: LastRebootTime 27 - name: LastRebootCause 34 - name: Transition 38 - name: "Reboot" 41 - name: "HardReboot" [all …]
|
/openbmc/linux/scripts/basic/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0-only 5 hostprogs-always-y += fixdep 7 # randstruct: the seed is needed before building the gcc-plugin or 8 # before running a Clang kernel build. 9 gen-randstruct-seed := $(srctree)/scripts/gen-randstruct-seed.sh 12 $(CONFIG_SHELL) $(gen-randstruct-seed) \ 14 $(obj)/randstruct.seed: $(gen-randstruct-seed) FORCE 16 always-$(CONFIG_RANDSTRUCT) += randstruct.seed
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-navigation/gpsd/gpsd/ |
H A D | gpsd.init | 4 # Required-Start: $remote_fs $syslog $network 5 # Should-Start: bluetooth dbus udev 6 # Required-Stop: $remote_fs $syslog $network 7 # Should-Stop: 8 # Default-Start: 2 3 4 5 9 # Default-Stop: 0 1 6 10 # X-Start-Before: ntp 11 # Short-Description: GPS (Global Positioning System) daemon start/stop script 31 [ -x "$DAEMON" ] || exit 0 34 [ -r /etc/default/$NAME ] && . /etc/default/$NAME [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-filter/ulogd2/ulogd2/ |
H A D | ulogd.init | 4 # Required-Start: $local_fs 5 # Should-Start: 6 # Required-Stop: $local_fs 7 # Should-Stop: 8 # Default-Start: 2 3 4 5 9 # Default-Stop: 0 1 6 10 # Short-Description: Userspace logging daemon for netfilter/iptables 16 # restart stop and restart the service if the service is already running, 18 # try-restart restart the service if the service is already running 21 # force-reload cause the configuration to be reloaded if the service supports [all …]
|
/openbmc/openbmc/poky/documentation/test-manual/ |
H A D | reproducible-builds.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 15 build is running on. 22 <https://reproducible-builds.org/>`__, which shares information about why 27 This has always been a key focus but, :ref:`since release 3.1 ("dunfell") 28 <migration-guides/migration-3.1:reproducible builds now enabled by default>`, 37 :ref:`overview-manual/concepts:Hash Equivalence` for 38 :ref:`overview-manual/concepts:Shared State` object reuse works much more 54 - Adding mappings to the compiler options to ensure debug filepaths are mapped 56 :term:`DEBUG_PREFIX_MAP` variable which sets the ``-fmacro-prefix-map`` and 57 ``-fdebug-prefix-map`` compiler options correctly to map to target paths. [all …]
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_hv_hmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 23 * been loaded yet and hence no guests are running, or running in wait_for_subcore_guest_exit() 26 * If no KVM is in use, no need to co-ordinate among threads in wait_for_subcore_guest_exit() 27 * as all of them will always be in host and no one is going in wait_for_subcore_guest_exit() 34 if (!local_paca->sibling_subcore_state) in wait_for_subcore_guest_exit() 38 while (local_paca->sibling_subcore_state->in_guest[i]) in wait_for_subcore_guest_exit() 44 if (!local_paca->sibling_subcore_state) in wait_for_tb_resync() 48 &local_paca->sibling_subcore_state->flags)) in wait_for_tb_resync()
|
/openbmc/linux/Documentation/networking/ |
H A D | xfrm_sync.rst | 1 .. SPDX-License-Identifier: GPL-2.0 21 This way a backup stays as closely up-to-date as an active member. 25 For this reason, we also add a nagle-like algorithm to restrict 28 These thresholds are set system-wide via sysctls or can be updated 32 - the lifetime byte counter 36 - the replay sequence for both inbound and outbound 39 ---------------------- 41 nlmsghdr:aevent_id:optional-TLVs. 76 message (kernel<->user) as well the cause (config, query or event). 87 ----------------------------------------- [all …]
|
/openbmc/linux/sound/usb/ |
H A D | card.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #define SYNC_URBS 4 /* always four urbs for sync */ 16 unsigned int fmt_type; /* USB audio format type (1-3) */ 18 unsigned int frame_size; /* samples per frame for non-audio */ 68 int opened; /* open refcount; protect with chip->mutex */ 69 atomic_t running; /* running status */ member 77 atomic_t state; /* running state */ 122 unsigned int fill_max:1; /* fill max packet size always */ 131 bool lowlatency_playback; /* low-latency playback mode */ 132 bool need_setup; /* (re-)need for hw_params? */ [all …]
|