/openbmc/qemu/include/hw/misc/ |
H A D | armsse-mhu.h | 2 * ARM SSE-200 Message Handling Unit (MHU) 13 * This is a model of the Message Handling Unit (MHU) which is part of the 14 * Arm SSE-200 and documented in 29 #define TYPE_ARMSSE_MHU "armsse-mhu"
|
/openbmc/linux/Documentation/devicetree/bindings/mailbox/ |
H A D | amlogic,meson-gxbb-mhu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/mailbox/amlogic,meson-gxbb-mhu.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Amlogic Meson Message-Handling-Unit Controller 11 - Neil Armstrong <neil.armstrong@linaro.org> 14 The Amlogic's Meson SoCs Message-Handling-Unit (MHU) is a mailbox controller 24 - amlogic,meson-gxbb-mhu 35 "#mbox-cells": 39 - compatible [all …]
|
H A D | arm,mhu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jassi Brar <jaswinder.singh@linaro.org> 13 The ARM's Message-Handling-Unit (MHU) is a mailbox controller that has 3 22 interrupt signal using a 32-bit register, with all 32-bits logically ORed 28 interrupt. Each of the 32-bits can be used as "doorbell" to alert the remote 37 - arm,mhu 38 - arm,mhu-doorbell 40 - compatible [all …]
|
/openbmc/linux/arch/powerpc/sysdev/ |
H A D | fsl_rmu.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * - fixed maintenance access routines, check for aligned access 11 * - Added Port-Write message handling 12 * - Added Machine Check exception handling 16 * Lian Minghuan-B31939 <Minghuan.Lian@freescale.com> 24 #include <linux/dma-mapping.h> 33 (((struct rio_priv *)(mport->priv))->rmm_handle) 35 /* RapidIO definition irq, which read from OF-tree */ 36 #define IRQ_RIO_PW(m) (((struct fsl_rio_pw *)(m))->pwirq) 37 #define IRQ_RIO_BELL(m) (((struct fsl_rio_dbell *)(m))->bellirq) [all …]
|
H A D | fsl_rio.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 * - fixed maintenance access routines, check for aligned access 11 * - Added Port-Write message handling 12 * - Added Machine Check exception handling 16 * Lian Minghuan-B31939 <Minghuan.Lian@freescale.com> 30 #define RIO_REGS_WIN(mport) (((struct rio_priv *)(mport->priv))->regs_win) 113 void *rmm_handle; /* RapidIO message manager(unit) Handle */
|
/openbmc/linux/Documentation/scsi/ |
H A D | ChangeLog.sym53c8xx | 1 Sat May 12 12:00 2001 Gerard Roudier (groudier@club-internet.fr) 2 * version sym53c8xx-1.7.3c 3 - Ensure LEDC bit in GPCNTL is cleared when reading the NVRAM. 4 Fix sent by Stig Telfer <stig@api-networks.com>. 5 - Backport from SYM-2 the work-around that allows to support 7 - Check that we received at least 8 bytes of INQUIRY response 9 - Define scsi_set_pci_device() as nil for kernel < 2.4.4. 10 - + A couple of minor changes. 12 Sat Apr 7 19:30 2001 Gerard Roudier (groudier@club-internet.fr) 13 * version sym53c8xx-1.7.3b [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | armsse-mhu.c | 2 * ARM SSE-200 Message Handling Unit (MHU) 13 * This is a model of the Message Handling Unit (MHU) which is part of the 14 * Arm SSE-200 and documented in 27 #include "hw/misc/armsse-mhu.h" 60 qemu_set_irq(s->cpu0irq, s->cpu0intr != 0); in armsse_mhu_update() 61 qemu_set_irq(s->cpu1irq, s->cpu1intr != 0); in armsse_mhu_update() 71 r = s->cpu0intr; in armsse_mhu_read() 75 r = s->cpu1intr; in armsse_mhu_read() 79 r = armsse_mhu_id[(offset - A_PID4) / 4]; in armsse_mhu_read() 87 "SSE MHU: read of write-only register at offset 0x%x\n", in armsse_mhu_read() [all …]
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | sensor_utils.hpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 16 #include <sdbusplus/message/native_types.hpp> 111 * D-Bus inventory item associated with one or more sensors. 119 sdbusplus::message::object_path path(objectPath); in InventoryItem() 132 int powerSupplyEfficiencyPercent = -1; 162 // fan_pwm and fan_tach need special handling in splitSensorNameAndType() 263 * @param inventoryItem D-Bus inventory item associated with a sensor. 264 * @param sensorAvailable Boolean representing if D-Bus sensor is marked as 271 if ((inventoryItem != nullptr) && !(inventoryItem->isPresent)) in getState() [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/docs/designs/ |
H A D | pldm-stack.md | 5 Created: 2019-01-22 9 On OpenBMC, in-band IPMI is currently the primary industry-standard means of 24 PLDM's purpose is to enable all sorts of "inside the box communication": BMC - 25 Host, BMC - BMC, BMC - Network Controller and BMC - Other (for e.g. sensor) 31 efficient access to low-level platform inventory, monitoring, control, event, 48 - Common in-band communication protocol. 50 - Already existing PLDM Type specifications that cover the most common 55 - PLDM sensors are 2 bytes in length. 57 - PLDM introduces the concept of effecters - a control mechanism. Both sensors 64 - A very active PLDM related working group in the DMTF. [all …]
|
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 22 ### Redfish LogEntry and Message Registry 30 be "DIMM-A0 encountered an uncorrectable ECC error" or "System boot successful". 36 temperature threshold exceeded: ["temperature threshold exceeded"][HPE-Example] 37 and ["Temperature #0x30 Upper Critical going high"][Oracle-Example]. There is 42 versioning, Redfish has Message Registries. A message registry is a versioned [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | pmcraid.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * pmcraid.h -- PMC Sierra MaxRAID controller driver header file 5 * Written By: Anil Ravindranath<anil_ravindranath@pmc-sierra.com> 6 * PMC-Sierra Inc 39 #define PMC_BIT8(n) (1 << (7-n)) 40 #define PMC_BIT16(n) (1 << (15-n)) 41 #define PMC_BIT32(n) (1 << (31-n)) 58 /* MAX_IOADLS : max number of scatter-gather lists supported by IOA 197 /* structure to represent a scatter-gather element (IOADL descriptor) */ 526 /* pmcraid_sglist - Scatter-gather list allocated for passthrough ioctls [all …]
|
/openbmc/phosphor-state-manager/ |
H A D | obmcutil | 1 #!/bin/bash -e 3 set -euo pipefail 9 USAGE="Usage: obmcutil [-h] [--wait] [--verbose] [--id=<INSTANCE_ID>] 20 HOST_TIMEOUT_TARGET=obmc-host-timeout@0.target 21 HOST_CRASH_TARGET=obmc-host-crash@0.target 61 echo "obmcutil recoveryoff Disable handling boot watchdog timeout and host crash" 64 echo "obmcutil recoveryon Enable handling boot watchdog timeout and host crash" 67 … echo "obmcutil recoverystatus Display the status of handling boot watchdog timeout and host crash" 73 echo "obmcutil listlogs List all phosphor-logging entries on the" 79 echo "obmcutil deletelogs Delete all phosphor-logging entries from" [all …]
|
/openbmc/bmcweb/ |
H A D | HEADERS.md | 7 bmcweb at one point was a crow-based project. Evidence of this can still be seen 16 boost::beast::http::message (ie Request and Response). 20 implemented 3-4 times in the project, the latest of which is below. The intent 26 Moving to cpp files without handling any architecture has the net result of 27 making total compilation slower, not faster, as the slowest-to-compile parts end 34 - Moving the Request and Response containers to opaque structures, so a majority 41 - Moving the internals of Request/Response/Connection to rely on something like 46 - Reduce the bmcweb binary size to the point where link time optimization is not 51 size the most, and ensure that those were all in the same compile unit, such
|
H A D | COMMON_ERRORS.md | 8 not-always-obvious ways, or impose a pattern that tends to cause hard to find 35 ## 3. Not handling input errors 61 ## 5. Using methods that throw (or not handling bad inputs) 73 - std::variant::get 74 - std::vector::at 75 - std::map::at 76 - std::set::at 77 - std::\<generic container type\>::at 78 - nlohmann::json::operator!= 79 - nlohmann::json::operator+= [all …]
|
/openbmc/docs/ |
H A D | anti-patterns.md | 1 # OpenBMC Anti-patterns 3 From [Wikipedia](https://en.wikipedia.org/wiki/Anti-pattern): 5 "An anti-pattern is a common response to a recurring problem that is usually 12 This page aims to document some of the anti-patterns that exist in OpenBMC to 13 ease the job of those reviewing code. If an anti-pattern is spotted, rather that 17 <!-- begin copy/paste on next line --> 19 ## Anti-pattern template [one line description] 23 (1 paragraph) Describe how to spot the anti-pattern. 27 (1 paragraph) Describe the negative effects of the anti-pattern. 31 (1 paragraph) Describe why the anti-pattern exists. If you don't know, try [all …]
|
/openbmc/linux/arch/powerpc/platforms/cell/ |
H A D | interrupt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 * - Fix various assumptions related to HW CPU numbers vs. linux CPU numbers 15 * - Implement proper handling of maxcpus=1/2 (that is, routing of irqs from 16 * a non-active node to the active node) 33 #include <asm/cell-regs.h> 52 unsigned char unit = bits.source & 0xf; in iic_pending_to_hwnum() local 60 return (node << IIC_IRQ_NODE_SHIFT) | (class << 4) | unit; in iic_pending_to_hwnum() 74 out_be64(&iic->regs->prio, iic->eoi_stack[--iic->eoi_ptr]); in iic_eoi() 75 BUG_ON(iic->eoi_ptr < 0); in iic_eoi() 79 .name = "CELL-IIC", [all …]
|
/openbmc/libpldm/docs/checklists/ |
H A D | changes.md | 5 - [Good Practices in Library Design, Implementation, and Maintenance - Ulrich 10 - [How Do I Make This Hard to Misuse? - Rusty Russell][rusty-api-scale-good] 12 [rusty-api-scale-good]: https://ozlabs.org/~rusty/index.cgi/tech/2008-03-30.html 14 - [What If I Don't Actually Like My Users? - Rusty Russell][rusty-api-scale-bad] 16 [rusty-api-scale-bad]: https://ozlabs.org/~rusty/index.cgi/tech/2008-04-01.html 18 - [Red flags that indicate questionable quality - Lennart 19 Poettering][poettering-library-red-flags] 21 [poettering-library-red-flags]: 24 - [Not sure if this is a gcc bug or some weird corner of UB or what... - Andrew 25 Zonenberg][azonenberg-packed-struct] [all …]
|
/openbmc/linux/lib/ |
H A D | Kconfig.debug | 1 # SPDX-License-Identifier: GPL-2.0-only 19 parameter printk.time=1. See Documentation/admin-guide/kernel-parameters.rst 27 to every message. 50 int "Default console loglevel (1-15)" 60 Note: This does not affect the log level of un-prefixed printk() 65 int "quiet console loglevel (1-15)" 76 int "Default message log level (1-7)" 82 This was hard-coded to KERN_WARNING since at least 2.6.10 but folks 86 Note: This does not affect what message level gets printed on the console 91 bool "Delay each boot printk message by N milliseconds" [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-pxa.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright (C) 2004-2005 Deep Blue Solutions Ltd. 13 * Jan 2003: Fixed several bugs concerning interrupt handling [Kai-Uwe Bloem] 14 * Jan 2003: added limited signal handling [Kai-Uwe Bloem] 15 * Sep 2004: Major rework to ensure efficient bus handling [RMK] 17 * Feb 2005: Rework slave mode handling [RMK] 34 #include <linux/platform_data/i2c-pxa.h> 47 #define ICR_IUE (1 << 6) /* unit enable */ 55 #define ICR_UR (1 << 14) /* unit reset */ 58 #define ICR_A3700_FM (1 << 16) /* fast mode for armada-3700 */ [all …]
|
/openbmc/linux/Documentation/arch/x86/x86_64/ |
H A D | boot-options.rst | 1 .. SPDX-License-Identifier: GPL-2.0 36 with OS's error handling, and you cannot deactivate the agent, 39 Do not opt-in to Local MCE delivery. Use legacy method 55 Don't overwrite the bios-set CMCI threshold. This boot option 62 Force-enable recoverable machine check code paths 73 Use IO-APIC. Default 76 Don't use the IO-APIC. 85 See Documentation/arch/x86/i386/IO-APIC.rst 91 Don't check the IO-APIC timer. This can work around 154 There are some built-in platform specific "quirks" - you may see: [all …]
|
/openbmc/openbmc/poky/meta/lib/patchtest/tests/ |
H A D | base.py | 5 # SPDX-License-Identifier: GPL-2.0-only 32 """Exception for handling patchtest-oe errors""" 33 def __init__(self, message, exitcode=1): argument 34 super().__init__(message) 38 # if unit test fails, fail message will throw at least the following JSON: {"id": <testid>} 75 PatchtestParser.repo.patch.path, encoding="UTF-8" 130 return self.id().split('.')[-1] 198 # store the native PN but look for the non-native one first
|
/openbmc/phosphor-host-ipmid/docs/ |
H A D | testing.md | 21 `sudo docker run hello-world`. 29 mkdir openbmc-ci-tests 30 cd openbmc-ci-tests 31 git clone https://github.com/openbmc/openbmc-build-scripts.git 34 ## Add `phosphor-host-ipmid` 39 basic idea is that it's like having a second copy of your repo - but the second 46 `run-unit-test-docker.sh`, you can't run the CI with untracked changes anyways, 54 cd /my/dir/for/phosphor-host-ipmid 55 git worktree add /path/to/openbmc-ci-tests/phosphor-host-ipmid 58 Now, if you `cd /path/to/openbmc-ci-tests`, you should see a directory [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | kcm.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Kernel Connection Multiplexor (KCM) is a mechanism that provides a message based 14 +------------+ +------------+ +------------+ +------------+ 16 +------------+ +------------+ +------------+ +------------+ 18 +-----------+ | | +----------+ 20 +----------------------------------+ 22 +----------------------------------+ 24 +---------+ | | | ------------+ 26 +----------+ +----------+ +----------+ +----------+ +----------+ 28 +----------+ +----------+ +----------+ +----------+ +----------+ [all …]
|
/openbmc/linux/drivers/s390/char/ |
H A D | tape_3590.c | 1 // SPDX-License-Identifier: GPL-2.0 37 * - Read Opposite: implemented 38 * - Read Device (buffered) log: BRA 39 * - Read Library log: BRA 40 * - Swap Devices: BRA 41 * - Long Busy: implemented 42 * - Special Intercept: BRA 43 * - Read Alternate: implemented 57 [0x25] = "Read-Only Format", 94 [0xa8] = "Vision System non-operational", [all …]
|