Searched +full:migration +full:- +full:memory (Results 1 – 14 of 14) sorted by relevance
/kvm-unit-tests/powerpc/ |
H A D | unittests.cfg | 12 # that the configured amount of memory (-m <MB>) are correctly setup 15 [selftest-setup] 19 qemu_params = -m 1g 22 [selftest-migration] 23 file = selftest-migration.elf 25 groups = selftest migration 27 [selftest-migration-skip] 28 file = selftest-migration.elf 30 groups = selftest migration 33 [migration-memory] [all …]
|
H A D | memory-verify.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Simple memory verification test, used to exercise dirty memory migration. 21 if (strcmp(argv[i], "-t") == 0) { in do_getopts() 41 report_prefix_push("memory"); in main() 59 } while (get_clock_ms() - ms < time_sec * 1000); in main() 63 report(success, "memory verification stress test"); in main()
|
H A D | atomics.c | 1 // SPDX-License-Identifier: GPL-2.0-only 33 "bne- 1b;" in spin_lock() 35 : "=&r"(old) : "r"(1), "r"(lock) : "cr0", "memory"); in spin_lock() 42 : "+m"(*lock) : "r"(0) : "memory"); in spin_unlock() 66 "bne- 1b;" in test_lwarx_stwcx() 67 : "=&r"(old) : "r"(1), "r"(var) : "cr0", "memory"); in test_lwarx_stwcx() 74 "bne- 1f;" in test_lwarx_stwcx() 78 : "r"(1), "r"(var) : "cr0", "memory"); in test_lwarx_stwcx() 86 "bne- 1f;" in test_lwarx_stwcx() 90 : "r"(1), "r"(2), "r"(var) : "cr0", "memory"); in test_lwarx_stwcx() [all …]
|
H A D | Makefile.common | 7 tests-common = \ 9 $(TEST_DIR)/selftest-migration.elf \ 10 $(TEST_DIR)/memory-verify.elf \ 23 tests-all = $(tests-common) $(tests) 24 all: directories $(TEST_DIR)/boot_rom.bin $(tests-all) 28 mabi_no_altivec := $(call cc-option,-mabi=no-altivec,"") 30 CFLAGS += -std=gnu99 31 CFLAGS += -ffreestanding 32 CFLAGS += -O2 -msoft-float -mno-altivec $(mabi_no_altivec) 33 CFLAGS += -I $(SRCDIR)/lib -I $(SRCDIR)/lib/libfdt -I lib [all …]
|
/kvm-unit-tests/arm/ |
H A D | unittests.cfg | 12 # that the configured amount of memory (-m <MB>) are correctly setup 15 [selftest-setup] 19 qemu_params = -m 256 20 kvmtool_params = --mem 256 24 [selftest-vectors-kernel] 26 test_args = vectors-kernel 30 [selftest-vectors-user] 32 test_args = vectors-user 36 [selftest-smp] 43 [pci-test] [all …]
|
H A D | gic.c | 21 #include <asm/gic-v3-its.h> 60 irq_sender[i] = -1; in stats_reset() 61 irq_number[i] = -1; in stats_reset() 77 * wait it cannot un-receive it. Consider at least one in wait_for_interrupts() 93 report_info("interrupts timed-out (5s)"); in wait_for_interrupts() 152 /* GICC_IAR.CPUID is RAZ for non-SGIs */ in gic_get_sender() 154 return -1; in gic_get_sender() 231 * Ensure stores to Normal memory are visible to other CPUs before in gicv3_ipi_send_broadcast() 248 gic->ipi.send_self(); in ipi_test_self() 260 report_prefix_push("target-list"); in ipi_test_smp() [all …]
|
/kvm-unit-tests/ |
H A D | .gitlab-ci.yml | 4 - dnf update -y 5 - dnf install -y make python 15 - logs 23 - build/logs 25 build-aarch64: 28 - dnf install -y qemu-system-aarch64 gcc-aarch64-linux-gnu 29 - ./configure --arch=aarch64 --cross-prefix=aarch64-linux-gnu- 30 - make -j2 31 - ACCEL=tcg MAX_SMP=8 ./run_tests.sh 33 debug-bp [all …]
|
/kvm-unit-tests/s390x/ |
H A D | migration-skey.c | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Storage Key migration tests 6 * - sequential: set storage keys on some pages, migrates the VM and then 8 * - parallel: start migration and set and check storage keys on some 9 * pages while migration is in process. 53 * XOR-ing that with the given seed and then multipling the result with two. 123 if (result->verify_failed) in report_verify_result() 126 result->page_mismatch_idx, result->page_mismatch_addr, in report_verify_result() 127 result->expected_key.val, result->actual_key.val); in report_verify_result() 155 * we left off and can do an additional verify round after migration finished. in set_skeys_thread() [all …]
|
H A D | memory-verify.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Simple memory verification test, used to exercise dirty memory migration. 21 if (strcmp(argv[i], "-t") == 0) { in do_getopts() 41 report_prefix_push("memory"); in main() 59 } while (get_clock_ms() - ms < time_sec * 1000); in main() 63 report(success, "memory verification stress test"); in main()
|
H A D | migration.c | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Migration Test for s390x 25 /* set by CPU0 to signal migration has completed */ 46 report_prefix_push("guarded-storage registers"); in check_gs_regs() 91 * Otherwise, the compiler is allowed to re-use the registers for in test_func() 102 /* inform CPU0 we are done, it will request migration */ in test_func() 104 /* wait for migration to finish */ in test_func() 133 "v28", "v29", "v30", "v31", "cc", "memory" in test_func() 152 report(stctg(2) & BIT(CTL2_GUARDED_STORAGE), "ctl2 guarded-storage bit set"); in test_func() 163 report_prefix_push("migration"); in main()
|
H A D | unittests.cfg | 9 [selftest-setup] 15 [selftest-migration] 16 file = selftest-migration.elf 17 groups = selftest migration 18 # TODO: Remove accel=kvm once the following TCG migration fix has been merged: 19 # https://lore.kernel.org/qemu-devel/20240219061731.232570-1-npiggin@gmail.com/ 22 [selftest-migration-skip] 23 file = selftest-migration.elf 24 groups = selftest migration 27 # This fails due to a QEMU TCG bug so KVM-only until QEMU is fixed upstream [all …]
|
H A D | Makefile | 2 tests += $(TEST_DIR)/selftest-migration.elf 3 tests += $(TEST_DIR)/memory-verify.elf 25 tests += $(TEST_DIR)/uv-guest.elf 28 tests += $(TEST_DIR)/uv-host.elf 30 tests += $(TEST_DIR)/mvpg-sie.elf 31 tests += $(TEST_DIR)/spec_ex-sie.elf 35 tests += $(TEST_DIR)/adtl-status.elf 36 tests += $(TEST_DIR)/migration.elf 37 tests += $(TEST_DIR)/pv-attest.elf 38 tests += $(TEST_DIR)/migration-cmm.elf [all …]
|
/kvm-unit-tests/common/ |
H A D | memory-verify.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Simple memory verification test, used to exercise dirty memory migration. 21 if (strcmp(argv[i], "-t") == 0) { in do_getopts() 41 report_prefix_push("memory"); in main() 59 } while (get_clock_ms() - ms < time_sec * 1000); in main() 63 report(success, "memory verification stress test"); in main()
|
/kvm-unit-tests/lib/linux/ |
H A D | pci_regs.h | 6 * Copyright 1997--1999 Martin Mares <mj@ucw.cz> 34 #define PCI_COMMAND_MEMORY 0x2 /* Enable response in Memory space */ 37 #define PCI_COMMAND_INVALIDATE 0x10 /* Use memory write and invalidate */ 42 #define PCI_COMMAND_FAST_BACK 0x200 /* Enable back-to-back writes */ 50 #define PCI_STATUS_FAST_BACK 0x80 /* Accept fast-back to back */ 80 * Base addresses specify locations in memory or I/O space. 91 #define PCI_BASE_ADDRESS_SPACE 0x01 /* 0 = memory, 1 = I/O */ 113 /* 0x35-0x3b are reserved */ 119 /* Header type 1 (PCI-to-PCI bridges) */ 132 #define PCI_MEMORY_BASE 0x20 /* Memory range behind */ [all …]
|