/openbmc/qemu/tests/qemu-iotests/ |
H A D | 061 | 41 # This tests qcow2-specific low-level functionality 50 # require the default 64k cluster 60 _make_test_img -o "compat=1.1,lazy_refcounts=on" 64M 61 $QEMU_IO -c "write -z 0 128k" "$TEST_IMG" | _filter_qemu_io 63 $QEMU_IMG amend -o "compat=0.10" "$TEST_IMG" 65 $QEMU_IO -c "read -P 0 0 128k" "$TEST_IMG" | _filter_qemu_io 71 _make_test_img -o "compat=1.1,lazy_refcounts=on" 64M 72 $QEMU_IO -c "write -z 0 128k" "$TEST_IMG" | _filter_qemu_io 73 $QEMU_IO -c "write -z 32M 128k" "$TEST_IMG" | _filter_qemu_io 74 $QEMU_IO -c map "$TEST_IMG" | _filter_qemu_io [all …]
|
H A D | 279.out | 2 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864 3 Formatting 'TEST_DIR/t.IMGFMT.mid', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base ba… 6 == qemu-img info --backing-chain == 9 virtual size: 64 MiB (67108864 bytes) 14 virtual size: 64 MiB (67108864 bytes) 15 backing file: TEST_DIR/t.IMGFMT.base 17 image: TEST_DIR/t.IMGFMT.base 19 virtual size: 64 MiB (67108864 bytes) 21 == qemu-img info --backing-chain --image-opts == 24 virtual size: 64 MiB (67108864 bytes) [all …]
|
H A D | 176.out | 5 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=2202010112 6 Formatting 'TEST_DIR/t.IMGFMT.itmd', fmt=IMGFMT size=2202010112 backing_file=TEST_DIR/t.IMGFMT.base… 13 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 22 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 24 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 26 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 30 0x7ffd0000 0x30000 TEST_DIR/t.IMGFMT.base 32 0x7ffd0000 0x10000 TEST_DIR/t.IMGFMT.base 36 0x7ffd0000 0x10000 TEST_DIR/t.IMGFMT.base 45 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=2202010112 [all …]
|
H A D | 122 | 4 # Test some qemu-img convert cases 48 TEST_IMG="$TEST_IMG".base _make_test_img 64M 49 $QEMU_IO -c "write -P 0x11 0 64M" "$TEST_IMG".base 2>&1 | _filter_qemu_io | _filter_testdir 53 echo "=== Check allocation status regression with -B ===" 56 _make_test_img -b "$TEST_IMG".base -F $IMGFMT 57 $QEMU_IO -c "write -P 0x22 0 3M" "$TEST_IMG" 2>&1 | _filter_qemu_io | _filter_testdir 58 $QEMU_IMG convert -O $IMGFMT -B "$TEST_IMG".base \ 59 -o backing_fmt=$IMGFMT "$TEST_IMG" "$TEST_IMG".orig 67 _make_test_img -b "$TEST_IMG".base -F $IMGFMT 69 $QEMU_IO -c "write -P 0 0 3M" "$TEST_IMG" 2>&1 | _filter_qemu_io | _filter_testdir [all …]
|
H A D | 020 | 33 _rm_test_img "$TEST_IMG.base" 36 _rm_test_img "$TEST_DIR/subdir/t.$IMGFMT.base" 59 TEST_IMG="$TEST_IMG.base" 63 echo "Filling base image" 68 io writev $(( offset )) 512 1024 64 71 io writev $(( offset + 64 * 1024)) 65536 65536 1 79 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT 6G 86 io writev $(( offset + 512 )) 512 1024 64 89 io writev $(( offset + 64 * 1024 + 65536)) 65536 65536 1 94 TEST_IMG="$TEST_IMG.base" [all …]
|
H A D | 097 | 50 # 0: Two-layer backing chain, commit to upper backing file (implicitly) 52 # 1: Two-layer backing chain, commit to upper backing file (explicitly) 54 # 2: Two-layer backing chain, commit to upper backing file (implicitly with -d) 56 # 3: Two-layer backing chain, commit to lower backing file 60 # working properly and that all images above the base are emptied; therefore, 70 TEST_IMG="$TEST_IMG.base" _make_test_img $len 71 TEST_IMG="$TEST_IMG.itmd" _make_test_img -b "$TEST_IMG.base" -F $IMGFMT $len 72 _make_test_img -b "$TEST_IMG.itmd" -F $IMGFMT $len 74 $QEMU_IO -c "write -P 1 0x7ffd0000 192k" "$TEST_IMG.base" | _filter_qemu_io 75 $QEMU_IO -c "write -P 2 0x7ffe0000 128k" "$TEST_IMG.itmd" | _filter_qemu_io [all …]
|
H A D | 110.out | 5 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864 6 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=t.IMGFMT.base backing_fmt=IMG… 9 virtual size: 64 MiB (67108864 bytes) 10 backing file: t.IMGFMT.base (actual path: TEST_DIR/t.IMGFMT.base) 12 === Non-reconstructable filename === 16 virtual size: 64 MiB (67108864 bytes) 17 backing file: t.IMGFMT.base (actual path: TEST_DIR/t.IMGFMT.base) 21 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=t.IMGFMT.base backing_fmt=IMG… 27 virtual size: 64 MiB (67108864 bytes) 28 backing file: t.IMGFMT.base (cannot determine actual path)
|
H A D | 154 | 6 # Copyright (C) 2016-2017 Red Hat, Inc. 53 CLUSTER_SIZE=512 TEST_IMG="$TEST_IMG.base" _make_test_img $size 54 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT 59 # X = non-zero data sector in backing file 60 # - = sector unallocated in whole backing chain 63 # 1. Tail unaligned: 00 00 -- -- 64 # 2. Head unaligned: -- -- 00 00 65 # 3. Both unaligned: -- 00 00 -- 66 # 4. Both, 2 clusters: -- -- -- 00 | 00 -- -- -- 68 $QEMU_IO -c "write -z 0 2k" "$TEST_IMG" | _filter_qemu_io [all …]
|
H A D | 098.out | 5 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864 6 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backin… 8 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 9 qemu-img: Failed to empty blkdebug:TEST_DIR/blkdebug.conf:TEST_DIR/t.IMGFMT: Input/output error 14 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864 15 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backin… 17 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 18 qemu-img: Failed to empty blkdebug:TEST_DIR/blkdebug.conf:TEST_DIR/t.IMGFMT: Input/output error 27 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864 28 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backin… [all …]
|
H A D | 176 | 59 $QEMU -nographic -qmp stdio -serial none "$@" 2>&1 \ 61 | sed 's/"sha256": ".\{64\}"/"sha256": HASH/' 67 # 0: Two-layer backing chain, commit to upper backing file (implicitly) 69 # 1: Two-layer backing chain, commit to upper backing file (explicitly) 71 # 2: Two-layer backing chain, commit to upper backing file (implicitly with -d) 73 # 3: Two-layer backing chain, commit to lower backing file 77 # working properly and that all images above the base are emptied; therefore, 87 TEST_IMG="$TEST_IMG.base" _make_test_img $len 88 TEST_IMG="$TEST_IMG.itmd" _make_test_img -b "$TEST_IMG.base" -F $IMGFMT $len 89 _make_test_img -b "$TEST_IMG.itmd" -F $IMGFMT $len [all …]
|
H A D | 130 | 5 # blockdev-add) don't replace the original path stored in the image during 47 # We are going to use lazy-refcounts 53 TEST_IMG="$TEST_IMG.orig" _make_test_img 64M 54 TEST_IMG="$TEST_IMG.base" _make_test_img 64M 55 _make_test_img 64M 64 _launch_qemu -drive id=testdisk,file="$TEST_IMG",backing.file.filename="$TEST_IMG.base" 72 _make_test_img -F raw -b "$TEST_IMG.orig" 64M 73 _launch_qemu -drive id=testdisk,file="$TEST_IMG",backing.file.filename="$TEST_IMG.base",backing.dri… 84 _make_test_img 64M 85 $QEMU_IO -c "open -o backing.file.filename=$TEST_IMG.base,lazy-refcounts=on $TEST_IMG" -c "write 0 … [all …]
|
H A D | 114 | 47 # Older qemu-img could set up backing file without backing format; modern 49 truncate -s $((64 * 1024 * 1024)) "$TEST_IMG.orig" 50 _make_test_img -b "$TEST_IMG.orig" -F raw 64M 51 $PYTHON qcow2.py "$TEST_IMG" del-header-ext 0xE2792ACA 53 TEST_IMG="$TEST_IMG.base" _make_test_img 64M 54 $QEMU_IMG convert -O qcow2 -B "$TEST_IMG.orig" "$TEST_IMG.orig" "$TEST_IMG" 55 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT 64M 56 _make_test_img -u -b "$TEST_IMG.base" -F $IMGFMT 64M 59 $PYTHON qcow2.py "$TEST_IMG" add-header-ext 0xE2792ACA "foo" 64 $QEMU_IO -c "open $TEST_IMG" -c "read 0 4k" 2>&1 | _filter_qemu_io | _filter_testdir [all …]
|
H A D | 271.out | 6 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=raw size=1048576 7 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT.base backing… 8 write -q -P PATTERN 0 1k 10 write -q -P PATTERN 3k 512 12 write -q -P PATTERN 5k 1k 14 write -q -P PATTERN 6k 2k 16 write -q -P PATTERN 8k 6k 18 write -q -P PATTERN 15k 4k 20 write -q -P PATTERN 32k 1k 22 write -q -P PATTERN 63k 4k [all …]
|
H A D | 018 | 51 TEST_IMG=$TEST_IMG.base 54 echo "Filling base image" 59 io writev $(( offset )) 512 1024 64 62 io writev $(( offset + 64 * 1024)) 65536 65536 1 70 _make_test_img -b "$TEST_IMG_SAVE.base" -F $IMGFMT 6G 77 io writev $(( offset + 512 )) 512 1024 64 80 io writev $(( offset + 64 * 1024 + 65536)) 65536 65536 1 85 $QEMU_IMG convert -f $IMGFMT -O $IMGFMT "$TEST_IMG.orig" "$TEST_IMG" 92 io readv $(( offset )) 512 1024 64 93 io readv $(( offset + 512 )) 512 1024 64 [all …]
|
H A D | 017 | 50 TEST_IMG=$TEST_IMG.base 53 echo "Filling base image" 58 io writev $(( offset )) 512 1024 64 61 io writev $(( offset + 64 * 1024)) 65536 65536 1 69 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT 6G 76 io writev $(( offset + 512 )) 512 1024 64 79 io writev $(( offset + 64 * 1024 + 65536)) 65536 65536 1 88 io readv $(( offset )) 512 1024 64 89 io readv $(( offset + 512 )) 512 1024 64 92 io readv $(( offset + 64 * 1024)) 65536 65536 1 [all …]
|
H A D | 028 | 54 # formats that use clusters. This will ensure that the base image doesn't end 58 # The base image is smaller than the image file 59 base_size=$(( image_size - 1024 * 1024 * 1024 )) 61 offset=$(( base_size - 32 * 1024 )) 64 TEST_IMG="$TEST_IMG.base" 68 echo "Filling base image" 71 # Fill end of base image with a pattern, skipping every other sector 80 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT $image_size 85 # Write every other sector around where the base image ends 86 io writev $(( offset + 512 )) 512 1024 64 [all …]
|
H A D | 019 | 4 # When using a backing file for the output image in qemu-img convert, 35 _rm_test_img "$TEST_IMG.base" 58 TEST_IMG="$TEST_IMG.base" 62 echo "Filling base image" 67 io_pattern writev $(( offset )) 512 1024 64 42 78 _make_test_img -b "$TEST_IMG_SAVE.base" -F $IMGFMT 6G 85 io_pattern writev $(( offset + 512 )) 512 1024 64 43 94 # Test the conversion twice: One test with the old-style -B option and another 95 # one with -o backing_file 97 for backing_option in "-B " "-o backing_file="; do [all …]
|
H A D | 274.out | 26 0 0x200000 0x50000 TEST_DIR/PID-base 31 0 0x100000 0x50000 TEST_DIR/PID-base 37 0 0x100000 0x50000 TEST_DIR/PID-base 39 === Testing qemu-img commit (top -> mid) === 46 backing file: TEST_DIR/PID-base 62 === Testing HMP commit (top -> mid) === 66 {"execute": "human-monitor-command", "arguments": {"command-line": "commit drive0"}} 72 backing file: TEST_DIR/PID-base 88 === Testing QMP active commit (top -> mid) === 92 {"execute": "block-commit", "arguments": {"auto-dismiss": false, "base-node": "mid", "device": "top… [all …]
|
H A D | 260 | 30 base, top = file_path('base', 'top') variable 31 size = 64 * 1024 * 3 35 result = vm.qmp('query-block')['return'][0] 37 if 'dirty-bitmaps' in info: 38 bitmap = info['dirty-bitmaps'][0] 39 log('{}: name={} dirty-clusters={}'.format(msg, bitmap['name'], 40 bitmap['count'] // 64 // 1024)) 48 '' if persistent else 'non-', 'with' if restart else 'without')) 50 qemu_img_create('-f', iotests.imgfmt, base, str(size)) 52 vm = iotests.VM().add_drive(base) [all …]
|
/openbmc/openbmc/meta-raspberrypi/docs/ |
H A D | layer-contents.md | 7 * raspberrypi0-wifi 8 * raspberrypi0-2w-64 11 * raspberrypi3-64 (64 bit kernel & userspace) 13 * raspberrypi4-64 (64 bit kernel & userspace) 15 * raspberrypi-cm (dummy alias for raspberrypi) 16 * raspberrypi-cm3 20 ## Multi-board Machines 30 ### raspberrypi-armv7 32 This machine targets support for all the ARMv7-based Raspberry Pi boards. It 36 ### raspberrypi-armv8 [all …]
|
/openbmc/u-boot/lib/ |
H A D | div64.c | 4 * Based on former do_div() implementation from asm-parisc/div64.h: 5 * Copyright (C) 1999 Hewlett-Packard Co 6 * Copyright (C) 1999 David Mosberger-Tang <davidm@hpl.hp.com> 9 * Generic C version of 64bit/32bit division and modulo, with 10 * 64bit result and 32bit remainder. 15 * for some CPUs. __div64_32() can be overridden by linking arch-specific 24 /* Not needed on 64bit architectures */ 28 uint32_t __attribute__((weak)) __div64_32(uint64_t *n, uint32_t base) in __div64_32() argument 31 uint64_t b = base; in __div64_32() 37 if (high >= base) { in __div64_32() [all …]
|
/openbmc/openbmc/poky/meta-yocto-bsp/recipes-kernel/linux/ |
H A D | linux-yocto-dev.bbappend | 1 KBRANCH:genericx86 = "standard/base" 2 KBRANCH:genericx86-64 = "standard/base" 3 KBRANCH:beaglebone-yocto = "standard/beaglebone" 6 KMACHINE:genericx86 ?= "common-pc" 7 KMACHINE:genericx86-64 ?= "common-pc-64" 8 KMACHINE:beaglebone-yocto ?= "beaglebone" 12 COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64" 13 COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto"
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | commit-zero-blocks | 7 # are present in the base image are discarded in the intermediate image. 8 # This intends to check that these blocks are also discarded in the base 27 owner=libvirt-e6954efa@volkihar.be 37 _rm_test_img "${TEST_IMG}.base" 54 TEST_IMG="$TEST_IMG.base" _make_test_img $size 55 TEST_IMG="$TEST_IMG.mid" _make_test_img -b "$TEST_IMG.base" -F $IMGFMT $size 56 _make_test_img -b "${TEST_IMG}.mid" -F $IMGFMT $size 58 $QEMU_IO -c "write -P 0x01 64k 128k" "$TEST_IMG.base" | _filter_qemu_io 59 $QEMU_IO -c "discard 64k 64k" "$TEST_IMG.mid" | _filter_qemu_io 62 echo "=== Base image info before commit ===" [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/opensaf/opensaf/ |
H A D | 0001-Use-correct-printf-format-for-__fsblkcnt_t.patch | 3 Date: Sun, 15 Nov 2020 13:22:31 -0800 7 this would be a 64bit value 10 …'long int', but argument 3 has type '__fsblkcnt_t' {aka 'long long unsigned int'} [-Werror=format=] 12 Upstream-Status: Pending 13 Signed-off-by: Khem Raj <raj.khem@gmail.com> 14 --- 15 src/base/os_defs.c | 4 ++++ 18 --- a/src/base/os_defs.c 19 +++ b/src/base/os_defs.c 20 @@ -917,7 +917,11 @@ uint32_t ncs_os_posix_shm(NCS_OS_POSIX_S [all …]
|
/openbmc/u-boot/drivers/crypto/ |
H A D | aspeed_hace.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 48 #define ASPEED_SHA384_DIGEST_SIZE 64 49 #define ASPEED_SHA512_DIGEST_SIZE 64 63 u8 digest[64]; /* Must be 8 byte aligned */ 100 static phys_addr_t base; variable 114 if (ctx->block_size == 64) { in aspeed_ahash_fill_padding() 115 bits[0] = cpu_to_be64(ctx->digcnt[0] << 3); in aspeed_ahash_fill_padding() 116 index = (ctx->bufcnt + remainder) & 0x3f; in aspeed_ahash_fill_padding() 117 padlen = (index < 56) ? (56 - index) : ((64 + 56) - index); in aspeed_ahash_fill_padding() 118 *(ctx->buffer + ctx->bufcnt) = 0x80; in aspeed_ahash_fill_padding() [all …]
|