/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Control/ |
H A D | Mode.interface.yaml | 3 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 D | pidloop.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 39 zone->updateSensors(); in processThermals() 41 zone->clearSetPoints(); in processThermals() 42 zone->clearRPMCeilings(); in processThermals() 44 zone->processThermals(); in processThermals() 46 zone->determineMaxSetPointRequest(); in processThermals() 62 zone->initializeLog(); in pidControlLoop() 65 zone->initializeCache(); in pidControlLoop() 72 nextTime = timer->expiry(); in pidControlLoop() 75 uint64_t msPerFanCycle = zone->getCycleIntervalTime(); in pidControlLoop() [all …]
|
H A D | zone.hpp | 114 /* Method for reading whether in fail-safe mode over dbus */ 138 ReadReturn r = sensor->read(); in processSensorInputs() 140 int64_t timeout = sensor->getTimeout(); in processSensorInputs() 144 std::chrono::duration_cast<std::chrono::seconds>(now - then) in processSensorInputs() 169 // check if fan fail. in processSensorInputs() 170 if (sensor->getFailed()) in processSensorInputs() 216 // Zone fail safe Percent setting by configuration. 237 * sensor fail safe Percent setting by each pid controller configuration.
|
H A D | zone_interface.hpp | 43 * set the input as failsafe - to default the zone to failsafe before it 76 /** Compute the value returned by getMaxSetPointRequest - called from the 81 /** Given the set points added via addSetPoint, return the maximum value - 86 /** Return if the zone has any sensors in fail safe mode. */ 89 * fail safe.
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_subset.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * f_subset.c -- "CDC Subset" Ethernet link function driver 5 * Copyright (C) 2003-2005,2008 David Brownell 29 * SA-1100 "Itsy" board, which could run Linux 2.4 kernels and supported 36 * "SAFE", which happens to have a mode which is identical to the "CDC 42 * descriptors to the CDC Subset code, making this code look like a SAFE 43 * implementation. This lets you use MCCI's host side MS-Windows drivers 60 /*-------------------------------------------------------------------------*/ 63 * "Simple" CDC-subset option is a simple vendor-neutral model that most 66 * some host side drivers will understand it as a "SAFE" variant. [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/ |
H A D | phosphor-ipmi-host_git.bb | 5 LICENSE = "Apache-2.0" 8 RRECOMMENDS:${PN} += "packagegroup-obmc-ipmid-providers-libs" 11 inherit obmc-phosphor-ipmiprovider-symlink 12 inherit obmc-phosphor-sdbus-service 13 inherit obmc-phosphor-systemd 14 inherit phosphor-ipmi-host 22 'VIRTUAL-RUNTIME_phosphor-ipmi-providers', True) or '' 24 whitelists = [ '{}-whitelist-native'.format(x) for x in whitelists ] 27 PACKAGECONFIG ??= "allowlist i2c-allowlist boot-flag-safe-mode softoff libuserlayer entity-manager-… 28 PACKAGECONFIG[dynamic-sensors] = "-Ddynamic-sensors=enabled,-Ddynamic-sensors=disabled" [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | qcom,pm8941-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/qcom,pm8941-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Switch-Mode Battery Charger and Boost 10 - Sebastian Reichel <sre@kernel.org> 15 - qcom,pm8226-charger 16 - qcom,pm8941-charger 23 - description: charge done 24 - description: charge fast mode [all …]
|
/openbmc/linux/tools/testing/selftests/fpu/ |
H A D | test_fpu.c | 1 // SPDX-License-Identifier: GPL-2.0+ 30 printf("[FAIL]\taccess with default rounding mode failed\n"); in main() 36 printf("[FAIL]\taccess with downward rounding mode failed\n"); in main() 40 printf("[FAIL]\tusermode rounding mode clobbered\n"); in main() 44 /* Note: the tests up to this point are quite safe and will only return in main() 51 printf("[FAIL]\taccess with fpu exceptions unmasked failed\n"); in main() 55 printf("[FAIL]\tusermode fpu exception mask clobbered\n"); in main()
|
/openbmc/qemu/hw/remote/ |
H A D | mpqemu-link.c | 7 * 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/linux/arch/x86/mm/ |
H A D | extable.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <asm/insn-eval.h> 29 return (unsigned long)&x->fixup + x->fixup; in ex_fixup_addr() 35 if (e->data & EX_FLAG_CLEAR_AX) in ex_handler_default() 36 regs->ax = 0; in ex_handler_default() 37 if (e->data & EX_FLAG_CLEAR_DX) in ex_handler_default() 38 regs->dx = 0; in ex_handler_default() 40 regs->ip = ex_fixup_addr(e); in ex_handler_default() 46 * and it's a page crosser into a non-existent page. 48 * This happens when we optimistically load a pathname a word-at-a-time [all …]
|
/openbmc/linux/lib/ |
H A D | locking-selftest.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * lib/locking-selftest.c 6 * mutexes and rw-semaphores. 68 * Normal standalone locks, for the circular and irq-context 151 * non-inlined runtime initializers, to let separate locks share 152 * the same lock-class: 193 * For spinlocks and rwlocks we also do hardirq-safe / softirq-safe tests. 195 * context, causing the locks to be marked as hardirq-safe/softirq-safe: 261 #define WWAI(x) do { ww_acquire_init(x, &ww_lockdep); (x)->deadlock_inject_countdown = ~0U; } whi… 276 * the same basic lock-dependency/state events: [all …]
|
/openbmc/linux/mm/ |
H A D | zpool.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 * zpool_register_driver() - register a zpool implementation. 36 atomic_set(&driver->refcount, 0); in zpool_register_driver() 37 list_add(&driver->list, &drivers_head); in zpool_register_driver() 43 * zpool_unregister_driver() - unregister a zpool implementation. 48 * exit function, this should never fail; if called from 57 refcount = atomic_read(&driver->refcount); in zpool_unregister_driver() 60 ret = -EBUSY; in zpool_unregister_driver() 62 list_del(&driver->list); in zpool_unregister_driver() 69 /* this assumes @type is null-terminated. */ [all …]
|
/openbmc/linux/tools/testing/selftests/ia64/ |
H A D | aliasing-test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * (c) Copyright 2007 Hewlett-Packard Development Company, L.P. 31 if (fd == -1) { in map_mem() 33 return -1; in map_mem() 38 if (rc == -1) in map_mem() 53 if (rc == -1) { in map_mem() 55 return -1; in map_mem() 72 return -1; in scan_tree() 76 name = namelist[i]->d_name; in scan_tree() 91 …fprintf(stderr, "PASS: %s 0x%lx-0x%lx is %s\n", path2, offset, offset + length, touch ? "readable"… in scan_tree() [all …]
|
/openbmc/linux/drivers/misc/lkdtm/ |
H A D | refcount.c | 1 // SPDX-License-Identifier: GPL-2.0 19 pr_err("Fail: refcount wrapped to %d\n", refcount_read(ref)); in overflow_check() 29 refcount_t over = REFCOUNT_INIT(REFCOUNT_MAX - 1); in lkdtm_REFCOUNT_INC_OVERFLOW() 45 refcount_t over = REFCOUNT_INIT(REFCOUNT_MAX - 1); in lkdtm_REFCOUNT_ADD_OVERFLOW() 94 pr_warn("Still at zero: refcount_inc/add() must not inc-from-0\n"); in check_zero() 97 pr_err("Fail: refcount went crazy: %d\n", refcount_read(ref)); in check_zero() 103 * zero it should either saturate (when inc-from-zero isn't protected) 104 * or stay at zero (when inc-from-zero is protected) and should WARN for both. 123 * over-sub, so we have to track our starting position instead of in check_negative() 124 * looking only at zero-pinning. in check_negative() [all …]
|
/openbmc/phosphor-pid-control/ipmi/ |
H A D | README | 5 [0] = Subcommand, Get(0) or Set(1), Get(2) for fail-safe mode.
|
/openbmc/linux/drivers/usb/chipidea/ |
H A D | otg_fsm.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #include <linux/usb/otg-fsm.h> 14 * A-DEVICE timing constants 21 * Table 4-1: Electrical Characteristics 22 * ->DC Electrical Timing 28 /* Wait for B-Connect */ 31 * and 30000 ms, section 5.5, Table 5-1 33 /* A-Idle to B-Disconnect */ 35 * TA_AIDL_BDIS: section 5.5, Table 5-1 37 /* B-Idle to A-Disconnect */ [all …]
|
/openbmc/linux/Documentation/arch/ia64/ |
H A D | aliasing.rst | 2 Memory Attribute Aliasing on IA-64 19 WB Write-back (cacheable) 21 WC Write-coalescing 25 used for memory-mapped I/O devices. The WC attribute is uncacheable 41 supported attributes for each region. At boot-time, the kernel uses 62 boot-time information is required for kexec. 75 Therefore, kern_memmap contains only full granule-sized regions that 97 ---------------- 112 ----------------------------------------- 127 ------------------------------ [all …]
|
/openbmc/openbmc/poky/meta/files/common-licenses/ |
H A D | Widget-Workshop | 4 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/linux/drivers/gpu/drm/v3d/ |
H A D | v3d_gem.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* Copyright (C) 2014-2018 Broadcom */ 5 #include <linux/dma-mapping.h> 30 if (v3d->ver < 40) in v3d_init_core() 56 DRM_ERROR("Failed to wait for safe GMP shutdown\n"); in v3d_idle_axi() 63 if (v3d->ver >= 41) in v3d_idle_gca() 71 DRM_ERROR("Failed to wait for safe GCA shutdown\n"); in v3d_idle_gca() 85 /* GFXH-1383: The SW_INIT may cause a stray write to address 0 in v3d_reset_by_bridge() 86 * of the unit, so reset it to its power-on value here. in v3d_reset_by_bridge() 101 if (v3d->reset) in v3d_reset_v3d() [all …]
|
/openbmc/linux/include/linux/ |
H A D | percpu-refcount.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * This implements a refcount with similar semantics to atomic_t - atomic_inc(), 8 * atomic_dec_and_test() - but percpu. 15 * The refcount will have a range of 0 to ((1U << 31) - 1), i.e. one bit less 16 * than an atomic_t - this is because of the way shutdown works, see 20 * refcount hitting 0 - it can't, if it was in percpu mode. percpu_ref_kill() 24 * it's safe to drop the initial ref. 35 * and it's then safe to drop the initial ref with percpu_ref_put(). 44 * once - percpu_ref_kill() does this for you, it returns true once and false if 62 /* flags set in the lower bits of percpu_ref->percpu_count_ptr */ [all …]
|
/openbmc/linux/arch/s390/kernel/ |
H A D | uv.c | 1 // SPDX-License-Identifier: GPL-2.0 53 return -1; in uv_init() 71 goto fail; in setup_uv() 76 goto fail; in setup_uv() 82 fail: in setup_uv() 100 return -EINVAL; in uv_pin_shared() 123 * page. Let us emulate the newer variant (no-op). in uv_destroy_page() 127 return -EINVAL; in uv_destroy_page() 143 clear_bit(PG_arch_1, &page->flags); in uv_destroy_owned_page() 163 return -EINVAL; in uv_convert_from_secure() [all …]
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | log_id.cpp | 8 * 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/linux/arch/um/include/asm/ |
H A D | fixmap.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * Here we define all the compile-time 'special' virtual 16 * Also this lets us do fail-safe vmalloc(), we 18 * vmalloc()-ed addresses never overlap. 20 * these 'compile-time allocated' memory buffers are 21 * fixed-size 4k pages. (or larger if used with an increment 33 * fix-mapped? 50 #define FIXADDR_TOP (TASK_SIZE - 2 * PAGE_SIZE) 52 #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE) 54 #include <asm-generic/fixmap.h>
|
/openbmc/linux/arch/um/drivers/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 14 The User-Mode Linux environment allows you to create virtual serial 18 See <http://user-mode-linux.sourceforge.net/old/input.html> for more 38 It is safe to say 'Y' here. 44 lines to host pseudo-terminals. Access to both traditional 45 pseudo-terminals (/dev/pty*) and pts pseudo-terminals are controlled 48 It is safe to say 'Y' here. 55 (/dev/tty*) and the slave side of pseudo-terminals (/dev/ttyp* and 57 It is safe to say 'Y' here. 65 It is safe to say 'Y' here. [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | ehci-mem.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /* this file is part of ehci-hcd.c */ 8 /*-------------------------------------------------------------------------*/ 12 * - data used only by the HCD ... kmalloc is fine 13 * - async and periodic schedules, shared by HC and HCD ... these 15 * - driver buffers, read/written by HC ... single shot DMA mapped 21 /*-------------------------------------------------------------------------*/ 29 qtd->qtd_dma = dma; in ehci_qtd_init() 30 qtd->hw_token = cpu_to_hc32(ehci, QTD_STS_HALT); in ehci_qtd_init() 31 qtd->hw_next = EHCI_LIST_END(ehci); in ehci_qtd_init() [all …]
|