| /openbmc/qemu/docs/interop/ |
| H A D | vhost-user.rst | 4 Vhost-user Protocol 11 version 2 or later. See the COPYING file in the top-level 26 The protocol defines 2 sides of the communication, *front-end* and 27 *back-end*. The *front-end* is the application that shares its virtqueues, in 28 our case QEMU. The *back-end* is the consumer of the virtqueues. 30 In the current implementation QEMU is the *front-end*, and the *back-end* 33 or a block device back-end processing read & write to a virtual 34 disk. In order to facilitate interoperability between various back-end 38 The *front-end* and *back-end* can be either a client (i.e. connecting) or 42 -------------------------------------- [all …]
|
| /openbmc/qemu/include/hw/virtio/ |
| H A D | vhost.h | 5 #include "hw/virtio/vhost-backend.h" 75 * struct vhost_dev - common vhost_dev structure 94 /* if non-zero, minimum required value for max_queues */ 102 * @acked_features: final negotiated features with front-end driver 115 * @protocol_features: is the vhost-user only feature set by 155 * vhost_dev_init() - initialise the vhost interface 157 * @opaque: opaque ptr passed to backend (vhost/vhost-user/vdpa) 167 * Return: 0 on success, non-zero on error while setting errp. 174 * vhost_dev_cleanup() - tear down and cleanup vhost interface 184 * vhost_dev_enable_notifiers() - enable event notifiers [all …]
|
| /openbmc/qemu/docs/system/ |
| H A D | device-emulation.rst | 1 .. _device-emulation: 4 ---------------- 15 Device Front End 18 A device front end is how a device is presented to the guest. The type 21 ``--device`` command line option. Running QEMU with the command line 22 options ``--device help`` will list all devices it is aware of. Using 23 the command line ``--device foo,help`` will list the additional 26 A front end is often paired with a back end, which describes how the 33 machine model you choose (``-M foo``) a number of buses will have been 45 --device foo,bus=pci.0,addr=0,id=foo [all …]
|
| /openbmc/u-boot/drivers/dfu/ |
| H A D | Kconfig | 21 This option allows performing update of DFU-managed medium with data 27 bool "MMC back end for DFU" 32 bool "NAND back end for DFU" 39 bool "RAM back end for DFU" 44 bool "SPI flash back end for DFU"
|
| /openbmc/telemetry/src/metrics/ |
| H A D | collection_function.cpp | 15 readings.begin(), readings.end(), in calculate() 22 ->second; in calculate() 30 return readings.back().second; in calculateForStartupInterval() 41 readings.begin(), readings.end(), in calculate() 48 ->second; in calculate() 56 return readings.back().second; in calculateForStartupInterval() 68 for (auto it = readings.begin(); it != std::prev(readings.end()); ++it) in calculate() 70 if (std::isfinite(it->second)) in calculate() 73 const auto duration = kt->first - it->first; in calculate() 74 valueSum += it->second * duration.count(); in calculate() [all …]
|
| /openbmc/openbmc/poky/meta/recipes-connectivity/kea/files/ |
| H A D | 0002-Fix-unittests-Typo-in-Name-Name-append-to-ndata_-not.patch | 2 From: Dimitry Andric <dimitry@unified-streaming.com> 8 Upstream-Status: Submitted [https://gitlab.isc.org/isc-projects/kea/-/merge_requests/2410] 9 Signed-off-by: Khem Raj <raj.khem@gmail.com> 10 --- 11 src/lib/dns/name.cc | 5 +++-- 12 1 file changed, 3 insertions(+), 2 deletions(-) 14 diff --git a/src/lib/dns/name.cc b/src/lib/dns/name.cc 16 --- a/src/lib/dns/name.cc 18 @@ -347,7 +347,7 @@ Name::Name(const char* namedata, size_t data_len, const Name* origin, 21 ndata_.erase(ndata_.end() - 1); [all …]
|
| H A D | 0001-Replace-Name-NameString-with-vector-of-uint8_t.patch | 13 Upstream-Status: Submitted [https://gitlab.isc.org/isc-projects/kea/-/merge_requests/2410] 14 Signed-off-by: Khem Raj <raj.khem@gmail.com> 15 --- 16 src/lib/dns/name.cc | 12 ++++++------ 17 src/lib/dns/name.h | 2 +- 18 2 files changed, 7 insertions(+), 7 deletions(-) 20 diff --git a/src/lib/dns/name.cc b/src/lib/dns/name.cc 22 --- a/src/lib/dns/name.cc 24 @@ -303,7 +303,7 @@ Name::Name(const std::string &namestring, bool downcase) { 28 - ndata_.assign(ndata.data(), ndata.size()); [all …]
|
| /openbmc/u-boot/common/spl/ |
| H A D | spl_ext.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 #include <asm/u-boot.h> 19 header = spl_get_load_buffer(-sizeof(*header), sizeof(*header)); in spl_load_image_ext() 23 return -1; in spl_load_image_ext() 31 printf("%s: ext4fs mount err - %d\n", __func__, err); in spl_load_image_ext() 33 goto end; in spl_load_image_ext() 39 goto end; in spl_load_image_ext() 44 goto end; in spl_load_image_ext() 50 goto end; in spl_load_image_ext() 53 err = ext4fs_read((char *)spl_image->load_addr, 0, filelen, &actlen); in spl_load_image_ext() [all …]
|
| H A D | spl_fat.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include <asm/u-boot.h> 31 printf("%s: fat register err - %d\n", __func__, err); in spl_register_fat_device() 46 char *filename = (char *)load->filename; in spl_fit_read() 64 goto end; in spl_load_image_fat() 66 header = spl_get_load_buffer(-sizeof(*header), sizeof(*header)); in spl_load_image_fat() 70 goto end; in spl_load_image_fat() 76 goto end; in spl_load_image_fat() 79 if (err == -EAGAIN) in spl_load_image_fat() 97 goto end; in spl_load_image_fat() [all …]
|
| /openbmc/docs/designs/ |
| H A D | nmi-dbus-interface.md | 7 Created: 2019-05-21 19 causing system hang(<https://github.com/ibm-openbmc/dev/issues/457>). This means 24 which, in turn, triggers an architecture-dependent procedure that fires an 30 architecture-specific procedure that enables data collection followed by 34 ### D-Bus 36 Introducing new D-Bus interface in the control.host namespace 37 (/openbmc/phosphor-dbus-interfaces/xyz/openbmc_project/Control/Host/ 38 NMI.interface.yaml) and implement the new D-Bus back-end for respective 43 Enable NMI D-Bus phosphor interface and support this via Redfish 47 - Reference: DSP2046 2018.3, [all …]
|
| /openbmc/qemu/include/chardev/ |
| H A D | char-fe.h | 5 #include "qemu/main-loop.h" 11 * struct CharBackend - back end as seen by front end 12 * @fe_is_open: the front end is ready for IO 30 * Initializes a front end for the given CharBackend and 86 * any of the handler is non-NULL 89 * Set the front end char handlers. The front end takes the focus if 90 * any of the handler is non-NULL. 121 * Take the focus (if the front end is muxed). 164 * @is_open: the front end open status 166 * This is an indication that the front end is ready (or not) to begin [all …]
|
| H A D | char.h | 4 #include "qapi/qapi-types-char.h" 23 CHR_EVENT_MUX_IN, /* mux-focus was set to this terminal */ 24 CHR_EVENT_MUX_OUT, /* mux-focus will move on */ 68 /* used to coordinate the chardev-change special-case: */ 77 * @opts: see qemu-config.c for a list of valid options 171 * Determine how much data the front end can currently accept. This function 172 * returns the number of bytes the front end can accept. If it returns 0, the 173 * front end cannot receive data at the moment. The function must be polled 176 * Returns: the number of bytes the front end can receive via @qemu_chr_be_write 182 * @buf: a buffer to receive data from the front end [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/ |
| H A D | lircd.conf | 36 BACK 0x48 66 end codes 68 end remote 70 # brand: STM PVR-1 107 BACK 0x48b7 137 end codes 139 end remote 141 # brand: STM DTV-2 171 BACK 0x1023 205 end codes [all …]
|
| /openbmc/qemu/rust/qemu-api/src/ |
| H A D | chardev.rs | 3 // SPDX-License-Identifier: GPL-2.0-or-later 37 /// back-end that is used for example by a device. Compared to the 47 fn flush(&mut self) -> io::Result<()> { in flush() 51 fn write(&mut self, buf: &[u8]) -> io::Result<usize> { in write() 59 fn write_all(&mut self, buf: &[u8]) -> io::Result<()> { in write_all() 75 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 90 /// Enable the front-end's character device handlers, if there is an 111 ) -> c_int { in enable_handlers() 170 /// Disable the front-end's character device handlers. 199 pub fn borrow_mut(&self) -> impl Write + '_ { in borrow_mut() [all …]
|
| /openbmc/u-boot/drivers/video/ |
| H A D | video-uclass.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include <dm/device-internal.h> 14 #include <dm/uclass-internal.h> 25 * for the device. The values can be an over-estimate but cannot be too 31 * gd->video_bottom and gd->video_top. 37 * The frame buffer address is actually set (to plat->base) in 48 priv->flush_dcache = flush; in video_set_flush_dcache() 56 if (!plat->size) in alloc_fb() 59 align = plat->align ? plat->align : 1 << 20; in alloc_fb() 60 base = *addrp - plat->size; in alloc_fb() [all …]
|
| /openbmc/openbmc-test-automation/redfish/update_service/ |
| H A D | test_bmc_image_switch.robot | 19 # User can input -v LOOP_COUNT:n to drive the switch back and forth for 67 END 79 [Documentation] Switch back up image to running and verify. 87 # [version]: 2.12.0-dev-1440-g8dada0a1a 92 # [version]: 2.12.0-dev-1441-g8deadbeef 101 END 112 [Documentation] The /etc/os-release vs Redfish FirmwareVersion attribute value from 136 Print Timen Switch to back up and rebooting. 139 Print Timen Switch to back up completed.
|
| /openbmc/phosphor-dbus-interfaces/yaml/org/open_power/Control/TPM/ |
| H A D | SecurityKeys.interface.yaml | 5 - name: ClearHostSecurityKeys 9 resetting those values back to default by the host. Setting this 15 be zero. The end operation is determined by the bit value set and some 18 Bit 0 - Clear All : Clear/reset all the sensitive data controlled by 20 data to re-enable the affected functions if required 21 Bit 1 - Clear OS PK : This directs OPAL to clear the OS platform key 22 Bit 2 - Clear PEF SSO : This directs OPAL/PEF to clear the 24 Bit 3 - Clear PowerVM System Key : This directs PowerVM to reset the 25 system key back to the default state 26 Bit 4-6 - Reserved
|
| /openbmc/qemu/include/hw/xen/interface/io/ |
| H A D | ring.h | 1 /* SPDX-License-Identifier: MIT */ 5 * Shared producer-consumer ring macros. 16 * - standard integers types (uint8_t, uint16_t, etc) 21 * - size_t 22 * - memcpy 23 * - grant_ref_t 28 #include "../xen-compat.h" 38 /* Round a 32-bit unsigned constant down to the nearest power of two. */ 49 * power of two (so we can mask with (size-1) to loop around). 52 (__RD32(((_sz) - offsetof(struct _s##_sring, ring)) / \ [all …]
|
| /openbmc/phosphor-fan-presence/monitor/ |
| H A D | fan.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 24 #include <phosphor-logging/lg2.hpp> 72 _trustManager->registerSensor(_sensors.back()); in Fan() 81 // the inventory update threw an exception, possibly because D-Bus in Fan() 82 // wasn't ready. Try to update sensors back to functional to avoid a in Fan() 83 // false-alarm. They will be updated again from subscribing to the in Fan() 84 // properties-changed event in Fan() 87 sensor->setFunctional(true); in Fan() 127 _fanMissingErrorTimer->restartOnce( in Fan() 148 if (properties == interfaces.end()) in presenceIfaceAdded() [all …]
|
| /openbmc/docs/architecture/code-update/ |
| H A D | firmware-update-over-redfish.md | 5 Created: 2019-02-11 30 - Redfish has a single upload and update API. OpenBMC has a concept of uploading 32 - Redfish does not support multiple firmware images being associated with the 36 - OpenBMC has the concept of a priority that allows a user to chose an image 38 back and forth between multiple images for a single target without uploading 40 - Redfish does not support deleting a firmware image (this happens by default 42 - Redfish does support the ability to update multiple targets with the same 44 - Redfish has support via a SimpleUpdate action which allows the user to pass in 47 - Redfish has the ability to schedule when a firmware update is applied 66 - Support FirmwareInventory definition for BMC and BIOS under UpdateService [all …]
|
| /openbmc/u-boot/lib/zlib/ |
| H A D | inffast.c | 1 /* inffast.c -- fast decoding 2 * Copyright (C) 1995-2004 Mark Adler 6 /* U-Boot: we already included these 15 /* Allow machine dependent optimization for post-increment or pre-increment. 17 Pre-increment preferred for: 18 - PowerPC G3 (Adler) 19 - MIPS R5000 (Randers-Pehrson) 20 Post-increment preferred for: 21 - none 23 - Pentium III (Anderson) [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-webserver/recipes-devtools/swagger-ui/ |
| H A D | swagger-ui_5.18.2.bb | 3 … Swagger UI allows anyone — be it your development team or your end consumers — to visualize and \ 6 …with the visual documentation making it easy for back end implementation and client side consumpti… 8 HOMEPAGE = "https://github.com/swagger-api/swagger-ui" 10 LICENSE = "Apache-2.0" 13 SRC_URI = "git://github.com/swagger-api/swagger-ui;branch=master;protocol=https" 17 CVE_STATUS[CVE-2016-1000229] = "fixed-version: fixed since 2.2.1" 22 install -d ${D}${localstatedir}/www/openapi/static 23 cp -r ${S}/dist/* ${D}${localstatedir}/www/openapi/static
|
| /openbmc/phosphor-logging/test/openpower-pels/ |
| H A D | src_callouts_test.cpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright 2019 IBM Corporation 4 #include "extensions/openpower-pels/callouts.hpp" 21 data.insert(data.end(), callout.begin(), callout.end()); in TEST() 24 data.insert(data.end(), callout.begin(), callout.end()); in TEST() 40 EXPECT_TRUE(callouts.callouts().front()->fruIdentity()); in TEST() 41 EXPECT_FALSE(callouts.callouts().front()->pceIdentity()); in TEST() 42 EXPECT_FALSE(callouts.callouts().front()->mru()); in TEST() 44 EXPECT_TRUE(callouts.callouts().back()->fruIdentity()); in TEST() 45 EXPECT_TRUE(callouts.callouts().back()->pceIdentity()); in TEST() [all …]
|
| /openbmc/qemu/hw/virtio/ |
| H A D | vhost-user-fs.c | 2 * Vhost-user filesystem virtio device 4 * Copyright 2018-2019 Red Hat, Inc. 11 * top-level directory. 16 #include "standard-headers/linux/virtio_fs.h" 18 #include "hw/qdev-properties.h" 19 #include "hw/qdev-properties-system.h" 20 #include "hw/virtio/virtio-bus.h" 21 #include "hw/virtio/virtio-access.h" 22 #include "qemu/error-report.h" 24 #include "hw/virtio/vhost-user-fs.h" [all …]
|
| /openbmc/openbmc-test-automation/bin/ |
| H A D | gen_list.sh | 3 # This file contains list-manipulation functions. 21 # local delim="${3:-${default_delim}}" 22 # local position="${4:-back}" 31 # ("front"/"back"). 33 if [ -z "${!2}" ] ; then 39 if [ "${4:-back}" == "back" ] ; then 40 # Append the list_element to the back of the list and return. 41 eval "${2}=\"\${${2}}\${3-${default_delim}}\${1}\"" 46 eval "${2}=\"\${1}\${3-${default_delim}}\${${2}}\"" 54 local delim="${3:-${default_delim}}" [all …]
|