/openbmc/u-boot/drivers/ddr/marvell/a38x/ |
H A D | mv_ddr_sys_env_lib.c | 1 // SPDX-License-Identifier: GPL-2.0 26 * mask MSB to receive index for board ID in mv_ddr_board_id_index_get() 28 return board_id & (MARVELL_BOARD_ID_MASK - 1); in mv_ddr_board_id_index_get() 32 * read gpio input for suspend-wakeup indication 33 * return indicating suspend wakeup status: 34 * 0 - not supported, 35 * 1 - supported: read magic word detect wakeup, 36 * 2 - detected wakeup from gpio 46 printf("\n_failed loading Suspend-Wakeup information (invalid board ID)\n"); in mv_ddr_sys_env_suspend_wakeup_check() 51 * - Detect if Suspend-Wakeup is supported on current board in mv_ddr_sys_env_suspend_wakeup_check() [all …]
|
H A D | mv_ddr_sys_env_lib.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 24 #define MPP_MASK(GPIO_NUM) (0xf << 4 * (GPIO_NUM - \ 38 #define A38X_MV_CUSTOMER_BOARD_NUM (A38X_MV_MAX_CUSTOMER_BOARD_ID - \ 51 #define A38X_MV_MARVELL_BOARD_NUM (A38X_MV_MAX_MARVELL_BOARD_ID - \ 59 #define A39X_MV_MARVELL_BOARD_NUM (A39X_MV_MAX_MARVELL_BOARD_ID - \ 74 * GPIO status indication for Suspend Wakeup: 75 * If suspend to RAM is supported and GPIO inidcation is implemented, 77 * If suspend to RAM is supported but GPIO indication is not implemented 78 * set '-2' 79 * If suspend to RAM is not supported set '-1' [all …]
|
/openbmc/qemu/tests/qtest/migration/i386/ |
H A D | a-b-bootblock.S | 8 # See the COPYING file in the top-level directory. 12 #include "migration-test.h" 45 # A20 enable - not sure I actually need this 50 # set up DS for the whole of RAM (needed on KVM) 89 # should this test suspend? 94 # are we waking after suspend? do not suspend again. 104 # suspend to ram 115 .p2align 2 /* force 4-byte alignment */ 120 /* -- code segment -- 127 /* -- data segment -- [all …]
|
/openbmc/u-boot/arch/arm/mach-mvebu/serdes/a38x/ |
H A D | sys_env_lib.c | 1 // SPDX-License-Identifier: GPL-2.0 41 u32 g_dev_id = -1; 76 * mask MSB to receive index for board ID in mv_board_id_index_get() 78 return board_id & (MARVELL_BOARD_ID_MASK - 1); in mv_board_id_index_get() 83 * DESCRIPTION: Reads GPIO input for suspend-wakeup indication. 86 * RETURNS: u32 indicating suspend wakeup status: 87 * 0 - Not supported, 88 * 1 - supported: read magic word detect wakeup, 89 * 2 - detected wakeup from GPIO. 99 printf("\n_failed loading Suspend-Wakeup information (invalid board ID)\n"); in sys_env_suspend_wakeup_check() [all …]
|
H A D | sys_env_lib.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 130 /* DB-BP Board 'SatR' mapping */ 144 /* For setting MPP2 and MPP3 to be TWSI mode and MPP 0,1 to UART mode */ 170 #define A38X_MV_CUSTOMER_BOARD_NUM (A38X_MV_MAX_CUSTOMER_BOARD_ID - \ 183 #define A38X_MV_MARVELL_BOARD_NUM (A38X_MV_MAX_MARVELL_BOARD_ID - \ 191 #define A39X_MV_CUSTOMER_BOARD_NUM (A39X_MV_MAX_CUSTOMER_BOARD_ID - \ 199 #define A39X_MV_MARVELL_BOARD_NUM (A39X_MV_MAX_MARVELL_BOARD_ID - \ 247 #define MPP_MASK(GPIO_NUM) (0xf << 4 * (GPIO_NUM - \ 318 * GPIO status indication for Suspend Wakeup: 319 * If suspend to RAM is supported and GPIO inidcation is implemented, [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Control/Power/ |
H A D | ACPIPowerState.interface.yaml | 2 Implement to set/get ACPI power status 5 - name: SysACPIStatus 11 - name: DevACPIStatus 18 - name: ACPI 22 - name: S0_G0_D0 25 - name: S1_D1 27 Hardware context maintained, typically equates to proc/chip set 29 - name: S2_D2 31 Typically equates to stopped clocks with proc/cache context 33 - name: S3_D3 [all …]
|
/openbmc/qemu/docs/devel/migration/ |
H A D | CPR.rst | 5 VM is migrated to a new QEMU instance on the same host. It is 6 intended for use when the goal is to update host software components 8 the cpr-reboot and cpr-transfer modes are available. 10 Because QEMU is restarted on the same host, with access to the same 18 cpr-reboot mode 19 --------------- 21 In this mode, QEMU stops the VM, and writes VM state to the migration 23 resumes by running QEMU with the ``-incoming`` option. Because the 25 be a type that streams data from one instance to the other. 27 Guest RAM can be saved in place if backed by shared memory, or can be [all …]
|
/openbmc/qemu/python/qemu/utils/ |
H A D | qemu_ga_client.py | 8 # qemu [...] -chardev socket,path=/tmp/qga.sock,server=on,wait=off,id=qga0 \ 9 -device virtio-serial \ 10 -device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0 14 $ qemu-ga-client --address=/tmp/qga.sock <command> [args...] 19 $ qemu-ga-client <command> [args...] 23 $ qemu-ga-client cat /etc/resolv.conf 26 $ qemu-ga-client fsfreeze status 28 $ qemu-ga-client fsfreeze freeze 37 # the COPYING file in the top-level directory. 58 # some time. If you would like to improve it, please review the design [all …]
|
/openbmc/qemu/qga/ |
H A D | qapi-schema.json | 1 # *-*- Mode: Python -*-* 8 # For locating a particular item, please see the `qapi-qga-index`. 12 # .. qmp-example:: 14 # -> ... text sent by client (commands) ... 15 # <- ... text sent by server (command responses and events) ... 20 # Please refer to the 21 # :doc:`QEMU Machine Protocol Specification </interop/qmp-spec>` 25 { 'pragma': { 'doc-required': true } } 27 # Lists with items allowed to permit QAPI rule violations; think twice 28 # before you add to them! [all …]
|
/openbmc/qemu/hw/mips/ |
H A D | loongson3_virt.c | 2 * Generic Loongson-3 Platform support 4 * Copyright (c) 2018-2020 Huacai Chen (chenhc@lemote.com) 5 * Copyright (c) 2018-2020 Jiaxun Yang <jiaxun.yang@flygoat.com> 22 * Generic virtualized PC Platform based on Loongson-3 CPU (MIPS64R2 with 32 #include "hw/char/serial-mm.h" 45 #include "hw/pci-host/gpex.h" 52 #include "qemu/error-report.h" 59 * Loongson-3's virtual machine BIOS can be obtained here: 60 * 1, https://github.com/loongson-community/firmware-nonfree 104 #define TYPE_LOONGSON_MACHINE MACHINE_TYPE_NAME("loongson3-virt") [all …]
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | acpi_s3.c | 1 // SPDX-License-Identifier: GPL-2.0+ 22 printf("Jumping to OS waking vector %p\n", vector); in acpi_jump_to_wakeup() 31 enter_acpi_mode(fadt->pm1a_cnt_blk); in acpi_resume() 39 memcpy((void *)0x1000, (const void *)gd->arch.backup_mem, in acpi_resume() 49 gd->start_addr_sp -= S3_RESERVE_SIZE; in acpi_s3_reserve() 50 gd->arch.backup_mem = gd->start_addr_sp; in acpi_s3_reserve() 52 gd->start_addr_sp &= ~0xf; in acpi_s3_reserve() 55 * U-Boot sets up the real mode interrupt handler stubs starting from in acpi_s3_reserve() 56 * address 0x1000. In most cases, the first 640K (0x00000 - 0x9ffff) in acpi_s3_reserve() 57 * system memory is reported as system RAM in E820 table to the OS. in acpi_s3_reserve() [all …]
|
/openbmc/qemu/hw/i386/xen/ |
H A D | xen-hvm.c | 5 * the COPYING file in the top-level directory. 7 * Contributions after 2012-01-13 are licensed under the terms of the 13 #include "qemu/error-report.h" 15 #include "qapi/qapi-commands-migration.h" 21 #include "hw/i386/apic-msidef.h" 22 #include "hw/xen/xen-x86.h" 25 #include "hw/xen/xen-hvm-common.h" 31 #include "system/xen-mapcache.h" 41 * This allows QEMU to build on a system that has Xen 4.5 or earlier installed. 42 * This is here (not in hw/xen/xen_native.h) because xen/hvm/ioreq.h needs to [all …]
|
/openbmc/qemu/docs/user/ |
H A D | main.rst | 1 .. _user-mode: 7 --------------------------- 11 - Linux (referred as qemu-linux-user) 13 - BSD (referred as qemu-bsd-user) 16 -------- 23 System calls are the principle interface between user-space and the 35 QEMU can redirect to the running program all signals coming from the 40 QEMU relies on the host kernel to emulate most signal system calls, 41 for example to emulate the signal mask. On Linux, QEMU supports both 42 normal and real-time signals. [all …]
|
/openbmc/qemu/tests/qtest/migration/ |
H A D | framework.h | 2 * Copyright (c) 2016-2018 Red Hat, Inc. and/or its affiliates 3 * based on the vhost-user-test.c that is: 7 * See the COPYING file in the top-level directory. 15 #include <qapi/qapi-types-migration.h> 41 * be used to set migration parameters and capabilities. 43 * Returns: NULL, or a pointer to opaque state to be 44 * later passed to the TestMigrateEndHook 47 QTestState *to); 52 * before QEMU has terminated (unless it self-terminated 53 * due to migration error) [all …]
|
H A D | migration-qmp.c | 4 * Copyright (c) 2016-2018 Red Hat, Inc. and/or its affiliates 5 * based on the vhost-user-test.c that is: 9 * See the COPYING file in the top-level directory. 15 #include "migration-qmp.h" 16 #include "migration-util.h" 18 #include "qapi/qapi-types-migration.h" 19 #include "qapi/qapi-visit-migration.h" 23 #include "qapi/qobject-input-visitor.h" 24 #include "qapi/qobject-output-visitor.h" 28 * status changes, to avoid test suite hanging forever [all …]
|
H A D | precopy-tests.c | 4 * Copyright (c) 2016-2018 Red Hat, Inc. and/or its affiliates 5 * based on the vhost-user-test.c that is: 9 * See the COPYING file in the top-level directory. 19 #include "migration/migration-qmp.h" 20 #include "migration/migration-util.h" 21 #include "ppc-util.h" 23 #include "qapi-types-migration.h" 46 * get-dirty-log dirty tracking. in test_precopy_unix_plain() 94 * rather than get-dirty-log. in test_precopy_unix_dirty_ring() 107 * During migration over RDMA, it will try to pin portions of guest memory, [all …]
|
/openbmc/qemu/qapi/ |
H A D | machine.json | 1 # -*- Mode: Python -*- 5 # See the COPYING file in the top-level directory. 14 { 'include': 'machine-common.json' } 20 # targets. Run "./configure --help" in the project root directory, 21 # and look for the \*-softmmu targets near the "--target-list" option. 31 # .. note:: The resulting QMP strings can be appended to the 32 # "qemu-system-" prefix to produce the corresponding QEMU 33 # executable name. This is true even for "qemu-system-x86_64". 54 'data': [ 'uninitialized', 'stopped', 'check-stop', 'operating', 'load' ] } 61 # @cpu-state: the virtual CPU's state [all …]
|
H A D | migration.json | 1 # -*- Mode: Python -*- 19 # @transferred: amount of bytes already transferred to the target VM 21 # @remaining: amount of bytes remaining to be transferred to the 30 # @normal-bytes: number of normal bytes sent (since 1.2) 32 # @dirty-pages-rate: number of pages dirtied by second by the guest 37 # @dirty-sync-count: number of times that dirty ram was synchronized 40 # @postcopy-requests: The number of page requests received from the 43 # @page-size: The number of bytes per page for the various page-based 46 # @multifd-bytes: The number of bytes sent through multifd (since 3.0) 48 # @pages-per-second: the number of memory pages transferred per second [all …]
|
/openbmc/u-boot/board/freescale/m54455evb/ |
H A D | README | 4 TsiChung Liew(Tsi-Chung.Liew@freescale.com) 12 - board/freescale/m54455evb/m54455evb.c Dram setup, IDE pre init, and PCI init 13 - board/freescale/m54455evb/flash.c Atmel and INTEL flash support 14 - board/freescale/m54455evb/Makefile Makefile 15 - board/freescale/m54455evb/config.mk config make 16 - board/freescale/m54455evb/u-boot.lds Linker description 18 - common/cmd_bdinfo.c Clock frequencies output 19 - common/cmd_mii.c mii support 21 - arch/m68k/cpu/mcf5445x/cpu.c cpu specific code 22 - arch/m68k/cpu/mcf5445x/cpu_init.c Flexbus ChipSelect, Mux pins setup, icache and RTC extra regs [all …]
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-mem.c | 10 * See the COPYING file in the top-level directory. 16 #include "qemu/error-report.h" 23 #include "hw/virtio/virtio-bus.h" 24 #include "hw/virtio/virtio-mem.h" 30 #include "hw/qdev-properties.h" 45 * Let's not allow blocks smaller than 1 MiB, for example, to keep the tracking 79 * We want to have a reasonable default block size such that 85 * The actual THP size might differ between Linux kernels, so we try to probe 87 * to disable THP in case we fail to properly probe the THP size, or if the 104 /* No THP -> no restrictions. */ in virtio_mem_thp_size() [all …]
|
H A D | vhost-vdpa.c | 2 * vhost-vdpa 4 * Copyright(c) 2017-2018 Intel Corporation. 8 * See the COPYING file in the top-level directory. 19 #include "hw/virtio/vhost-backend.h" 20 #include "hw/virtio/virtio-net.h" 21 #include "hw/virtio/vhost-shadow-virtqueue.h" 22 #include "hw/virtio/vhost-vdpa.h" 23 #include "system/address-spaces.h" 26 #include "qemu/main-loop.h" 37 Int128 llend = int128_make64(section->offset_within_address_space); in vhost_vdpa_section_end() [all …]
|
/openbmc/qemu/docs/interop/ |
H A D | firmware.json | 1 # -*- Mode: Python -*- 11 # later. See the COPYING file in the top-level directory. 20 'member-name-exceptions': [ 27 # Lists the firmware-OS interface types provided by various firmware 34 # 1275-1994 standard. Examples for firmware projects that 37 # @uboot: Firmware interface defined by the U-Boot project. 53 # @flash: The firmware executable and its accompanying NVRAM file are to 56 # @kernel: The firmware is to be loaded like a Linux kernel. This is 57 # similar to @memory but may imply additional processing that 58 # is specific to the target architecture and machine type. [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | am33xx.dtsi | 4 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/pinctrl/am33xx.h> 13 #include <dt-bindings/clock/am3.h> 17 interrupt-parent = <&intc>; 18 #address-cells = <1>; 19 #size-cells = <1>; 32 d-can0 = &dcan0; 33 d-can1 = &dcan1; 45 #address-cells = <1>; [all …]
|
/openbmc/u-boot/drivers/usb/dwc3/ |
H A D | gadget.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * gadget.c - DesignWare USB3 DRD Controller Gadget Framework Link 5 * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com 10 * Taken from Linux Kernel v3.19-rc1 (drivers/usb/dwc3/gadget.c) and ported 11 * to uboot. 13 * commit 8e74475b0e : usb: dwc3: gadget: use udc-core's reset notifier 18 #include <asm/dma-mapping.h> 29 #include "linux-compat.h" 32 * dwc3_gadget_set_test_mode - Enables USB2 Test Modes 33 * @dwc: pointer to our context structure [all …]
|
/openbmc/qemu/target/i386/whpx/ |
H A D | whpx-all.c | 7 * See the COPYING file in the top-level directory. 13 #include "system/address-spaces.h" 17 #include "accel/accel-ops.h" 21 #include "qemu/main-loop.h" 25 #include "qemu/error-report.h" 27 #include "qapi/qapi-types-common.h" 28 #include "qapi/qapi-visit-common.h" 30 #include "host-cpu.h" 31 #include "accel/accel-cpu-target.h" 34 #include "whpx-internal.h" [all …]
|