/openbmc/linux/tools/testing/selftests/livepatch/ |
H A D | test-callbacks.sh | 2 # SPDX-License-Identifier: GPL-2.0 19 # - On livepatch enable, before the livepatch transition starts, 20 # pre-patch callbacks are executed for vmlinux and $MOD_TARGET (those 22 # according to the klp_patch, their post-patch callbacks run and the 25 # - Similarly, on livepatch disable, pre-patch callbacks run before the 26 # unpatching transition starts. klp_objects are reverted, post-patch 43 $MOD_LIVEPATCH: pre_patch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state 47 $MOD_LIVEPATCH: post_patch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state 52 $MOD_LIVEPATCH: pre_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state 56 $MOD_LIVEPATCH: post_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state [all …]
|
/openbmc/linux/Documentation/livepatch/ |
H A D | callbacks.rst | 5 Livepatch (un)patch-callbacks provide a mechanism for livepatch modules 10 - Safe updates to global data 12 - "Patches" to init and probe functions 14 - Patching otherwise unpatchable code (i.e. assembly) 25 - Module init/exit code doesn't run when disabling and re-enabling a 28 - A module notifier can't stop a to-be-patched module from loading. 39 * Pre-patch 40 - before a klp_object is patched 42 * Post-patch 43 - after a klp_object has been patched and is active [all …]
|
/openbmc/qemu/qapi/ |
H A D | vfio.json | 1 # -*- Mode: Python -*- 18 # @stop-copy: The device is stopped and its internal state is 21 # @resuming: The device is stopped and its internal state is available 24 # @running-p2p: The device is running in the P2P quiescent state. 26 # @pre-copy: The device is running, tracking its internal state and 27 # its internal state is available for reading. 29 # @pre-copy-p2p: The device is running in the P2P quiescent state, 30 # tracking its internal state and its internal state is available 36 'data': [ 'stop', 'running', 'stop-copy', 'resuming', 'running-p2p', 37 'pre-copy', 'pre-copy-p2p' ] } [all …]
|
/openbmc/qemu/docs/devel/migration/ |
H A D | vfio.rst | 10 Migration of VFIO devices consists of two phases: the optional pre-copy phase, 11 and the stop-and-copy phase. The pre-copy phase is iterative and allows to 13 transferred. The iterative pre-copy phase of migration allows for the guest to 15 helps to reduce the total downtime of the VM. VFIO devices opt-in to pre-copy 19 When pre-copy is supported, it's possible to further reduce downtime by 20 enabling "switchover-ack" migration capability. 21 VFIO migration uAPI defines "initial bytes" as part of its pre-copy data stream 35 safe P2P-wise, since starting and stopping the devices is not done atomically 44 linux-headers/linux/vfio.h. 54 remaining pre-copy data that the vendor driver has yet to save for the VFIO [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | richtek,rt5033-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/richtek,rt5033-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jakob Hauser <jahau@rocketmail.com> 14 under sub-node named "charger" using the following format. 18 const: richtek,rt5033-charger 20 monitored-battery: 26 precharge-current-microamp: 27 Current of pre-charge mode. The pre-charge current levels are 350 mA [all …]
|
/openbmc/docs/architecture/ |
H A D | openbmc-systemd.md | 4 manage all processes. It has its own set of target and service units to control 9 [Unit](https://www.freedesktop.org/software/systemd/man/systemd.unit.html#) - 11 [Service](https://www.freedesktop.org/software/systemd/man/systemd.service.html) - 13 [Target](https://www.freedesktop.org/software/systemd/man/systemd.target.html) - 25 the main tool you use to interact with systemd and its units. 27 --- 33 OpenBMC, there is a link from `default.target` to `multi-user.target`. 35 You'll find all the phosphor services associated with `multi-user.target`. 40 [obmc-host-start@.target](https://github.com/openbmc/phosphor-state-manager/blob/master/target_file… 43 To start it you would run `systemctl start obmc-host-start@0.target`. [all …]
|
/openbmc/u-boot/arch/x86/dts/ |
H A D | crownbay.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 8 #include <dt-bindings/interrupt-router/intel-irq.h> 31 #address-cells = <1>; 32 #size-cells = <0>; 36 compatible = "cpu-x86"; 38 intel,apic-id = <0>; 43 compatible = "cpu-x86"; 45 intel,apic-id = <1>; 53 * U-Boot serial console. If we want to use UART from Topcliff [all …]
|
/openbmc/linux/Documentation/gpu/amdgpu/display/ |
H A D | display-manager.rst | 8 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 11 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h 17 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 20 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 26 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 29 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 32 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 38 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 41 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 47 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/ |
H A D | instruction.json | 72 … "PublicDescription": "This event counts architecturally executed floating-point move operations.", 75 "BriefDescription": "This event counts architecturally executed floating-point move operations." 84 …"PublicDescription": "This event counts architecturally executed inter-element manipulation operat… 87 …"BriefDescription": "This event counts architecturally executed inter-element manipulation operati… 90 …"PublicDescription": "This event counts architecturally executed inter-register manipulation opera… 93 …"BriefDescription": "This event counts architecturally executed inter-register manipulation operat… 108 …"PublicDescription": "This event counts architecturally executed SIMD broadcast floating-point loa… 111 …"BriefDescription": "This event counts architecturally executed SIMD broadcast floating-point load… 120 …: "This event counts architecturally executed operations that uses 'pre-index' as its addressing m… 123 …: "This event counts architecturally executed operations that uses 'pre-index' as its addressing m… [all …]
|
/openbmc/u-boot/include/ |
H A D | vxworks.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 24 * VxWorks on x86 gets E820 information from pre-defined offset @ 31 * later for sanity test during the kernel boot-up. 36 /* E820 info signatiure "SMAP" - System MAP */ 51 * VxWorks bootloader stores its size at a pre-defined offset @ 0x5004. 61 * framebuffer info at a pre-defined offset @ 0x6100. When VxWorks kernel 62 * boots up, its EFI console driver tries to find such a block and if 67 * EFI console driver to function (eg: EFI loader in U-Boot). If U-Boot has
|
/openbmc/docs/process/ |
H A D | subproject-maintainership.md | 3 <!--toc:start--> 5 - [Subproject Maintainership and Forward Progress](#subproject-maintainership-and-forward-progress) 6 - [Process](#process) 7 - [Problem Description](#problem-description) 8 - [Scope](#scope) 9 - [Considerations](#considerations) 10 - [Social](#social) 11 - [Technical](#technical) 12 - [Security](#security) 13 - [Synthesis of Considerations](#synthesis-of-considerations) [all …]
|
/openbmc/linux/Documentation/scsi/ |
H A D | lpfc.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 (pre 2.6.10). The 8.0.16 release should be used if the driver is to be 20 The driver now requires a 2.6.12 (if pre-release, 2.6.12-rc1) or later 33 jitter, or a device temporarily loses connectivity (due to its cable 39 errored by the driver, the mid-layer would exhaust its retries, and the 41 re-enable the device. 56 The proposed patch was posted to the linux-scsi mailing list. The patch 57 is contained in the 2.6.10-rc2 (and later) patch kits. As such, this 71 At this time, the driver requires the 2.6.12 (if pre-release, 2.6.12-rc1)
|
/openbmc/libpldm/include/libpldm/ |
H A D | pdr.h | 1 /* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */ 32 * @note Caller may make multiple repositories (for its own PDRs, as well as 40 * @param[in/out] repo - pointer to opaque pointer acting as a PDR repo handle 46 * @pre repo must point to a valid object 48 * @param[in] repo - opaque pointer acting as a PDR repo handle 50 * @return uint32_t - number of records 56 * @pre repo must point to a valid object 58 * @param[in] repo - opaque pointer acting as a PDR repo handle 60 * @return uint32_t - size in bytes 66 * @param[in/out] repo - opaque pointer acting as a PDR repo handle [all …]
|
/openbmc/linux/drivers/clk/bcm/ |
H A D | clk-kona.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include "clk-kona.h" 12 #include <linux/clk-provider.h> 27 /* Produces a mask of set bits covering a range of a 32-bit value */ 30 return ((1 << width) - 1) << shift; in bitfield_mask() 52 return (u64)reg_div + ((u64)1 << div->u.s.frac_width); in scaled_div_value() 68 combined <<= div->u.s.frac_width; in scaled_div_build() 78 return (u64)div->u.fixed; in scaled_div_min() 89 return (u64)div->u.fixed; in scaled_div_max() 91 reg_div = ((u32)1 << div->u.s.width) - 1; in scaled_div_max() [all …]
|
/openbmc/linux/drivers/misc/echo/ |
H A D | echo.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * SpanDSP - a series of DSP components for telephony 5 * echo.c - A line echo canceller. This code is being developed 24 This module aims to provide G.168-2002 compliant echo cancellation, to remove 25 electrical echoes (e.g. from 2-4 wire hybrids) from voice calls. 43 varies widely. This is quite easy to fix. If the signal level is normalised - 44 similar to applying AGC - LMS can work as well for a signal of varying 47 other algorithms exist - e.g. RLS (essentially the same as Kalman filtering), 51 A simple refinement to NLMS can improve its performance with speech. NLMS tends 54 high frequency content. Pre-whitening (i.e. filtering the signal to flatten its [all …]
|
/openbmc/linux/drivers/ntb/hw/idt/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "IDT PCIe-switch Non-Transparent Bridge support" 7 This driver supports NTB of capable IDT PCIe-switches. 9 Some of the pre-initializations must be made before IDT PCIe-switch 10 exposes its NT-functions correctly. It should be done by either proper 12 by BIOS using slave-SMBus interface changing corresponding registers 17 the ports with NT-functions intended to be activated (see SWPARTxCTL 18 and SWPORTxCTL registers). Then all NT-function BARs must be enabled 25 BAR settings of peer NT-functions, the BAR setups can't be done over 26 kernel PCI fixups. That's why the alternative pre-initialization
|
/openbmc/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | moortec,mr75203.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rahul Tanwar <rtanwar@maxlinear.com> 19 *) Temperature Sensor (TS) - used to monitor core temperature (e.g. mr74137). 20 *) Voltage Monitor (VM) - used to monitor voltage levels (e.g. mr74138). 21 *) Process Detector (PD) - used to assess silicon speed (e.g. mr74139). 22 *) Delay Chain - ring oscillator connected to the PD, used to measure IO 25 *) Pre Scaler - provides divide-by-X scaling of input voltage, which can then 26 be presented for VM for measurement within its range (e.g. mr76006 - [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | apm-xgene-phy.txt | 1 * APM X-Gene 15Gbps Multi-purpose PHY nodes 3 PHY nodes are defined to describe on-chip 15Gbps Multi-purpose PHY. Each 4 PHY (pair of lanes) has its own node. 7 - compatible : Shall be "apm,xgene-phy". 8 - reg : PHY memory resource is the SDS PHY access resource. 9 - #phy-cells : Shall be 1 as it expects one argument for setting 14 - status : Shall be "ok" if enabled or "disabled" if disabled. 16 - clocks : Reference to the clock entry. 17 - apm,tx-eye-tuning : Manual control to fine tune the capture of the serial 19 Two set of 3-tuple setting for each (up to 3) [all …]
|
/openbmc/docs/designs/ |
H A D | psu-firmware-update.md | 7 Created: 2019-06-03 25 - [phosphor-bmc-code-mgmt][2] implements BMC code update, and it supports all 27 - [openpower-pnor-code-mgmt][3] implements BIOS code update, and it only 30 - Both of the above use the same [Software DBus interface][1]. 32 For PSU firmware update, it is preferred to re-use the same function for the 50 avoid power loss. This shall be handled by PSU vendor-specific tools, but not in 53 Note: The "vendor-specific" referred below is the PSU vendor-specific. 55 So the below checks are optional and expected to be handled by vendor-specific 67 - When the APIs are invoked; 68 - When a new version is updated together with BMC code update; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | arm,gic-v3.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/arm,gic-v3.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marc Zyngier <maz@kernel.org> 15 Software Generated Interrupts (SGI), and Locality-specific Peripheral 19 - $ref: /schemas/interrupt-controller.yaml# 24 - items: 25 - enum: 26 - qcom,msm8996-gic-v3 [all …]
|
/openbmc/linux/Documentation/driver-api/media/ |
H A D | dtv-frontend.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ------------------------ 9 The Digital TV Frontend kABI defines a driver-internal interface for 10 registering low-level, hardware specific driver to a hardware independent 29 .name = "foo DVB-T/T2/C driver", 70 .name = "Bar DVB-S/S2 demodulator", 91 /* Satellite-specific */ 100 #) For satellite digital TV standards (DVB-S, DVB-S2, ISDB-S), the 128 doesn't fill its field at struct dvb_frontend_ops, it will default to 129 ``DVBFE_ALGO_SW``, meaning that the dvb-core will do a zigzag when tuning, [all …]
|
/openbmc/linux/tools/testing/selftests/tc-testing/ |
H A D | TODO.txt | 1 tc Testing Suite To-Do list: 3 - Determine what tc features are supported in the kernel. If features are not 6 - Add support for multiple versions of tc to run successively 8 - Improve error messages when tdc aborts its run. Partially done - still 9 need to better handle problems in pre- and post-suite. 11 - Use python logger module for debug/verbose output 13 - Allow tdc to write its results to file. 16 - A better implementation of the "hooks". Currently, every plugin 23 - Proper exception handling - make an exception class and use it 25 - a TestCase class, for easier testcase handling, searching, comparison [all …]
|
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-ampere/platform/ampere-platform-init/ |
H A D | mtmitchell_platform_gpios_init.sh | 7 if [[ ! -e /dev/rtc0 ]]; then 9 echo 6-0051 > /sys/bus/i2c/drivers/rtc-pcf85063/bind 13 function pre-platform-init() { 14 echo "Do pre platform init" 17 function post-platform-init() { 19 # When BMC is rebooted, because PSON_L has pull up to P3V3_STB, it changes its 22 pgood=$(gpioget $(gpiofind power-chassis-good)) 25 gpioset $(gpiofind power-chassis-control)=0 28 gpioset $(gpiofind power-chassis-control)=1 31 gpioset $(gpiofind host0-sysreset-n)=1 [all …]
|
/openbmc/u-boot/doc/driver-model/ |
H A D | fs_firmware_loader.txt | 3 # SPDX-License-Identifier: GPL-2.0 8 This is file system firmware loader for U-Boot framework, which has very close 10 to https://01.org/linuxgraphics/gfx-docs/drm/driver-api/firmware/index.html. 21 --------------------------------- 24 ------------------------------------------------------- 27 defined in fs-loader node as shown in below: 30 fs_loader0: fs-loader@0 { 31 u-boot,dm-pre-reloc; 32 compatible = "u-boot,fs-loader"; 36 <&mmc 1> means block storage device pointer and its partition. [all …]
|
/openbmc/linux/drivers/platform/x86/ |
H A D | apple-gmux.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2010-2012 Andreas Heider <andreas@meetr.de> 19 #include <linux/apple-gmux.h> 32 * A `Lattice XP2`_ on pre-retinas, a `Renesas R4F2113`_ on pre-T2 retinas. 41 * dual GPUs but no built-in display.) 43 * gmux is connected to the LPC bus of the southbridge. Its I/O ports are 45 * to access a pre-retina gmux are infixed ``_pio_``, those for a pre-T2 54 * https://www.nxp.com/docs/en/data-sheet/PCAL6524.pdf 112 return inb(gmux_data->iostart + port); in gmux_pio_read8() 118 outb(val, gmux_data->iostart + port); in gmux_pio_write8() [all …]
|