/openbmc/linux/include/uapi/linux/ |
H A D | dcbnl.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * Copyright (c) 2008-2011, Intel Corporation. 16 * Place - Suite 330, Boston, MA 02111-1307 USA. 30 #define IEEE_8021QAZ_TSA_CB_SHAPER 1 42 * @prio_tc: priority assignment table mapping 8021Qp to traffic class 50 * ---- 52 * 0 strict priority 53 * 1 credit-based shaper 55 * 3-254 reserved 94 * given in u-seconds [all …]
|
H A D | ioprio.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 9 * Gives us 8 prio classes with 13-bits of data for each class 13 #define IOPRIO_CLASS_MASK (IOPRIO_NR_CLASSES - 1) 14 #define IOPRIO_PRIO_MASK ((1UL << IOPRIO_CLASS_SHIFT) - 1) 21 * These are the io priority classes as implemented by the BFQ and mq-deadline 23 * ATA disks supporting NCQ IO priority, RT class IOs will be processed using 24 * high priority NCQ commands. BE is the best-effort scheduling class, the 30 IOPRIO_CLASS_RT = 1, 39 * The RT and BE priority classes both support up to 8 priority levels that 40 * can be specified using the lower 3-bits of the priority data. [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/logging/phosphor-logging/p10bmc/ |
H A D | com.ibm.Hardware.Chassis.Model.Rainier2U_dev_callouts.json | 6 "LocationCode":"P0-C5", 7 "MRU":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/BMC-0", 8 "Name":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0", 9 "Priority":"H" string 12 "LocationCode":"P0-C15", 13 "MRU":"/sys-0/node-0/nisqually-0/proc_socket-0/godel-0/power10", 14 "Name":"/sys-0/node-0/nisqually-0/proc_socket-0/godel-0", 15 "Priority":"H" string 19 "Name":"/sys-0/node-0/nisqually-0", 20 "Priority":"L" string [all …]
|
H A D | com.ibm.Hardware.Chassis.Model.Rainier4U_dev_callouts.json | 6 "LocationCode":"P0-C5", 7 "MRU":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0/BMC-0", 8 "Name":"/sys-0/node-0/nisqually-0/ebmc-card-connector-0/ingraham-0", 9 "Priority":"H" string 12 "LocationCode":"P0-C15", 13 "MRU":"/sys-0/node-0/nisqually-0/proc_socket-0/godel-0/power10", 14 "Name":"/sys-0/node-0/nisqually-0/proc_socket-0/godel-0", 15 "Priority":"H" string 19 "Name":"/sys-0/node-0/nisqually-0", 20 "Priority":"L" string [all …]
|
H A D | com.ibm.Hardware.Chassis.Model.Everest_dev_callouts.json | 6 "LocationCode":"P0-C0", 7 "MRU":"/sys-0/node-0/bellavista-0/eBMC-card-conn-0/Tola-0/bmc-0", 8 "Name":"/sys-0/node-0/bellavista-0/eBMC-card-conn-0/Tola-0", 9 "Priority":"H" string 12 "LocationCode":"P0-C61", 13 "MRU":"/sys-0/node-0/bellavista-0/proc_socket-0/godel-0/power10", 14 "Name":"/sys-0/node-0/bellavista-0/proc_socket-0/godel-0", 15 "Priority":"H" string 19 "Name":"/sys-0/node-0/bellavista-0", 20 "Priority":"L" string [all …]
|
H A D | com.ibm.Hardware.Chassis.Model.Bonnell_dev_callouts.json | 6 "LocationCode":"P0-C5", 7 "Name":"/sys-0/node-0/pennybacker-0/proc_socket-0/godel-0/power10-0", 8 "Priority":"H" string 12 "Name":"/sys-0/node-0/pennybacker-0/bmc-0", 13 "Priority":"L" string 16 "Dest":"/sys-0/node-0/pennybacker-0/proc_socket-0/godel-0/power10-0", 17 "Source":"/sys-0/node-0/pennybacker-0/bmc-0" 19 "0-0":{ 22 "LocationCode":"P0-C5", 23 "Name":"/sys-0/node-0/pennybacker-0/proc_socket-0/godel-0/power10-0", [all …]
|
/openbmc/phosphor-webui/app/server-health/styles/ |
H A D | log.scss | 1 // Priority tags 2 $priority-high: $accent-04--01; 3 $priority-high--light: $accent-04--02; 4 $priority-medium: $accent-03--01; 5 $priority-medium--light: $accent-03--03; 6 $priority-low: $accent-01--01; 7 $priority-low--light: $accent-01--03; 8 $prioriy-resolved: $base-02--02; 9 $priority-resolve--light: $base-02--04; 12 #event-log { [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | test_cgrp2_sock.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 CGRP_MNT="/tmp/cgroupv2-test_cgrp2_sock" 14 local rc=$1 17 [ $rc -ne 0 ] && status="FAIL" 19 printf "%-50s [%4s]\n" "$2" "$status" 25 echo $out | grep -q "$1" 26 if [ $? -ne 0 ]; then 27 print_result 1 "IPv4: $2" 28 echo " expected: $1" 30 rc=1 [all …]
|
/openbmc/docs/designs/ |
H A D | ocp-led-policy-support.md | 12 OpenBMC must support the [OCP LED Policy](#background-and-references). Currently 14 existing services like phosphor-led-manager. 16 ### Example ([Spec](#background-and-references) 6.2. System General Status) 21 | ---------- | ------------- | ----------------------------------------------- | 22 | 1 | 0 | "All OK" | 23 | 0 | 1 | "Module missing / fault" | 24 | 1 | 1 | LED Priority (cannot represent the fault state) | 29 | --- | ----- | ------------- | 31 | 1 | 0 | assert ok | 32 | 1 | 1 | assert fault | [all …]
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | registry_test.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 16 #include "extensions/openpower-pels/registry.hpp" 96 "Message": "PS %1 had a PGOOD Fault", 228 EXPECT_EQ(entry->name, "xyz.openbmc_project.Power.OverVoltage"); in TEST_F() 229 EXPECT_EQ(entry->subsystem, 0x62); in TEST_F() 231 ASSERT_EQ(entry->severity->size(), 3); in TEST_F() 232 EXPECT_EQ((*entry->severity)[0].severity, 0x40); in TEST_F() 233 EXPECT_EQ((*entry->severity)[0].system, "systemA"); in TEST_F() 234 EXPECT_EQ((*entry->severity)[1].severity, 0x10); in TEST_F() 235 EXPECT_EQ((*entry->severity)[1].system, "systemB"); in TEST_F() [all …]
|
H A D | mru_test.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 16 #include "extensions/openpower-pels/mru.hpp" 28 0x00, 0x00, 0x00, 'H', // priority for MRU ID 0 in TEST() 30 0x00, 0x00, 0x00, 'M', // priority for MRU ID 1 in TEST() 31 0x02, 0x02, 0x02, 0x02, // MRU ID 1 in TEST() 32 0x00, 0x00, 0x00, 'L', // priority for MRU ID 2 in TEST() 34 0x00, 0x00, 0x00, 'H', // priority for MRU ID 3 in TEST() 46 EXPECT_EQ(mru.mrus().at(0).priority, 'H'); in TEST() 48 EXPECT_EQ(mru.mrus().at(1).priority, 'M'); in TEST() 49 EXPECT_EQ(mru.mrus().at(1).id, 0x02020202); in TEST() [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Software/ |
H A D | RedundancyPriority.interface.yaml | 2 The priority, for redundancy purposes, of the associated 5 - name: Priority 8 The priority order specified for the associated Software.Version, 10 above 127 has implementation-specific purpose. 13 particular priority. A requested priority change may cause other 14 Software.Versions to change priority. 16 A dual-sided redundancy model could be represented by two 17 Software.Version associations, one of which is at priority 0 and the 18 other at priority 1. When a new image is Activated, the old 19 priority-1 association is deleted, the old priority-0 association [all …]
|
/openbmc/linux/Documentation/virt/kvm/devices/ |
H A D | xics.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 1. KVM_DEV_XICS_GRP_SOURCES 25 -EINVAL Value greater than KVM_MAX_VCPU_IDS. 26 -EFAULT Invalid user pointer for attr->addr. 27 -EBUSY A vcpu is already connected to the device. 32 sources, each identified by a 20-bit source number, and a set of 39 point of view) in args[1] of the kvm_enable_cap struct. Each ICP has 43 least-significant end of the word: 47 * Pending interrupt priority, 8 bits 48 Zero is the highest priority, 255 means no interrupt is pending. [all …]
|
/openbmc/linux/tools/power/cpupower/bench/ |
H A D | system.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* cpufreq-bench CPUFreq microbenchmark 43 * @retval -1 when failed 51 if (cpupower_is_cpu_online(cpu) != 1) { in set_cpufreq_governor() 54 return -1; in set_cpufreq_governor() 60 return -1; in set_cpufreq_governor() 72 * @retval -1 when setting the affinity failed 87 return -1; in set_cpu_affinity() 94 * sets the process priority parameter 96 * @param priority priority value [all …]
|
/openbmc/linux/Documentation/locking/ |
H A D | rt-mutex.rst | 2 RT-mutex subsystem with PI support 5 RT-mutexes with priority inheritance are used to support PI-futexes, 6 which enable pthread_mutex_t priority inheritance attributes 7 (PTHREAD_PRIO_INHERIT). [See Documentation/locking/pi-futex.rst for more details 8 about PI-futexes.] 10 This technology was developed in the -rt tree and streamlined for 14 ----------------- 16 RT-mutexes extend the semantics of simple mutexes by the priority 19 A low priority owner of a rt-mutex inherits the priority of a higher 20 priority waiter until the rt-mutex is released. If the temporarily [all …]
|
/openbmc/linux/Documentation/admin-guide/pm/ |
H A D | intel-speed-select.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 - https://www.intel.com/content/www/us/en/architecture-and-technology/speed-select-technology-artic… 15 - https://builders.intel.com/docs/networkbuilders/intel-speed-select-technology-base-frequency-enha… 19 dynamically without pre-configuring via BIOS setup options. This dynamic 29 intel-speed-select configuration tool 32 Most Linux distribution packages may include the "intel-speed-select" tool. If not, 38 # cd tools/power/x86/intel-speed-select/ 43 ------------ 47 # intel-speed-select --help 49 The top-level help describes arguments and features. Notice that there is a [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-g-priority.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_G_PRIORITY - VIDIOC_S_PRIORITY - Query or request the access priority associated with a file… 38 To query the current access priority applications call the 40 variable where the driver stores the current priority. 42 To request an access priority applications store the desired priority in 50 .. flat-table:: enum v4l2_priority 51 :header-rows: 0 52 :stub-columns: 0 53 :widths: 3 1 4 55 * - ``V4L2_PRIORITY_UNSET`` [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | pl190.c | 18 /* The number of virtual priority levels. 16 user vectors plus the 37 /* Mask containing interrupts with higher priority than this one. */ 38 uint32_t prio_mask[PL190_NUM_PRIO + 1]; 40 /* Current priority level. */ 41 int priority; member 52 return (s->level | s->soft_level) & s->irq_enable & ~s->fiq_select; in pl190_irq_level() 61 set = (level & s->prio_mask[s->priority]) != 0; in pl190_update() 62 qemu_set_irq(s->irq, set); in pl190_update() 63 set = ((s->level | s->soft_level) & s->fiq_select) != 0; in pl190_update() 64 qemu_set_irq(s->fiq, set); in pl190_update() [all …]
|
/openbmc/phosphor-webui/app/common/directives/ |
H A D | log-event.html | 1 <div class="row column event-log__single-event" 2 ng-class="{'active': event.meta, 'selected': event.selected}"> 4 <div class="inline__confirm" ng-class="{active: event.confirm}"> 5 <div class="inline__confirm-message"> 6 …<p class="h3"><i></i>Are you sure you want to <strong class="ng-binding">delete this event</strong… 8 <div class="inline__confirm-buttons"> 9 <button class="btn-primary" ng-click="accept(event)">Yes</button> 10 <button class="btn-primary" ng-click="event.confirm=false;">No</button> 14 <div class="column small-1 large-2 event-log__col-check"> 15 <label class="control-check"> [all …]
|
/openbmc/linux/arch/powerpc/include/asm/vdso/ |
H A D | processor.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 /* Macros for adjusting thread priority (hardware multi-threading) */ 9 #define HMT_very_low() asm volatile("or 31, 31, 31 # very low priority") 10 #define HMT_low() asm volatile("or 1, 1, 1 # low priority") 11 #define HMT_medium_low() asm volatile("or 6, 6, 6 # medium low priority") 12 #define HMT_medium() asm volatile("or 2, 2, 2 # medium priority") 13 #define HMT_medium_high() asm volatile("or 5, 5, 5 # medium high priority") 14 #define HMT_high() asm volatile("or 3, 3, 3 # high priority") 27 /* Pre-POWER10 uses low ; medium priority nops */ \ 28 "or 1,1,1 ; or 2,2,2", \
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_bpf.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #define LO_IFINDEX 1 12 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_h, .handle = 1); \ 13 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_p, .priority = 1); \ 15 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hp, .handle = 1, .priority = 1); \ 16 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hf, .handle = 1, .prog_fd = __fd); \ 17 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_pf, .priority = 1, .prog_fd = __fd); \ 18 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpf, .handle = 1, .priority = 1, .prog_fd = __fd); \ 19 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpi, .handle = 1, .priority = 1, .prog_id = 42); \ 20 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpr, .handle = 1, .priority = 1, \ [all …]
|
/openbmc/linux/net/mac80211/ |
H A D | wme.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2013-2014 Intel Mobile Communications GmbH 36 switch (skb->priority) { in wme_downgrade_ac() 39 skb->priority = 5; /* VO -> VI */ in wme_downgrade_ac() 43 skb->priority = 3; /* VI -> BE */ in wme_downgrade_ac() 47 skb->priority = 2; /* BE -> BK */ in wme_downgrade_ac() 50 return -1; in wme_downgrade_ac() 55 * ieee80211_fix_reserved_tid - return the TID to use if this one is reserved 56 * @tid: the assumed-reserved TID 65 case 1: in ieee80211_fix_reserved_tid() [all …]
|
/openbmc/linux/arch/mips/kvm/ |
H A D | interrupt.c | 26 unsigned long *pending = &vcpu->arch.pending_exceptions; in kvm_mips_deliver_interrupts() 27 unsigned long *pending_clr = &vcpu->arch.pending_exceptions_clr; in kvm_mips_deliver_interrupts() 28 unsigned int priority; in kvm_mips_deliver_interrupts() local 33 priority = __ffs(*pending_clr); in kvm_mips_deliver_interrupts() 34 while (priority <= MIPS_EXC_MAX) { in kvm_mips_deliver_interrupts() 35 kvm_mips_callbacks->irq_clear(vcpu, priority, cause); in kvm_mips_deliver_interrupts() 37 priority = find_next_bit(pending_clr, in kvm_mips_deliver_interrupts() 39 priority + 1); in kvm_mips_deliver_interrupts() 42 priority = __ffs(*pending); in kvm_mips_deliver_interrupts() 43 while (priority <= MIPS_EXC_MAX) { in kvm_mips_deliver_interrupts() [all …]
|
/openbmc/linux/Documentation/admin-guide/mm/ |
H A D | swap_numa.rst | 13 Swap device has priority and that decides the order of it to be used. To make 14 use of automatically binding, there is no need to manipulate priority settings 16 swapB, with swapA attached to node 0 and swapB attached to node 1, are going 23 node 1 will use the two swap devices in the order of swapB then swapA. Note 28 node 1, swapD and swapE are attached to node 2 and swapF is attached to node3. 40 swapA/swapB -> swapC -> swapD -> swapE -> swapF 44 node 1 will use them in the order of:: 46 swapC -> swapA -> swapB -> swapD -> swapE -> swapF 50 swapD/swapE -> swapA -> swapB -> swapC -> swapF 57 swapF -> swapA -> swapB -> swapC -> swapD -> swapE [all …]
|
/openbmc/obmc-ikvm/ |
H A D | .clang-format | 1 --- 4 AccessModifierOffset: -2 12 OverEmptyLines: 1 62 - foreach 63 - Q_FOREACH 64 - BOOST_FOREACH 67 - Regex: '^[<"](gtest|gmock)' 68 Priority: 7 69 - Regex: '^"config.h"' 70 Priority: -1 [all …]
|