/openbmc/qemu/docs/devel/migration/ |
H A D | mapped-ram.rst | 1 Mapped-ram 4 Mapped-ram is a new stream format for the RAM section designed to 12 guest is constantly dirtying pages (i.e. live migration). Another 22 ----- 25 ``mapped-ram`` capabilities: 29 ``migrate_set_capability mapped-ram on`` 35 Mapped-ram migration is best done non-live, i.e. by stopping the VM on 38 For best performance enable the ``direct-io`` parameter as well: 40 ``migrate_set_parameter direct-io on`` 42 Use-cases [all …]
|
/openbmc/qemu/docs/ |
H A D | xbzrle.txt | 5 of VM downtime and the total live-migration time of Virtual machines. 13 live migration. 27 The page data delta is represented by zero and non zero runs. 29 A non zero run is represented by its length (in bytes) and the new data. 50 VEE 2011: Evaluation of Delta Compression Techniques for Efficient Live 55 XBZRLE has a sustained bandwidth of 2-2.5 GB/s for typical workloads making it 56 ideal for in-line, real-time encoding such as is needed for live-migration. 91 3. Set the XBZRLE cache size - the cache size is in MBytes and should be a 93 {qemu} migrate_set_parameter xbzrle-cache-size 256m 96 {qemu} migrate -d tcp:destination.host:4444 [all …]
|
/openbmc/linux/Documentation/admin-guide/mm/ |
H A D | userfaultfd.rst | 8 Userfaults allow the implementation of on-demand paging from userland 38 Vmas are not suitable for page- (or hugepage) granular fault tracking 48 is a corner case that would currently return ``-EBUSY``). 54 ---------------------- 63 - Any user can always create a userfaultfd which traps userspace page faults 67 - In order to also trap kernel page faults for the address space, either the 84 -------------------------- 101 - The ``UFFD_FEATURE_EVENT_*`` flags indicate that various other events 103 detail below in the `Non-cooperative userfaultfd`_ section. 105 - ``UFFD_FEATURE_MISSING_HUGETLBFS`` and ``UFFD_FEATURE_MISSING_SHMEM`` [all …]
|
/openbmc/linux/Documentation/admin-guide/LSM/ |
H A D | tomoyo.rst | 8 TOMOYO is a name-based MAC extension (LSM module) for the Linux kernel. 10 LiveCD-based tutorials are available at 12 http://tomoyo.sourceforge.jp/1.8/ubuntu12.04-live.html 13 http://tomoyo.sourceforge.jp/1.8/centos6-live.html 15 Though these tutorials use non-LSM version of TOMOYO, they are useful for you 29 User <-> Kernel interface documentation is available at 30 https://tomoyo.osdn.jp/2.5/policy-specification/index.html . 38 https://osdn.jp/projects/tomoyo/docs/lca2009-takeda.pdf 40 https://osdn.jp/projects/tomoyo/docs/freedomhectaipei-tomoyo.pdf 42 https://osdn.jp/projects/tomoyo/docs/PacSec2007-en-no-demo.pdf [all …]
|
/openbmc/linux/include/linux/ |
H A D | livepatch.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * livepatch.h - Kernel Live Patching Core 21 #define KLP_UNDEFINED -1 26 * struct klp_func - function structure for live patching 83 * struct klp_callbacks - pre/post live-(un)patch callback structure 88 * @post_unpatch_enabled: flag indicating if post-unpatch callback 91 * All callbacks are optional. Only the pre-patch callback, if provided, 93 * patch for any reason, including a non-zero error status returned from 94 * the pre-patch callback, no further callbacks will be executed. 105 * struct klp_object - kernel object structure for live patching [all …]
|
/openbmc/linux/arch/arm64/include/uapi/asm/ |
H A D | sigcontext.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 25 * Signal context structure - contains all info to do with the state 53 * New records that can exceed this space need to be opt-in for userspace, so 63 * and be 16-byte aligned. The last structure must be a dummy one with the 85 * Note: similarly to all other integer fields, each V-register is stored in an 86 * endianness-dependent format, with the byte at offset i from the start of the 87 * in-memory representation of the register value containing 89 * bits [(7 + 8 * i) : (8 * i)] of the register on little-endian hosts; or 90 * bits [(127 - 8 * i) : (120 - 8 * i)] on big-endian hosts. 119 * 16-byte aligned address immediately after the terminating null [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/amd/ |
H A D | pds_vfio_pci.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 2 .. note: can be edited and viewed with /usr/bin/formiko-vim 14 The ``pds-vfio-pci`` module is a PCI driver that supports Live Migration 20 The pds-vfio-pci device is enabled via multiple configuration steps and 21 depends on the ``pds_core`` driver to create and enable SR-IOV Virtual 26 example assumes the pds_core and pds-vfio-pci modules are already 29 .. code-block:: bash 30 :name: example-setup-script 38 # Prevent non-vfio VF driver from probing the VF device 41 # Create single VF for Live Migration via pds_core [all …]
|
/openbmc/linux/Documentation/bpf/ |
H A D | bpf_prog_run.rst | 1 .. SPDX-License-Identifier: GPL-2.0 16 -------- 20 can be used to unit test BPF programs against user-supplied context objects, and 28 - ``BPF_PROG_TYPE_SOCKET_FILTER`` 29 - ``BPF_PROG_TYPE_SCHED_CLS`` 30 - ``BPF_PROG_TYPE_SCHED_ACT`` 31 - ``BPF_PROG_TYPE_XDP`` 32 - ``BPF_PROG_TYPE_SK_LOOKUP`` 33 - ``BPF_PROG_TYPE_CGROUP_SKB`` 34 - ``BPF_PROG_TYPE_LWT_IN`` [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/xlnx/ |
H A D | xlnx,zynqmp-dpsub.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/xlnx/xlnx,zynqmp-dpsub.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 +------------------------------------------------------------+ 15 +--------+ | +----------------+ +-----------+ | 16 | DPDMA | --->| | --> | Video | Video +-------------+ | 17 | 4x vid | | | | | Rendering | -+--> | | | +------+ 18 | 2x aud | | | Audio/Video | --> | Pipeline | | | DisplayPort |---> | PHY0 | 19 +--------+ | | Buffer Manager | +-----------+ | | Source | | +------+ [all …]
|
/openbmc/linux/drivers/gpu/drm/xlnx/ |
H A D | zynqmp_disp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2017 - 2020 Xilinx, Inc. 8 * - Hyun Woo Kwon <hyun.kwon@xilinx.com> 9 * - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 36 * enum zynqmp_dpsub_layer_id - Layer identifier 46 * enum zynqmp_dpsub_layer_mode - Layer mode 47 * @ZYNQMP_DPSUB_LAYER_NONLIVE: non-live (memory) mode 48 * @ZYNQMP_DPSUB_LAYER_LIVE: live (stream) mode
|
/openbmc/linux/Documentation/livepatch/ |
H A D | reliable-stacktrace.rst | 15 functions may have live state and therefore may not be safe to patch. One way 16 to identify which functions are live is to use a stacktrace. 19 functions with live state, and best-effort approaches which can be helpful for 21 to provide a *reliable* stacktrace which ensures it never omits any live 38 * The return code is non-zero to indicate that the trace is not reliable. 47 function should attempt to detect such cases and return a non-zero error 52 3. Compile-time analysis 76 -------------------------------------- 99 ------------------------------- 133 ---------------------------------------------- [all …]
|
/openbmc/qemu/docs/interop/ |
H A D | live-block-operations.rst | 5 later. See the COPYING file in the top-level directory. 10 Live Block Device Operations 14 live block device jobs -- stream, commit, mirror, and backup. These can 16 namely: live copy data from backing files into overlays; shorten long 17 disk image chains by merging data from overlays into backing files; live 19 to another target image; and point-in-time (and incremental) backups of 21 primitives, and some (non-exhaustive list of) examples to illustrate 25 The file ``qapi/block-core.json`` in the QEMU source tree has the 35 --------------------------------- 37 A simple disk image chain. (This can be created live using QMP [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | batadv_packet.h | 1 /* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) */ 15 * batadv_tp_is_error() - Check throughput meter return code for error 23 * enum batadv_packettype - types for batman-adv encapsulated packets 40 /* 0x00 - 0x3f: local packets or special rules for handling */ 47 /* 0x40 - 0x7f: unicast */ 55 /* 0x80 - 0xff: reserved */ 59 * enum batadv_subtype - packet subtype for unicast4addr 76 * enum batadv_iv_flags - flags used in B.A.T.M.A.N. IV OGM packets 90 * enum batadv_icmp_packettype - ICMP message types 108 * enum batadv_mcast_flags - flags for multicast capabilities and settings [all …]
|
/openbmc/linux/Documentation/arch/arm64/ |
H A D | sve.rst | 23 ----------- 26 tracked per-thread. 34 instructions and registers, and the Linux-specific system interfaces 61 cpu-feature-registers.txt for details. 79 an endianness-invariant layout, with bits [(8 * i + 7) : (8 * i)] encoded at 84 Beware that on big-endian systems this results in a different byte order than 85 for the FPSIMD V-registers, which are stored as single host-endian 128-bit 86 values, with bits [(127 - 8 * i) : (120 - 8 * i)] of the register encoded at 91 ----------------------------- 98 * Vector length (VL) = size of a Z-register in bytes [all …]
|
/openbmc/linux/arch/xtensa/kernel/ |
H A D | coprocessor.S | 4 * Xtensa processor configuration-specific table of coprocessor and 11 * Copyright (C) 2003 - 2007 Tensilica Inc. 16 #include <asm/asm-offsets.h> 25 * - a task may have live coprocessors only on one CPU. 27 * - whether coprocessor context of task T is live on some CPU is 28 * denoted by T's thread_info->cpenable. 30 * - non-zero thread_info->cpenable means that thread_info->cp_owner_cpu 31 * is valid in the T's thread_info. Zero thread_info->cpenable means that 34 * - if a coprocessor context of task T is live on CPU X, only CPU X changes 35 * T's thread_info->cpenable, cp_owner_cpu and coprocessor save area. [all …]
|
/openbmc/linux/drivers/misc/lkdtm/ |
H A D | rodata.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This includes functions that are meant to live entirely in .rodata 4 * (via objcopy tricks), to validate the non-executability of .rodata.
|
/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/openbmc/poky/meta/recipes-kernel/lttng/lttng-tools/ |
H A D | 0001-tests-add-check_skip_kernel_test-to-check-root-user-.patch | 3 Date: Mon, 12 Feb 2024 09:23:54 -0500 6 MIME-Version: 1.0 7 Content-Type: text/plain; charset=UTF-8 8 Content-Transfer-Encoding: 8bit 28 Upstream-Status: Backport from 29 [https://git.lttng.org/?p=lttng-tools.git;a=commit;h=3a1744008331a0604479d3d7461f77056fad3a64] 31 Change-Id: I49a1f642a9869c21a69e0186c296fd917bd7b525 32 Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> 33 Signed-off-by: Michael Jeanson <mjeanson@efficios.com> 34 Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com> [all …]
|
/openbmc/qemu/net/ |
H A D | vhost-vdpa.c | 2 * vhost-vdpa.c 4 * Copyright(c) 2017-2018 Intel Corporation. 8 * See the COPYING file in the top-level directory. 14 #include "hw/virtio/virtio-net.h" 16 #include "net/vhost-vdpa.h" 17 #include "hw/virtio/vhost-vdpa.h" 18 #include "qemu/config-file.h" 19 #include "qemu/error-report.h" 27 #include "standard-headers/linux/virtio_net.h" 138 assert(nc->info->type == NET_CLIENT_DRIVER_VHOST_VDPA); in vhost_vdpa_get_vhost_net() [all …]
|
/openbmc/linux/drivers/of/ |
H A D | overlay.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2012 Pantelis Antoniou <panto@antoniou-consulting.com> 27 * struct target - info about current target node as recursing through overlay 29 * @in_livetree: @np is a node in the live devicetree 33 * in the live devicetree where the overlay subtree is targeted to be grafted 35 * also recurses to the next level of the live devicetree, as long as overlay 36 * subtree node also exists in the live devicetree. When a node in the overlay 37 * subtree does not exist at the same level in the live devicetree, target->np 47 * struct fragment - info about fragment nodes in overlay expanded device tree 67 * @cset: changeset to apply fragments to live device tree [all …]
|
/openbmc/openbmc/poky/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/ |
H A D | 01_man_portability.patch | 1 Upstream-Status: Inactive-Upstream [current release is from 1997; no vcs anywhere] 3 diff -ruNp tcp_wrappers_7.6.orig/hosts_access.3 tcp_wrappers_7.6/hosts_access.3 4 --- tcp_wrappers_7.6.orig/hosts_access.3 2005-03-09 18:30:25.000000000 +0100 5 +++ tcp_wrappers_7.6/hosts_access.3 2005-03-09 18:27:03.000000000 +0100 6 @@ -3,7 +3,7 @@ 7 hosts_access, hosts_ctl, request_init, request_set \- access control library 10 -#include "tcpd.h" 15 diff -ruNp tcp_wrappers_7.6.orig/hosts_access.5 tcp_wrappers_7.6/hosts_access.5 16 --- tcp_wrappers_7.6.orig/hosts_access.5 2005-03-09 18:30:25.000000000 +0100 17 +++ tcp_wrappers_7.6/hosts_access.5 2005-03-09 18:30:18.000000000 +0100 [all …]
|
/openbmc/linux/sound/pci/emu10k1/ |
H A D | emu10k1_main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * James Courtier-Dutton <James@superbug.co.uk> 85 if (emu->audigy) { in snd_emu10k1_voice_init() 128 { 0x0e, 0xcf }, /* Attenuation Left 0x01 = -103dB, 0xff = 24dB */ 146 HCFG_MUTEBUTTONENABLE, emu->port + HCFG); in snd_emu10k1_init() 148 outl(0, emu->port + INTE); in snd_emu10k1_init() 169 if (emu->audigy) { in snd_emu10k1_init() 182 SPCS0, emu->spdif_bits[0], in snd_emu10k1_init() 183 SPCS1, emu->spdif_bits[1], in snd_emu10k1_init() 184 SPCS2, emu->spdif_bits[2], in snd_emu10k1_init() [all …]
|
/openbmc/qemu/docs/system/ |
H A D | cpu-models-x86.rst.inc | 7 enabling live migration between hosts with heterogeneous CPU models. 17 if they cannot be supported with virtualization. Live migration is 20 recommended CPU to use, provided live migration is not required. 27 isolation from the host CPU, allowing greater flexibility in live 39 benefit of passthrough, while making live migration safe. 51 lists the long term stable CPU model versions (eg Haswell-v4). 56 .. _ABI compatibility levels: https://gitlab.com/x86-psABIs/x86-64-ABI/ 58 .. csv-table:: x86-64 ABI compatibility levels 59 :file: cpu-models-x86-abi.csv 61 :header-rows: 1 [all …]
|
/openbmc/u-boot/include/dm/ |
H A D | ofnode.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 20 * ofnode - reference to a device tree node 23 * in the live device tree, or an offset within the flat device tree. In the 26 * Thus we can reference nodes in both the live tree (once available) and the 32 * NULL, or an offset of -1. 35 * pointer: when the live tree is active it holds a node pointer, otherwise it 46 * @np: Pointer to device node, used for live tree 51 const struct device_node *np; /* will be used for future live tree */ 62 * _ofnode_to_np() - convert an ofnode to a live DT node pointer 79 * ofnode_to_offset() - convert an ofnode to a flat DT offset [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/tm/ |
H A D | tm-signal-context-chk-gpr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 * speculative nature of the 'live' registers and may infer the wrong 32 #define NV_GPR_REGS 18 /* Number of non-volatile GPR registers */ 33 #define R14 14 /* First non-volatile register to check in r14-r31 subset */ 39 /* Test only non-volatile general purpose registers, i.e. r14-r31 */ 41 /* First context will be set with these values, i.e. non-speculative */ 46 -1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18 53 ucontext_t *tm_ucp = ucp->uc_link; in signal_usr1() 57 fail = (ucp->uc_mcontext.gp_regs[R14 + i] != gprs[i]); in signal_usr1() 61 R14 + i, ucp->uc_mcontext.gp_regs[R14 + i], gprs[i]); in signal_usr1() [all …]
|