Home
last modified time | relevance | path

Searched +full:fail +full:- +full:safe (Results 1 – 25 of 210) sorted by relevance

123456789

/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Control/
H A DMode.interface.yaml3 notion of a fail-safe mode.
10 - name: Manual
14 - name: FailSafe
17 Whether the object is in fail-safe mode or not.
/openbmc/phosphor-pid-control/pid/
H A Dpidloop.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
38 zone->updateSensors(); in processThermals()
40 zone->clearSetPoints(); in processThermals()
41 zone->clearRPMCeilings(); in processThermals()
43 zone->processThermals(); in processThermals()
45 zone->determineMaxSetPointRequest(); in processThermals()
63 zone->initializeLog(); in pidControlLoop()
66 zone->initializeCache(); in pidControlLoop()
73 nextTime = timer->expiry(); in pidControlLoop()
76 uint64_t msPerFanCycle = zone->getCycleIntervalTime(); in pidControlLoop()
[all …]
H A Dzone.hpp126 /* Method for reading whether in fail-safe mode over dbus */
151 ReadReturn r = sensor->read(); in processSensorInputs()
153 int64_t timeout = sensor->getTimeout(); in processSensorInputs()
157 std::chrono::duration_cast<std::chrono::seconds>(now - then) in processSensorInputs()
182 // check if fan fail. in processSensorInputs()
183 if (sensor->getFailed()) in processSensorInputs()
185 markSensorMissing(sensorInput, sensor->getFailReason()); in processSensorInputs()
200 outputFailsafeLogWithZone(_zoneId, this->getFailSafeMode(), in processSensorInputs()
217 outputFailsafeLogWithZone(_zoneId, this->getFailSafeMode(), in processSensorInputs()
235 // Zone fail safe Percent setting by configuration.
[all …]
H A Dzone_interface.hpp52 * set the input as failsafe - to default the zone to failsafe before it
85 /** Compute the value returned by getMaxSetPointRequest - called from the
90 /** Given the set points added via addSetPoint, return the maximum value -
95 /** Return if the zone has any sensors in fail safe mode. */
98 * fail safe.
H A Dzone.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
63 auto elapsed = now - then; in allowThrottle()
101 // If any keys are present at least one sensor is in fail safe mode. in getFailSafeMode()
116 outputFailsafeLogWithZone(_zoneId, this->getFailSafeMode(), name, in markSensorMissing()
374 auto controllerID = p->getID(); in determineMaxSetPointRequest()
425 // Allow per-zone setpoint files to override overall setpoint file in determineMaxSetPointRequest()
522 // Start all fans in fail-safe mode. in initializeCache()
530 // Start all sensors in fail-safe mode. in initializeCache()
556 p->process(); in processFans()
570 p->process(); in processThermals()
[all …]
/openbmc/phosphor-pid-control/ipmi/
H A DREADME5 [0] = Subcommand, Get(0) or Set(1), Get(2) for fail-safe mode.
/openbmc/qemu/hw/remote/
H A Dmpqemu-link.c7 * See the COPYING file in the top-level directory.
14 #include "hw/remote/mpqemu-link.h"
17 #include "qemu/error-report.h"
18 #include "qemu/main-loop.h"
25 * This function is safe to call from:
26 * - main loop in co-routine context. Will block the main loop if not in
27 * co-routine context;
28 * - vCPU thread with no co-routine context and if the channel is not part
30 * - IOThread within co-routine context, outside of co-routine context
46 send[1].iov_base = (void *)&msg->data; in mpqemu_msg_send()
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/
H A Dphosphor-ipmi-host_git.bb5 LICENSE = "Apache-2.0"
8 RRECOMMENDS:${PN} += "packagegroup-obmc-ipmid-providers-libs"
9 …${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'transport-null', '', 'virtual-obmc-host-ipmi-hw',…
12 inherit obmc-phosphor-ipmiprovider-symlink
13 inherit obmc-phosphor-sdbus-service
14 inherit obmc-phosphor-systemd
15 inherit phosphor-ipmi-host
23 'VIRTUAL-RUNTIME_phosphor-ipmi-providers', True) or ''
25 whitelists = [ '{}-whitelist-native'.format(x) for x in whitelists ]
30 # ex. "example nvidia" -> -Doem-libraries="['example','nvidia']"
[all …]
/openbmc/openbmc/poky/meta/files/common-licenses/
H A DWidget-Workshop4 its documentation for NON-COMMERCIAL or COMMERCIAL purposes and
9 FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. WIDGET WORKSHOP
12 THIS SOFTWARE IS NOT DESIGNED OR INTENDED FOR USE OR RESALE AS ON-LINE
13 CONTROL EQUIPMENT IN HAZARDOUS ENVIRONMENTS REQUIRING FAIL-SAFE PERFORMANCE,
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dlog_id.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
20 #include <phosphor-logging/lg2.hpp>
61 // Note: there isn't a need to be thread safe. in generatePELID()
86 if (idFile.fail()) in generatePELID()
102 if (idFile.fail()) in generatePELID()
/openbmc/openbmc/poky/meta/recipes-devtools/gdb/gdb/
H A D0006-Fix-invalid-sigprocmask-call.patch5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 The pthread_sigmask() and sigprocmask() functions shall fail if:
16 and this is how musl-libc is currently doing. Fix the call to be safe
22 2017-03-24 Yousong Zhou <yszhou4tech@gmail.com>
24 * common/signals-state-save-restore.c (save_original_signals_state):
27 Upstream-Status: Pending [not author, cherry-picked from LEDE https://bugs.lede-project.org/index.p…
28 Signed-off-by: André Draszik <adraszik@tycoint.com>
29 Signed-off-by: Khem Raj <raj.khem@gmail.com>
[all …]
/openbmc/openbmc/poky/meta/recipes-support/attr/acl/
H A D0001-libmisc-__acl_get_uid-fix-memory-wasting-loop-if-use.patch15 process's heap memory management, but can also cause a process to fail
26 Fixes: 3737f00 ("use thread-safe getpwnam_r and getgrnam_r")
27 Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
29 Upstream-Status: Backport
30 Signed-off-by: Ross Burton <ross.burton@arm.com>
31 ---
35 diff --git a/libmisc/uid_gid_lookup.c b/libmisc/uid_gid_lookup.c
37 --- a/libmisc/uid_gid_lookup.c
39 @@ -91,6 +91,7 @@ __acl_get_uid(const char *token, uid_t *uid_p)
46 return result ? 0 : -1;
[all …]
/openbmc/phosphor-pid-control/
H A Dconf.hpp42 * with dynamic sensors from entity-manager.
81 /* The minimum set-point value we would ever want (typically in RPM) */
84 /* If the sensors are in fail-safe mode, this is the percentage to use. */
/openbmc/u-boot/drivers/misc/
H A Dmxs_ocotp.c1 // SPDX-License-Identifier: GPL-2.0+
11 * etc.) which would make common driver an ifdef nightmare :-(
19 #include <asm/arch/imx-regs.h>
36 while (--timeout) { in mxs_ocotp_wait_busy_clear()
37 reg = readl(&ocotp_regs->hw_ocotp_ctrl); in mxs_ocotp_wait_busy_clear()
44 return -EINVAL; in mxs_ocotp_wait_busy_clear()
54 writel(OCOTP_CTRL_ERROR, &ocotp_regs->hw_ocotp_ctrl_clr); in mxs_ocotp_clear_error()
63 &ocotp_regs->hw_ocotp_ctrl_set); in mxs_ocotp_read_bank_open()
74 &ocotp_regs->hw_ocotp_ctrl_clr); in mxs_ocotp_read_bank_open()
91 scale_val = readl(&power_regs->hw_power_vddioctrl); in mxs_ocotp_scale_vddio()
[all …]
/openbmc/qemu/qapi/
H A Dblock-export.json1 # -*- Mode: Python -*-
10 { 'include': 'block-core.json' }
15 # @handshake-max-seconds: Time limit, in seconds, at which a client
19 # @tls-creds: ID of the TLS credentials object (since 2.6).
21 # @tls-authz: ID of the QAuthZ authorization object used to validate
27 # @max-connections: The maximum number of connections to allow at the
33 'data': { '*handshake-max-seconds': 'uint32',
34 '*tls-creds': 'str',
35 '*tls-authz': 'str',
36 '*max-connections': 'uint32' } }
[all …]
/openbmc/qemu/include/hw/xen/interface/
H A Dgrant_table.h1 /* SPDX-License-Identifier: MIT */
6 * page-ownership transfers.
31 * This capability-based system allows shared-memory communications
43 /* Some rough guidelines on accessing and updating grant-table entries
44 * in a concurrency-safe manner. For more information, Linux contains a
46 …* http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=drivers/xen/grant-table.c;…
48 * NB. WMB is a no-op on current-generation x86 processors. However, a
52 * 1. Write ent->domid.
53 * 2. Write ent->frame:
55 * GTF_accept_transfer: Pseudo-phys frame slot being filled by new
[all …]
/openbmc/phosphor-pid-control/examples/
H A DREADME5 All sensors in phosphor-dbus-interfaces for OpenBMC use Sensor.Value as their
6 accessor. This provides read-only access to information. The goal of the
18 expected to have a writePath set, and in this current version non-fan sensors
38 host-provided sensor.
44 * This can be left blank if the sensor is read-only.
46 * If min and max are non-zero, it'll convert the value to within the range.
59 "failsafePercent": 75.0, /* The percent to use when the zone is in fail-safe mode. (double) */
62 "name": "fan1-5", /* PID name */
70 "feedFwdOffsetCoeff": 0.0, /* The feed-forward offset coefficient. (double) */
71 "feedFwdGainCoeff": 0.010, /* The feed-forward gain coefficient. (double) */
/openbmc/u-boot/lib/libavb/
H A Davb_rsa.c1 // SPDX-License-Identifier: MIT OR BSD-3-Clause
6 /* Implementation of RSA signature verification which uses a pre-processed
18 uint32_t n0inv; /* -1 / n[0] mod 2^32 */
19 uint32_t* n; /* modulus as array (host-byte order) */
20 uint32_t* rr; /* R^2 as array (host-byte order) */
34 goto fail; in iavb_parse_key_data()
40 goto fail; in iavb_parse_key_data()
46 goto fail; in iavb_parse_key_data()
57 goto fail; in iavb_parse_key_data()
60 key->len = h.key_num_bits / 32; in iavb_parse_key_data()
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/BIOSConfig/
H A DManager.interface.yaml5 https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/29320
8 - name: SetAttribute
13 - name: AttributeName
17 - name: AttributeValue
23 - xyz.openbmc_project.Common.Error.InternalFailure
24 - xyz.openbmc_project.BIOSConfig.Common.Error.AttributeReadOnly
25 - xyz.openbmc_project.BIOSConfig.Common.Error.AttributeNotFound
27 - name: GetAttribute
31 - name: AttributeName
38 - name: AttributeValueType
[all …]
/openbmc/u-boot/arch/x86/cpu/
H A Dstart.S1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * U-Boot - x86 Startup Code
5 * (C) Copyright 2008-2011
16 #include <asm/processor-flags.h>
17 #include <generated/generic-asm-offsets.h>
18 #include <generated/asm-offsets.h>
28 * This is the fail-safe 32-bit bootstrap entry point.
37 /* Turn off cache (this might require a 486-class CPU) */
43 /* Tell 32-bit code it is being entered from an in-RAM copy */
47 * Zero the BIST (Built-In Self Test) value since we don't have it.
[all …]
/openbmc/u-boot/drivers/usb/gadget/
H A Dether.c1 // SPDX-License-Identifier: GPL-2.0+
3 * ether.c -- Ethernet gadget driver, with CDC and non-CDC options
5 * Copyright (C) 2003-2005,2008 David Brownell
6 * Copyright (C) 2003-2004 Robert Schwebel, Benedikt Spranger
29 #include <dm/uclass-internal.h>
30 #include <dm/device-internal.h>
41 * Ethernet gadget driver -- with CDC and non-CDC options
47 * this USB-IF standard as its open-systems interoperability solution;
51 * TLA-soup. "CDC ACM" (Abstract Control Model) is for modems, and a new
55 * implement a "minimalist" vendor-agnostic CDC core: same framing, but
[all …]
/openbmc/phosphor-host-ipmid/
H A Dmeson.options4 'boot-flag-safe-mode-support',
6 description: 'Add option to enable/disable safe mode in boot flags',
9 'i2c-whitelist-check',
17 'softoff-busname',
23 'softoff-objpath',
29 'ipmi-sms-atn-ack-timeout-secs',
35 'ipmi-host-shutdown-complete-timeout-secs',
40 # Indicates an in-band power off or reboot request from the host
44 'host-inband-request-dir',
50 'host-inband-request-file',
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/templates/
H A Dcommand_line_builds.html6 {% block title %} Import Builds from eventlogs - Toaster {% endblock %}
10 <div class="container-fluid">
13 <div class="fa-spin">
18 <div class="col-md-12">
19 <div class="page-header">
21 <div class="col-md-6">
25 <div class="col-md-6">
26 … <button id="import_all" type="button" class="btn btn-primary navbar-btn navbar-right">
27 … <span class="glyphicon glyphicon-upload" style="vertical-align: top;"></span> Import All
34 <div class="row-fluid" id="empty-state-{{table_name}}">
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A Dtestrunner.py3 # Copyright (c) 2020-2021 Virtuozzo International GmbH
34 def silent_unlink(path: Path) -> None:
41 def file_diff(file1: str, file2: str) -> List[str]:
42 with open(file1, encoding="utf-8") as f1, \
43 open(file2, encoding="utf-8") as f2:
58 It is safe to use get() at any time. To use update(), you must either
59 use it inside with-block or use save() after update().
61 def __init__(self, cache_file: str, env: TestEnv) -> None:
67 with open(cache_file, encoding="utf-8") as f:
73 default: Optional[float] = None) -> Optional[float]:
[all …]
/openbmc/qemu/block/
H A Ddmg.c26 #include "block/block-io.h"
29 #include "qemu/error-report.h"
39 * or truncating when converting to 32-bit types
67 if (len > 4 && !strcmp(filename + len - 4, ".dmg")) { in dmg_probe()
79 ret = bdrv_pread(bs->file, offset, 8, &buffer, 0); in read_uint64()
94 ret = bdrv_pread(bs->file, offset, 4, &buffer, 0); in read_uint32()
123 switch (s->types[chunk]) { in update_max_chunk_size()
127 compressed_size = s->lengths[chunk]; in update_max_chunk_size()
128 uncompressed_sectors = s->sectorcounts[chunk]; in update_max_chunk_size()
131 uncompressed_sectors = DIV_ROUND_UP(s->lengths[chunk], 512); in update_max_chunk_size()
[all …]

123456789