/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | ti,drv260x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Texas Instruments - drv260x Haptics driver family 10 - Andrew Davis <afd@ti.com> 15 - ti,drv2604 16 - ti,drv2605 17 - ti,drv2605l 22 vbat-supply: 30 (defined in include/dt-bindings/input/ti-drv260x.h) [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_sel_time.robot | 3 Documentation Module to test IPMI SEL Time functionality. 4 ... Pre-requisite Condition : Client Machine and BMC should be in 10 ... Test the Set/Get SEL Time functionality and compare the result against 13 ... Set the Time Sync Mode from NTP to Manual to Set SEL Time. 18 ... NETWORK_RESTART_TIME added for Set SEL Time and Add SEL Entry as the corresponding 21 ... Current SEL time identified via BMC Native command (date) and perform SEL Time ope… 23 ... Script Verifies SEL Time for various scenarios such as, 27 ... Add SEL Entry for all the above scenarios and compare against BMC native command (… 31 Library DateTime keyword 32 Library Collections keyword [all …]
|
H A D | test_ipmi_sel.robot | 3 Documentation Module to test IPMI SEL functionality. 8 Library ../lib/ipmi_utils.py keyword 9 Library ../lib/logging_utils.py keyword 20 # Based on 13th byte of add SEL entry command as per IPMI spec 22 ${sel_no_entry_msg} SEL has no entries 23 ${event_type} Lower Non-critical going low 28 Verify IPMI SEL Version 29 [Documentation] Verify IPMI SEL's version info. 31 ${version_info}= Get IPMI SEL Setting Version 39 Verify Empty SEL [all …]
|
H A D | test_ipmi_watchdog.robot | 7 Library ../lib/ipmi_utils.py keyword 8 Library String keyword 9 Library Collections keyword 60 Test IPMI Watchdog Timer Pre-Timeout Interrupt Bits 61 [Documentation] Execute out of band set/get pre-timeout interrupt bits for watchdog timer. 62 [Tags] Test_IPMI_Watchdog_Timer_Pre-Timeout_Interrupt_Bits 107 [Template] Validate Watchdog Timer Actions And SEL Events 109 # set action command power state SEL event 134 # Start_timer_value is bits 6 - 7; set to 0x64 0x00 (100 ms decimal). 135 # Reverse bits 6 - 7 due to BMC being little endian; new value is 0x00 0x64. [all …]
|
H A D | test_ipmi_user.robot | 7 Library ../lib/ipmi_utils.py keyword 81 ${index}= Evaluate ${random_userid} - 1 389 …... sel info ${secondary_channel_number} expected_rc=${1} U=${random_username} P=${valid_passw… 484 Run IPMI Standard Command sel list 582 ... sel info ${channel} expected_rc=${expected_rc} U=${username} P=${password} 663 ${root_userid}= Set Variable ${-1}
|
/openbmc/openbmc-test-automation/lib/ |
H A D | ipmi_client.robot | 4 ... command. IPMI raw command will use dbus-send command 10 Library String keyword 11 Library var_funcs.py keyword 12 Library ipmi_client.py keyword 13 Library ../lib/bmc_ssh_utils.py keyword 16 ${dbusHostIpmicmd1}= dbus-send --system ${OPENBMC_BASE_URI}HostIpmi/1 22 ${IPMI_INBAND_CMD}= ipmitool -C ${IPMI_CIPHER_LEVEL} -N ${IPMI_TIMEOUT} -p ${IPMI_PORT} 23 ${HOST}= -H 40 # -C=3, -I=lanplus, etc.). Currently, only 64 # -C=3, -I=lanplus, etc.). Currently, only [all …]
|
H A D | energy_scale_utils.robot | 8 Library ../lib/var_funcs.py keyword 19 # GET request of /redfish/v1/Chassis/chassis/EnvironmentMetrics | grep -A5 Power 39 # Exception actions: Hard Power Off & Log Event to SEL 181 ${cmd}= Catenate wget --no-check-certificate 182 ... -O/tmp/occtoolp9 --content-disposition 183 ... https://github.com/open-power/occ/raw/master/src/tools/occtoolp9
|
/openbmc/linux/drivers/input/misc/ |
H A D | drv260x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <dt-bindings/input/ti-drv260x.h> 60 /* Library Selection */ 169 * struct drv260x_data - 178 * @library: The vibration library to be used 191 u32 library; member 215 gpiod_set_value(haptics->enable_gpio, 1); in drv260x_worker() 219 error = regmap_write(haptics->regmap, in drv260x_worker() 222 dev_err(&haptics->client->dev, in drv260x_worker() 225 error = regmap_write(haptics->regmap, in drv260x_worker() [all …]
|
/openbmc/qemu/target/mips/tcg/sysemu/ |
H A D | cp0_helper.c | 2 * Helpers for emulation of CP0-related MIPS instructions. 4 * Copyright (C) 2004-2005 Jocelyn Mayer 8 * This library is free software; you can redistribute it and/or 13 * This library is distributed in the hope that it will be useful, 19 * License along with this library; if not, see <http://www.gnu.org/licenses/>. 25 #include "qemu/main-loop.h" 28 #include "qemu/host-utils.h" 29 #include "exec/helper-proto.h" 30 #include "exec/exec-all.h" 37 CPUMIPSState *env = &c->env; in mips_vpe_is_wfi() [all …]
|
/openbmc/ipmitool/control/ |
H A D | ipmitool.spec.in | 2 Summary: ipmitool - Utility for IPMI control 8 Source: %{name}-%{version}.tar.gz 9 Buildroot: /var/tmp/ipmitool-root 16 This utility can communicate with IPMI-enabled devices through either a 19 communications and remote Serial-over-LAN functionality. 23 Log (SEL), printing Field Replaceable Unit (FRU) information, reading and 28 rm -rf $RPM_BUILD_ROOT 34 ./configure --with-kerneldir \ 35 --with-rpm-distro=@DISTRO@ \ 36 --prefix=%{_prefix} \ [all …]
|
/openbmc/ipmitool/ |
H A D | README | 4 ipmitool-devel@lists.sourceforge.net 16 The ipmitool program provides a simple command-line interface to this BMC. 18 sensor values, display the contents of the System Event Log (SEL), print 26 Microsystems. Sun had just embarked on a new line of general-purpose x86 29 feature for my systems in the lab and from there it grew into a multi- 33 ipmitool was not written to provide large-scale (aka Enterprise) management 37 who like the simplicity and scriptability of command-line utilities, as 44 that supports the IPMI specification. Many x86-based servers are now 55 ---------------- 57 enough to allow a single well-designed driver to support them all. [all …]
|
H A D | ChangeLog | 1 version 1.8.15 2014-11-24 2 * ID: 340 - ipmitool sol session improperly closes on packet retry 3 * ID: 277 - support for hostnames longer than 64 chars 4 * ID: 313 - ipmitool doesn't support hostname long than 64 symbols 5 * ID: 277 - Minor issue with ipmi_intf_session_set_hostname() 6 * ID: 247 - 'sensor thresh' help output is wrong 7 * ID: 324 - conflicting declaration write_fru_area() 8 * ID: 337 - Add support for 13G Dell PowerEdge 9 * ID: 325 - DDR4 DIMM Decoding Logic 10 * ID: 328 - HPM.2 fixes [all …]
|
/openbmc/docs/designs/ |
H A D | event-logging.md | 3 Author: [Patrick Williams][patrick-email] `<stwcx>` 5 [patrick-email]: mailto:patrick@stwcx.xyz 13 There is currently not a consistent end-to-end error and event reporting design 15 primarily using phosphor-logging and one using rsyslog, both of which have gaps 17 end-to-end design handling both errors and tracing events which facilitate 26 of the IPMI "System Event Log (SEL)". 28 The IPMI SEL is the location where the BMC can collect errors and events, 30 be "DIMM-A0 encountered an uncorrectable ECC error" or "System boot successful". 31 These SEL records are exposed as human readable strings, either natively by a 32 OEM SEL design or by tools such as `ipmitool`, which are typically unique to [all …]
|
/openbmc/openbmc-test-automation/redfish/systems/eventlog/ |
H A D | test_event_logging.robot | 9 Library ../../../lib/logging_utils.py keyword 105 # "Created": "2019-05-29T13:19:27+00:00", 107 # "Id": "1", <----- Event log ID 166 # "Created": "2023-05-10T10:26:02.186+00:00", <--- Time stamp 194 # TODO: openbmc/openbmc-test-automation#1789 215 # "Created": "2023-05-10T10:26:02.186+00:00", 219 # "Modified": "2023-05-10T10:26:02.186+00:00", 236 Verify IPMI SEL Delete 237 [Documentation] Verify IPMI SEL delete operation. 243 ${sel_list}= Run IPMI Standard Command sel list [all …]
|
/openbmc/phosphor-logging/docs/ |
H A D | structured-logging.md | 4 [log](../lib/include/phosphor-logging/log.hpp) and 5 [lg2](../lib/include/phosphor-logging/lg2.hpp). If your code is C++20 (or later) 12 logging where logged events are free-form strings. 14 The principal logging daemon in OpenBMC (systemd-journald) natively supports 17 consumed. For example, one implementation of the IPMI SEL utilizes specific 18 journal structured data to stored and later retrieve SEL events. 22 of various failure-analysis operations, either on the part of a system 23 manufacturer or an end-user, to need to interrogate the system logs to determine 39 accepted log-levels and their definition is historically documented in 44 The pre-C++20 logging APIs presented by phosphor-logging are [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | ioapic_common.c | 2 * IOAPIC emulation logic - common bits of emulated and KVM kernel model 4 * Copyright (c) 2004-2005 Fabrice Bellard 8 * This library is free software; you can redistribute it and/or 13 * This library is distributed in the hope that it will be useful, 19 * License along with this library; if not, see <http://www.gnu.org/licenses/>. 41 if (level != s->irq_level[irq]) { in ioapic_stat_update_irq() 42 s->irq_level[irq] = level; in ioapic_stat_update_irq() 44 s->irq_count[irq]++; in ioapic_stat_update_irq() 55 *irq_counts = s->irq_count; in ioapic_get_statistics() 65 g_string_append_printf(buf, "%-10s ", name); in ioapic_irr_dump() [all …]
|
/openbmc/openbmc/meta-phosphor/conf/distro/include/ |
H A D | phosphor-defaults.inc | 5 # obmc-bmc-state-manager 9 VIRTUAL-RUNTIME_obmc-bmc-state-manager ?= "phosphor-state-manager-bmc" 11 # obmc-chassis-state-manager 15 VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "phosphor-state-manager-chassis" 17 # obmc-host-state-manager 21 VIRTUAL-RUNTIME_obmc-host-state-manager ?= "phosphor-state-manager-host" 23 # obmc-discover-system-state 25 # Provides an implementation of phosphor-discover-system-state, which, if the 28 VIRTUAL-RUNTIME_obmc-discover-system-state ?= "phosphor-state-manager-discover" 30 # obmc-fan-presence [all …]
|
/openbmc/ipmitool/doc/ |
H A D | ipmitool.1 | 3 ipmitool \- utility for controlling IPMI\-enabled devices 6 ipmitool [ <options> ] <command> [ <sub-commands and sub-options> ] 8 <options> := [ <general-options> | <conditional-opts> ] 13 <general-options> := [ -h | -V | -v | -I <interface> | -H <address> | 14 -d <N> | -p <port> | -c | -U <username> | 15 -L <privlvl> | -l <lun> | -m <local_address> | 16 -N <sec> | -R <count> | <password-option> | 17 <oem-option> | <bridge-options> ] 19 <conditional-opts> := [ <lan-options> | <lanplus-options> | 20 <command-options> ] [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_progs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 44 if (verbose() && env.worker_id == -1) { in stdio_hijack_init() 60 env.subtest_state->stdout = stdout; in stdio_hijack_init() 62 env.test_state->stdout = stdout; in stdio_hijack_init() 71 if (verbose() && env.worker_id == -1) { in stdio_hijack() 86 if (verbose() && env.worker_id == -1) { in stdio_restore_cleanup() 94 fclose(env.subtest_state->stdout); in stdio_restore_cleanup() 95 env.subtest_state->stdout = NULL; in stdio_restore_cleanup() 96 stdout = env.test_state->stdout; in stdio_restore_cleanup() 97 stderr = env.test_state->stdout; in stdio_restore_cleanup() [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate-sme.c | 6 * This library is free software; you can redistribute it and/or 11 * This library is distributed in the hope that it will be useful, 17 * License along with this library; if not, see <http://www.gnu.org/licenses/>. 22 #include "translate-a64.h" 28 #include "decode-sme.c.inc" 38 int tile = tile_index >> (4 - esz); in get_tile_rowcol() 39 int index = esz == MO_128 ? 0 : extract32(tile_index, 0, 4 - esz); in get_tile_rowcol() 49 /* Prepare a power-of-two modulo via extraction of @len bits. */ in get_tile_rowcol() 50 len = ctz32(streaming_vec_reg_size(s)) - esz; in get_tile_rowcol() 65 * Perform the power-of-two modulo via extraction of the low @len bits. in get_tile_rowcol() [all …]
|
/openbmc/qemu/target/mips/tcg/ |
H A D | translate.c | 2 * MIPS emulation for QEMU - main translation routines 4 * Copyright (c) 2004-2005 Jocelyn Mayer 9 * Copyright (c) 2020 Philippe Mathieu-Daudé 11 * This library is free software; you can redistribute it and/or 16 * This library is distributed in the hope that it will be useful, 22 * License along with this library; if not, see <http://www.gnu.org/licenses/>. 28 #include "exec/helper-proto.h" 29 #include "exec/translation-block.h" 35 #include "exec/helper-info.c.inc" 40 * Many sysemu-only helpers are not reachable for user-only. [all …]
|
/openbmc/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-apq8026-huawei-sturgeon.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include "qcom-msm8226.dtsi" 10 #include <dt-bindings/input/ti-drv260x.h> 12 /delete-node/ &adsp_region; 17 chassis-type = "watch"; 18 qcom,msm-id = <199 0x20000>; 19 qcom,board-id = <8 4>; 21 reserved-memory { 24 no-map; [all …]
|
/openbmc/linux/drivers/ata/ |
H A D | libata.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * libata.h - helper library for ATA 5 * Copyright 2003-2004 Red Hat, Inc. All rights reserved. 6 * Copyright 2003-2004 Jeff Garzik 9 * as Documentation/driver-api/libata.rst 18 /* libata-core.c */ 68 extern int ata_down_xfermask_limit(struct ata_device *dev, unsigned int sel); 90 /* libata-acpi.c */ 112 /* libata-scsi.c */ 135 /* libata-eh.c */ [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api_kunit.c | 1 // SPDX-License-Identifier: BSD-3-Clause 39 if (kslist->cnt > 0) { in test_val_keyset() 40 switch (admin->vtype) { in test_val_keyset() 42 for (idx = 0; idx < kslist->cnt; idx++) { in test_val_keyset() 43 if (kslist->keysets[idx] == VCAP_KFS_ETAG) in test_val_keyset() 44 return kslist->keysets[idx]; in test_val_keyset() 45 if (kslist->keysets[idx] == VCAP_KFS_PURE_5TUPLE_IP4) in test_val_keyset() 46 return kslist->keysets[idx]; in test_val_keyset() 47 if (kslist->keysets[idx] == VCAP_KFS_NORMAL_5TUPLE_IP4) in test_val_keyset() 48 return kslist->keysets[idx]; in test_val_keyset() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8996-xiaomi-gemini.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 9 #include "msm8996-xiaomi-common.dtsi" 10 #include <dt-bindings/sound/qcom,q6afe.h> 11 #include <dt-bindings/sound/qcom,q6asm.h> 12 #include <dt-bindings/sound/qcom,wcd9335.h> 13 #include <dt-bindings/input/ti-drv260x.h> 18 chassis-type = "handset"; 19 qcom,msm-id = <246 0x30001>; 20 qcom,pmic-id = <0x20009 0x2000a 0x00 0x00>; [all …]
|